m
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000007 RID: 7
|
||||
internal class AddressAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000008 RID: 8
|
||||
public string RVA;
|
||||
|
||||
// Token: 0x04000009 RID: 9
|
||||
public string Offset;
|
||||
|
||||
// Token: 0x0400000A RID: 10
|
||||
public string VA;
|
||||
|
||||
// Token: 0x0400000B RID: 11
|
||||
public string Slot;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x0200000C RID: 12
|
||||
internal class AnalysisFailedException : Exception
|
||||
{
|
||||
// Token: 0x0600000D RID: 13 RVA: 0x000020BC File Offset: 0x000002BC
|
||||
public AnalysisFailedException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000009 RID: 9
|
||||
internal class AttributeAttribute : Attribute
|
||||
{
|
||||
// Token: 0x0400000D RID: 13
|
||||
public string Name;
|
||||
|
||||
// Token: 0x0400000E RID: 14
|
||||
public string RVA;
|
||||
|
||||
// Token: 0x0400000F RID: 15
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000008 RID: 8
|
||||
internal class FieldOffsetAttribute : Attribute
|
||||
{
|
||||
// Token: 0x0400000C RID: 12
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x0200000A RID: 10
|
||||
internal class MetadataOffsetAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000010 RID: 16
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x0200000B RID: 11
|
||||
internal class TokenAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000011 RID: 17
|
||||
public string Token;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
/// <summary>Specifies that the type defines or implements a data contract and is serializable by a serializer, such as the <see cref="T:System.Runtime.Serialization.DataContractSerializer" />. To make their type serializable, type authors must define a data contract for their type.</summary>
|
||||
// Token: 0x02000002 RID: 2
|
||||
[Token(Token = "0x2000002")]
|
||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum)]
|
||||
public sealed class DataContractAttribute : Attribute
|
||||
{
|
||||
/// <summary>Gets or sets a value that indicates whether to preserve object reference data.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> to keep object reference data using standard XML; otherwise, <see langword="false" />. The default is <see langword="false" />.</returns>
|
||||
// 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 = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000001 RID: 1
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000001")]
|
||||
private bool isReference;
|
||||
}
|
||||
}
|
||||
@@ -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 = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
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 = "0x411540", Offset = "0x410540", VA = "0x180411540")]
|
||||
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 = "0x891DD0", Offset = "0x890DD0", VA = "0x180891DD0")]
|
||||
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 = "0xF94A50", Offset = "0xF93A50", VA = "0x180F94A50")]
|
||||
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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
/// <summary>Specifies that the field is an enumeration member and should be serialized.</summary>
|
||||
// Token: 0x02000004 RID: 4
|
||||
[Token(Token = "0x2000004")]
|
||||
[AttributeUsage(AttributeTargets.Field)]
|
||||
public sealed class EnumMemberAttribute : Attribute
|
||||
{
|
||||
/// <summary>Gets or sets the value associated with the enumeration member the attribute is applied to.</summary>
|
||||
/// <returns>The value associated with the enumeration member.</returns>
|
||||
// Token: 0x17000006 RID: 6
|
||||
// (get) Token: 0x06000006 RID: 6 RVA: 0x00002066 File Offset: 0x00000266
|
||||
[Token(Token = "0x17000006")]
|
||||
public string Value
|
||||
{
|
||||
[Token(Token = "0x6000006")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000006 RID: 6
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000006")]
|
||||
private string value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
/// <summary>When applied to the member of a type, specifies that the member is not part of a data contract and is not serialized.</summary>
|
||||
// Token: 0x02000005 RID: 5
|
||||
[Token(Token = "0x2000005")]
|
||||
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
|
||||
public sealed class IgnoreDataMemberAttribute : Attribute
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
/// <summary>Specifies types that should be recognized by the <see cref="T:System.Runtime.Serialization.DataContractSerializer" /> when serializing or deserializing a given type.</summary>
|
||||
// Token: 0x02000006 RID: 6
|
||||
[Token(Token = "0x2000006")]
|
||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
|
||||
public sealed class KnownTypeAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.KnownTypeAttribute" /> class with the specified type.</summary>
|
||||
/// <param name="type">The <see cref="T:System.Type" /> that is included as a known type when serializing or deserializing data.</param>
|
||||
// Token: 0x06000007 RID: 7 RVA: 0x000020B2 File Offset: 0x000002B2
|
||||
[Token(Token = "0x6000007")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public KnownTypeAttribute(Type type)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000007 RID: 7
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000007")]
|
||||
private Type type;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("4.0.0.0")]
|
||||
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{E3D718FF-6CCA-48A8-8FBE-FF63443DDEE3}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>System.Runtime.Serialization</RootNamespace>
|
||||
<AssemblyName>System.Runtime.Serialization</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<NoStdLib>true</NoStdLib>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<NoStdLib>true</NoStdLib>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Cpp2IlInjected\AddressAttribute.cs" />
|
||||
<Compile Include="Cpp2IlInjected\AnalysisFailedException.cs" />
|
||||
<Compile Include="Cpp2IlInjected\AttributeAttribute.cs" />
|
||||
<Compile Include="Cpp2IlInjected\FieldOffsetAttribute.cs" />
|
||||
<Compile Include="Cpp2IlInjected\MetadataOffsetAttribute.cs" />
|
||||
<Compile Include="Cpp2IlInjected\TokenAttribute.cs" />
|
||||
<Compile Include="DataContractAttribute.cs" />
|
||||
<Compile Include="DataMemberAttribute.cs" />
|
||||
<Compile Include="EnumMemberAttribute.cs" />
|
||||
<Compile Include="IgnoreDataMemberAttribute.cs" />
|
||||
<Compile Include="KnownTypeAttribute.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\mscorlib\mscorlib.csproj">
|
||||
<Project>{e3d718ff-6cca-48a8-8fbe-ff63443dde9d}</Project>
|
||||
<Name>mscorlib</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
Reference in New Issue
Block a user