mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-24 06:58:07 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
24 lines
260 B
C#
24 lines
260 B
C#
using Sandbox;
|
|
|
|
public partial class TestStackOverflow
|
|
{
|
|
public static void RecurseForever()
|
|
{
|
|
RecurseForever();
|
|
|
|
// this is line 9
|
|
}
|
|
|
|
public static void RecurseForeverInline()
|
|
{
|
|
System.Action f = null;
|
|
|
|
f = () =>
|
|
{
|
|
f();
|
|
};
|
|
|
|
f();
|
|
}
|
|
}
|