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: 0x0200054B RID: 1355
|
|
[Token(Token = "0x200054B")]
|
|
[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: 0x06002C04 RID: 11268 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002C04")]
|
|
[Address(RVA = "0x2CF3C60", Offset = "0x2CF2C60", VA = "0x182CF3C60")]
|
|
public ReliabilityContractAttribute(Consistency consistencyGuarantee, Cer cer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001928 RID: 6440
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001928")]
|
|
private Consistency _consistency;
|
|
|
|
// Token: 0x04001929 RID: 6441
|
|
[FieldOffset(Offset = "0x14")]
|
|
[Token(Token = "0x4001929")]
|
|
private Cer _cer;
|
|
}
|
|
}
|