The following code gives a "Condition expression too complex" warning: MyFoo.MyEvent += (sender, args) => { bar = true; baz = false; }; There is no warning if the lambda contains only one statement.