git/t/t4018/csharp-exclude-control-stat...

35 lines
605 B
Plaintext

class Example
{
string Method(int RIGHT)
{
if (false)
{
return "out";
}
else { }
if (true) MethodCall(
);
else MethodCall(
);
switch ("test")
{
case "one":
return MethodCall(
);
case "two":
break;
}
(int, int) tuple = (1, 4);
switch (tuple)
{
case (1, 4):
MethodCall();
break;
}
return "ChangeMe";
}
string MethodCall(int a = 0, int b = 0) => "test";
}