using System;
using Cpp2IlInjected;
namespace System.Runtime.Serialization
{
/// Specifies that the type defines or implements a data contract and is serializable by a serializer, such as the . To make their type serializable, type authors must define a data contract for their type.
// Token: 0x02000002 RID: 2
[Token(Token = "0x2000002")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum)]
public sealed class DataContractAttribute : Attribute
{
/// Gets or sets a value that indicates whether to preserve object reference data.
///
/// to keep object reference data using standard XML; otherwise, . The default is .
// Token: 0x17000001 RID: 1
// (get) Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000001")]
public bool IsReference
{
[Token(Token = "0x6000001")]
[Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")]
get
{
return default(bool);
}
}
// Token: 0x04000001 RID: 1
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000001")]
private bool isReference;
}
}