This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,20 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x02000006 RID: 6
internal class AddressAttribute : Attribute
{
// Token: 0x04000017 RID: 23
public string RVA;
// Token: 0x04000018 RID: 24
public string Offset;
// Token: 0x04000019 RID: 25
public string VA;
// Token: 0x0400001A RID: 26
public string Slot;
}
}
@@ -0,0 +1,14 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x0200000B RID: 11
internal class AnalysisFailedException : Exception
{
// Token: 0x06000008 RID: 8 RVA: 0x0000205A File Offset: 0x0000025A
public AnalysisFailedException(string message)
: base(message)
{
}
}
}
@@ -0,0 +1,17 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x02000008 RID: 8
internal class AttributeAttribute : Attribute
{
// Token: 0x0400001C RID: 28
public string Name;
// Token: 0x0400001D RID: 29
public string RVA;
// Token: 0x0400001E RID: 30
public string Offset;
}
}
@@ -0,0 +1,11 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x02000007 RID: 7
internal class FieldOffsetAttribute : Attribute
{
// Token: 0x0400001B RID: 27
public string Offset;
}
}
@@ -0,0 +1,11 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x02000009 RID: 9
internal class MetadataOffsetAttribute : Attribute
{
// Token: 0x0400001F RID: 31
public string Offset;
}
}
@@ -0,0 +1,11 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x0200000A RID: 10
internal class TokenAttribute : Attribute
{
// Token: 0x04000020 RID: 32
public string Token;
}
}
+63
View File
@@ -0,0 +1,63 @@
<?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-FF63443DDE9B}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>Microsoft.CSharp</RootNamespace>
<AssemblyName>Microsoft.CSharp</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 />
<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="Properties\AssemblyInfo.cs" />
<Compile Include="RuntimeBinder\Binder.cs" />
<Compile Include="RuntimeBinder\CSharpArgumentInfo.cs" />
<Compile Include="RuntimeBinder\CSharpArgumentInfoFlags.cs" />
<Compile Include="RuntimeBinder\CSharpBinderFlags.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\mscorlib\mscorlib.csproj">
<Project>{e3d718ff-6cca-48a8-8fbe-ff63443dde9d}</Project>
<Name>mscorlib</Name>
</ProjectReference>
<ProjectReference Include="..\System\System.csproj">
<Project>{e3d718ff-6cca-48a8-8fbe-ff63443ddedb}</Project>
<Name>System</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
@@ -0,0 +1,4 @@
using System;
using System.Reflection;
[assembly: AssemblyVersion("4.0.0.0")]
+14
View File
@@ -0,0 +1,14 @@
using System;
using System.ComponentModel;
using Cpp2IlInjected;
namespace Microsoft.CSharp.RuntimeBinder
{
/// <summary>Contains factory methods to create dynamic call site binders for CSharp.</summary>
// Token: 0x02000002 RID: 2
[Token(Token = "0x2000002")]
[EditorBrowsable(EditorBrowsableState.Never)]
public static class Binder
{
}
}
@@ -0,0 +1,24 @@
using System;
using System.ComponentModel;
using Cpp2IlInjected;
namespace Microsoft.CSharp.RuntimeBinder
{
/// <summary>Represents information about C# dynamic operations that are specific to particular arguments at a call site. Instances of this class are generated by the C# compiler.</summary>
// Token: 0x02000003 RID: 3
[Token(Token = "0x2000003")]
[EditorBrowsable(EditorBrowsableState.Never)]
public sealed class CSharpArgumentInfo
{
// Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000001")]
[Address(RVA = "0x49A4C0", Offset = "0x4994C0", VA = "0x18049A4C0")]
private CSharpArgumentInfo(CSharpArgumentInfoFlags flags, string name)
{
}
// Token: 0x04000001 RID: 1
[Token(Token = "0x4000001")]
internal static readonly CSharpArgumentInfo None;
}
}
@@ -0,0 +1,43 @@
using System;
using System.ComponentModel;
using Cpp2IlInjected;
namespace Microsoft.CSharp.RuntimeBinder
{
/// <summary>Represents information about C# dynamic operations that are specific to particular arguments at a call site. Instances of this class are generated by the C# compiler.</summary>
// Token: 0x02000004 RID: 4
[Token(Token = "0x2000004")]
[Flags]
[EditorBrowsable(EditorBrowsableState.Never)]
public enum CSharpArgumentInfoFlags
{
/// <summary>No additional information to represent.</summary>
// Token: 0x04000005 RID: 5
[Token(Token = "0x4000005")]
None = 0,
/// <summary>The argument's compile-time type should be considered during binding.</summary>
// Token: 0x04000006 RID: 6
[Token(Token = "0x4000006")]
UseCompileTimeType = 1,
/// <summary>The argument is a constant.</summary>
// Token: 0x04000007 RID: 7
[Token(Token = "0x4000007")]
Constant = 2,
/// <summary>The argument is a named argument.</summary>
// Token: 0x04000008 RID: 8
[Token(Token = "0x4000008")]
NamedArgument = 4,
/// <summary>The argument is passed to a ref parameter.</summary>
// Token: 0x04000009 RID: 9
[Token(Token = "0x4000009")]
IsRef = 8,
/// <summary>The argument is passed to an out parameter.</summary>
// Token: 0x0400000A RID: 10
[Token(Token = "0x400000A")]
IsOut = 16,
/// <summary>The argument is a <see cref="T:System.Type" /> indicating an actual type name used in source. Used only for target objects in static calls.</summary>
// Token: 0x0400000B RID: 11
[Token(Token = "0x400000B")]
IsStaticType = 32
}
}
@@ -0,0 +1,55 @@
using System;
using System.ComponentModel;
using Cpp2IlInjected;
namespace Microsoft.CSharp.RuntimeBinder
{
/// <summary>Represents information about C# dynamic operations that are not specific to particular arguments at a call site. Instances of this class are generated by the C# compiler.</summary>
// Token: 0x02000005 RID: 5
[Token(Token = "0x2000005")]
[Flags]
[EditorBrowsable(EditorBrowsableState.Never)]
public enum CSharpBinderFlags
{
/// <summary>There is no additional information required for this binder.</summary>
// Token: 0x0400000D RID: 13
[Token(Token = "0x400000D")]
None = 0,
/// <summary>The evaluation of this binder happens in a checked context.</summary>
// Token: 0x0400000E RID: 14
[Token(Token = "0x400000E")]
CheckedContext = 1,
/// <summary>The binder represents an invoke on a simple name.</summary>
// Token: 0x0400000F RID: 15
[Token(Token = "0x400000F")]
InvokeSimpleName = 2,
/// <summary>The binder represents an invoke on a specialname.</summary>
// Token: 0x04000010 RID: 16
[Token(Token = "0x4000010")]
InvokeSpecialName = 4,
/// <summary>The binder represents a logical AND or logical OR that is part of a conditional logical operator evaluation.</summary>
// Token: 0x04000011 RID: 17
[Token(Token = "0x4000011")]
BinaryOperationLogical = 8,
/// <summary>The binder represents an explicit conversion.</summary>
// Token: 0x04000012 RID: 18
[Token(Token = "0x4000012")]
ConvertExplicit = 16,
/// <summary>The binder represents an implicit conversion for use in an array creation expression.</summary>
// Token: 0x04000013 RID: 19
[Token(Token = "0x4000013")]
ConvertArrayIndex = 32,
/// <summary>The result of any bind is going to be indexed get a set index or get index binder.</summary>
// Token: 0x04000014 RID: 20
[Token(Token = "0x4000014")]
ResultIndexed = 64,
/// <summary>The value in this set index or set member comes a compound assignment operator.</summary>
// Token: 0x04000015 RID: 21
[Token(Token = "0x4000015")]
ValueFromCompoundAssignment = 128,
/// <summary>The binder is used in a position that does not require a result, and can therefore bind to a void returning method.</summary>
// Token: 0x04000016 RID: 22
[Token(Token = "0x4000016")]
ResultDiscarded = 256
}
}