summaryrefslogtreecommitdiffstats
path: root/t/t4018/csharp-exclude-assignments
diff options
context:
space:
mode:
Diffstat (limited to 't/t4018/csharp-exclude-assignments')
-rw-r--r--t/t4018/csharp-exclude-assignments20
1 files changed, 20 insertions, 0 deletions
diff --git a/t/t4018/csharp-exclude-assignments b/t/t4018/csharp-exclude-assignments
new file mode 100644
index 0000000..239f312
--- /dev/null
+++ b/t/t4018/csharp-exclude-assignments
@@ -0,0 +1,20 @@
+class Example
+{
+ string Method(int RIGHT)
+ {
+ var constantAssignment = "test";
+ var methodAssignment = MethodCall();
+ var multiLineMethodAssignment = MethodCall(
+ );
+ var multiLine = "first"
+ + MethodCall()
+ +
+ ( MethodCall()
+ )
+ + MethodCall();
+
+ return "ChangeMe";
+ }
+
+ string MethodCall(int a = 0, int b = 0) => "test";
+}