42 lines
1.6 KiB
C#
42 lines
1.6 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.Serialization
|
|
{
|
|
/// <summary>Specifies that a field can be missing from a serialization stream so that the <see cref="T:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter" /> and the <see cref="T:System.Runtime.Serialization.Formatters.Soap.SoapFormatter" /> does not throw an exception.</summary>
|
|
// Token: 0x0200046D RID: 1133
|
|
[Token(Token = "0x200046D")]
|
|
[ComVisible(true)]
|
|
[AttributeUsage(AttributeTargets.Field)]
|
|
public sealed class OptionalFieldAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.OptionalFieldAttribute" /> class.</summary>
|
|
// Token: 0x06002712 RID: 10002 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002712")]
|
|
[Address(RVA = "0x266CBC0", Offset = "0x266BBC0", VA = "0x18266CBC0")]
|
|
public OptionalFieldAttribute()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets a version number to indicate when the optional field was added.</summary>
|
|
/// <returns>The version of the <see cref="T:System.Runtime.Serialization.OptionalFieldAttribute" />.</returns>
|
|
// Token: 0x1700059C RID: 1436
|
|
// (set) Token: 0x06002713 RID: 10003 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700059C")]
|
|
public int VersionAdded
|
|
{
|
|
[Token(Token = "0x6002713")]
|
|
[Address(RVA = "0x266CBD0", Offset = "0x266BBD0", VA = "0x18266CBD0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400158C RID: 5516
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400158C")]
|
|
private int versionAdded;
|
|
}
|
|
}
|