mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-16 10:19:18 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
18 lines
728 B
C#
18 lines
728 B
C#
namespace Sandbox;
|
|
|
|
internal static partial class Rules
|
|
{
|
|
internal static string[] CompilerGenerated = new[]
|
|
{
|
|
// Compiler generates all this scary shit that the user shouldn't be using
|
|
// User code is checked in Sandbox.Compiling blacklist
|
|
"System.Private.CoreLib/System.Runtime.CompilerServices.Unsafe.Add*",
|
|
"System.Private.CoreLib/System.Runtime.CompilerServices.Unsafe.As*",
|
|
"System.Private.CoreLib/System.Runtime.CompilerServices.Unsafe.AsRef*",
|
|
"System.Private.CoreLib/System.Runtime.CompilerServices.InlineArrayAttribute",
|
|
"System.Private.CoreLib/System.Runtime.InteropServices.MemoryMarshal.CreateReadOnlySpan*",
|
|
|
|
"System.Private.CoreLib/System.Runtime.CompilerServices.IAsyncStateMachine*",
|
|
};
|
|
}
|