Files
sbox-public/engine/Sandbox.Access/Rules/CompilerGenerated.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

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*",
};
}