summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes/csharp-mode-resources/indent.erts
blob: a676ecc972883e3c8a334fa14a5b7f7e5525b2ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Code:
  (lambda ()
    (csharp-mode)
    (indent-region (point-min) (point-max)))

Point-Char: |

Name: Don't consider closed statements as object initializers. (bug#69571)

=-=
public class Foo {
    void Bar () {
        var x = new X();            // [1]
        for (;;) {
            x();
        }  // [2]
    }
}
=-=-=