oh dear
This commit is contained in:
@@ -0,0 +1,95 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
/// <summary>When applied to the member of a type, specifies that the member is part of a data contract and is serializable by the <see cref="T:System.Runtime.Serialization.DataContractSerializer" />.</summary>
|
||||
// Token: 0x02000003 RID: 3
|
||||
[Token(Token = "0x2000003")]
|
||||
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
|
||||
public sealed class DataMemberAttribute : Attribute
|
||||
{
|
||||
/// <summary>Gets or sets a data member name.</summary>
|
||||
/// <returns>The name of the data member. The default is the name of the target that the attribute is applied to.</returns>
|
||||
// Token: 0x17000002 RID: 2
|
||||
// (get) Token: 0x06000002 RID: 2 RVA: 0x00002066 File Offset: 0x00000266
|
||||
[Token(Token = "0x17000002")]
|
||||
public string Name
|
||||
{
|
||||
[Token(Token = "0x6000002")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the order of serialization and deserialization of a member.</summary>
|
||||
/// <returns>The numeric order of serialization or deserialization.</returns>
|
||||
// Token: 0x17000003 RID: 3
|
||||
// (get) Token: 0x06000003 RID: 3 RVA: 0x0000206C File Offset: 0x0000026C
|
||||
[Token(Token = "0x17000003")]
|
||||
public int Order
|
||||
{
|
||||
[Token(Token = "0x6000003")]
|
||||
[Address(RVA = "0x40B720", Offset = "0x40A520", VA = "0x18040B720")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets a value that instructs the serialization engine that the member must be present when reading or deserializing.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" />, if the member is required; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.Runtime.Serialization.SerializationException">the member is not present.</exception>
|
||||
// Token: 0x17000004 RID: 4
|
||||
// (get) Token: 0x06000004 RID: 4 RVA: 0x00002084 File Offset: 0x00000284
|
||||
[Token(Token = "0x17000004")]
|
||||
public bool IsRequired
|
||||
{
|
||||
[Token(Token = "0x6000004")]
|
||||
[Address(RVA = "0x751340", Offset = "0x750140", VA = "0x180751340")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets a value that specifies whether to serialize the default value for a field or property being serialized.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the default value for a member should be generated in the serialization stream; otherwise, <see langword="false" />. The default is <see langword="true" />.</returns>
|
||||
// Token: 0x17000005 RID: 5
|
||||
// (get) Token: 0x06000005 RID: 5 RVA: 0x0000209C File Offset: 0x0000029C
|
||||
[Token(Token = "0x17000005")]
|
||||
public bool EmitDefaultValue
|
||||
{
|
||||
[Token(Token = "0x6000005")]
|
||||
[Address(RVA = "0x751330", Offset = "0x750130", VA = "0x180751330")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000002 RID: 2
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000002")]
|
||||
private string name;
|
||||
|
||||
// Token: 0x04000003 RID: 3
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000003")]
|
||||
private int order;
|
||||
|
||||
// Token: 0x04000004 RID: 4
|
||||
[FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x4000004")]
|
||||
private bool isRequired;
|
||||
|
||||
// Token: 0x04000005 RID: 5
|
||||
[FieldOffset(Offset = "0x1D")]
|
||||
[Token(Token = "0x4000005")]
|
||||
private bool emitDefaultValue;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user