1
0
Fork 0
git/t/t4018/csharp-exclude-control-statements
Daniel Baumann 54102a2c29
Adding upstream version 1:2.47.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-23 07:43:39 +02:00

34 lines
605 B
Text

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