https://bugs.llvm.org/show_bug.cgi?id=50727
When processing C# Lambda expression in the indentation can goes a little wrong,
resulting the the closing } being at the wrong indentation level and meaning the remaining part of the file is
incorrectly indented.
This revision tries to address that for C#
This can be a fairly common pattern for when C# wants to peform a UI action from a thread,
and it wants to invoke that action on the main thread
class A { void foo() { Dispatcher.Invoke(DispatcherPriority.Render, (Action)(() => { lock (A) { if (true) { A.Remove(item); } } })); } void bar() { ... }
Unrelated nit: typo in parseAssignment.