summaryrefslogtreecommitdiffstats
path: root/t/t4018/csharp-exclude-assignments
blob: 239f312963b37cdf3f81894332dfc85fb79d58f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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";
}