summaryrefslogtreecommitdiffstats
path: root/t/t4018/csharp-exclude-method-calls
diff options
context:
space:
mode:
Diffstat (limited to 't/t4018/csharp-exclude-method-calls')
-rw-r--r--t/t4018/csharp-exclude-method-calls20
1 files changed, 20 insertions, 0 deletions
diff --git a/t/t4018/csharp-exclude-method-calls b/t/t4018/csharp-exclude-method-calls
new file mode 100644
index 0000000..51e2dc2
--- /dev/null
+++ b/t/t4018/csharp-exclude-method-calls
@@ -0,0 +1,20 @@
+class Example
+{
+ string Method(int RIGHT)
+ {
+ MethodCall();
+ MethodCall(1, 2);
+ MethodCall(
+ 1, 2);
+ MethodCall(
+ 1, 2,
+ 3);
+ MethodCall(
+ 1, MethodCall(),
+ 2);
+
+ return "ChangeMe";
+ }
+
+ int MethodCall(int a = 0, int b = 0, int c = 0) => 42;
+}