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: 0x02000004 RID: 4
internal class AddressAttribute : Attribute
{
// Token: 0x04000001 RID: 1
public string RVA;
// Token: 0x04000002 RID: 2
public string Offset;
// Token: 0x04000003 RID: 3
public string VA;
// Token: 0x04000004 RID: 4
public string Slot;
}
}
@@ -0,0 +1,14 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x02000009 RID: 9
internal class AnalysisFailedException : Exception
{
// Token: 0x06000010 RID: 16 RVA: 0x0000208A File Offset: 0x0000028A
public AnalysisFailedException(string message)
: base(message)
{
}
}
}
@@ -0,0 +1,17 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x02000006 RID: 6
internal class AttributeAttribute : Attribute
{
// Token: 0x04000006 RID: 6
public string Name;
// Token: 0x04000007 RID: 7
public string RVA;
// Token: 0x04000008 RID: 8
public string Offset;
}
}
@@ -0,0 +1,11 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x02000005 RID: 5
internal class FieldOffsetAttribute : Attribute
{
// Token: 0x04000005 RID: 5
public string Offset;
}
}
@@ -0,0 +1,11 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x02000007 RID: 7
internal class MetadataOffsetAttribute : Attribute
{
// Token: 0x04000009 RID: 9
public string Offset;
}
}
@@ -0,0 +1,11 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x02000008 RID: 8
internal class TokenAttribute : Attribute
{
// Token: 0x0400000A RID: 10
public string Token;
}
}
@@ -0,0 +1,4 @@
using System;
using System.Reflection;
[assembly: AssemblyVersion("5.0.0.0")]
@@ -0,0 +1,56 @@
<?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-FF63443DDEE1}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>System.Runtime.CompilerServices.Unsafe</RootNamespace>
<AssemblyName>System.Runtime.CompilerServices.Unsafe</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="Properties\AssemblyInfo.cs" />
<Compile Include="System\Runtime\CompilerServices\Unsafe.cs" />
<Compile Include="System\Runtime\Versioning\NonVersionableAttribute.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>
@@ -0,0 +1,91 @@
using System;
using System.Runtime.Versioning;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
// Token: 0x02000002 RID: 2
[Token(Token = "0x2000002")]
public static class Unsafe
{
// Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000001")]
[Address(RVA = "0x4E8690", Offset = "0x4E7690", VA = "0x1804E8690")]
[NonVersionable]
public static int SizeOf<T>()
{
return 0;
}
// Token: 0x06000002 RID: 2 RVA: 0x00002066 File Offset: 0x00000266
[Token(Token = "0x6000002")]
[Address(RVA = "0x1230420", Offset = "0x122F420", VA = "0x181230420")]
[NonVersionable]
public static void CopyBlock(ref byte destination, ref byte source, uint byteCount)
{
}
// Token: 0x06000003 RID: 3 RVA: 0x00002068 File Offset: 0x00000268
[Token(Token = "0x6000003")]
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0")]
[NonVersionable]
public static T As<T>(object o) where T : class
{
return null;
}
// Token: 0x06000004 RID: 4 RVA: 0x00002068 File Offset: 0x00000268
[Token(Token = "0x6000004")]
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0")]
[NonVersionable]
public unsafe static T AsRef<T>(void* source)
{
return null;
}
// Token: 0x06000005 RID: 5 RVA: 0x00002068 File Offset: 0x00000268
[Token(Token = "0x6000005")]
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0")]
[NonVersionable]
public static TTo As<TTo, TFrom>(ref TFrom source)
{
return null;
}
// Token: 0x06000006 RID: 6 RVA: 0x00002068 File Offset: 0x00000268
[Token(Token = "0x6000006")]
[Address(RVA = "0x1E63960", Offset = "0x1E62960", VA = "0x181E63960")]
[NonVersionable]
public static T Add<T>(ref T source, int elementOffset)
{
return null;
}
// Token: 0x06000007 RID: 7 RVA: 0x00002068 File Offset: 0x00000268
[Token(Token = "0x6000007")]
[Address(RVA = "0x1E63950", Offset = "0x1E62950", VA = "0x181E63950")]
[NonVersionable]
public static T Add<T>(ref T source, IntPtr elementOffset)
{
return null;
}
// Token: 0x06000008 RID: 8 RVA: 0x00002068 File Offset: 0x00000268
[Token(Token = "0x6000008")]
[Address(RVA = "0x1E63950", Offset = "0x1E62950", VA = "0x181E63950")]
[NonVersionable]
public static T AddByteOffset<T>(ref T source, IntPtr byteOffset)
{
return null;
}
// Token: 0x06000009 RID: 9 RVA: 0x0000206C File Offset: 0x0000026C
[Token(Token = "0x6000009")]
[Address(RVA = "0x27D8DD0", Offset = "0x27D7DD0", VA = "0x1827D8DD0")]
[NonVersionable]
public static IntPtr ByteOffset<T>(ref T origin, ref T target)
{
return 0;
}
}
}
@@ -0,0 +1,18 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.Versioning
{
// Token: 0x02000003 RID: 3
[Token(Token = "0x2000003")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method)]
internal sealed class NonVersionableAttribute : Attribute
{
// Token: 0x0600000A RID: 10 RVA: 0x00002066 File Offset: 0x00000266
[Token(Token = "0x600000A")]
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
public NonVersionableAttribute()
{
}
}
}