using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.Serialization
{
/// Specifies that a field can be missing from a serialization stream so that the and the does not throw an exception.
// Token: 0x0200046D RID: 1133
[Token(Token = "0x200046D")]
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Field)]
public sealed class OptionalFieldAttribute : Attribute
{
/// Initializes a new instance of the class.
// Token: 0x06002712 RID: 10002 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002712")]
[Address(RVA = "0x266CBC0", Offset = "0x266BBC0", VA = "0x18266CBC0")]
public OptionalFieldAttribute()
{
}
/// Gets or sets a version number to indicate when the optional field was added.
/// The version of the .
// 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;
}
}