mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 23:34:10 +02:00
25 lines
330 B
Beef
25 lines
330 B
Beef
#pragma warning disable 168
|
|
|
|
namespace IDETest
|
|
{
|
|
class Assembly
|
|
{
|
|
public static int IncVal(ref int val)
|
|
{
|
|
val++;
|
|
return val;
|
|
}
|
|
|
|
public static void Test1()
|
|
{
|
|
int a = 0;
|
|
int d = IncVal(ref a) + IncVal(ref a) + IncVal(ref a);
|
|
}
|
|
|
|
public static void Test()
|
|
{
|
|
//AssemblyTester_Test
|
|
Test1();
|
|
}
|
|
}
|
|
}
|