33 lines
1.6 KiB
C#
33 lines
1.6 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.ConstrainedExecution
|
|
{
|
|
/// <summary>Defines a contract for reliability between the author of some code, and the developers who have a dependency on that code.</summary>
|
|
// Token: 0x0200052F RID: 1327
|
|
[Token(Token = "0x200052F")]
|
|
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Interface)]
|
|
public sealed class ReliabilityContractAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.ConstrainedExecution.ReliabilityContractAttribute" /> class with the specified <see cref="T:System.Runtime.ConstrainedExecution.Consistency" /> guarantee and <see cref="T:System.Runtime.ConstrainedExecution.Cer" /> value.</summary>
|
|
/// <param name="consistencyGuarantee">One of the <see cref="T:System.Runtime.ConstrainedExecution.Consistency" /> values.</param>
|
|
/// <param name="cer">One of the <see cref="T:System.Runtime.ConstrainedExecution.Cer" /> values.</param>
|
|
// Token: 0x060029F7 RID: 10743 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60029F7")]
|
|
[Address(RVA = "0x29552D0", Offset = "0x29540D0", VA = "0x1829552D0")]
|
|
public ReliabilityContractAttribute(Consistency consistencyGuarantee, Cer cer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001865 RID: 6245
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001865")]
|
|
private Consistency _consistency;
|
|
|
|
// Token: 0x04001866 RID: 6246
|
|
[FieldOffset(Offset = "0x14")]
|
|
[Token(Token = "0x4001866")]
|
|
private Cer _cer;
|
|
}
|
|
}
|