mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-26 07:58:12 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
26 lines
392 B
C#
26 lines
392 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Reflection;
|
|
using Sandbox;
|
|
|
|
namespace TestPackage;
|
|
|
|
public class Program : TestCompiler.IProgram
|
|
{
|
|
public static class ExampleClass<T>
|
|
{
|
|
public static void ExampleMethod( T value )
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
public int Main( StringWriter output )
|
|
{
|
|
ExampleClass<(int, int)[]>.ExampleMethod( default );
|
|
|
|
return 1;
|
|
}
|
|
}
|