5 public static void Main ()
7 Func<object> f = () => throw null;
10 public int Test () => throw null;
17 public object Test2 () => Foo () ?? throw null;
19 static void Test3 (out int z) => throw null;
25 public event Action Event {
30 void TestExpr_1 (bool b)
32 int x = b ? throw new NullReferenceException () : 1;
35 void TestExpr_2 (bool b)
37 int x = b ? 2 : throw new NullReferenceException ();
40 void TestExpr_3 (string s)
42 s = s ?? throw new NullReferenceException ();
47 throw new ApplicationException () ?? throw new NullReferenceException() ?? throw null;
52 Action a = () => throw new ApplicationException () ?? throw new NullReferenceException() ?? throw null;
55 static int TestExpr_6 (out int z) => throw null;
57 int TestExpr_7 (out int z)
59 return true ? throw new NullReferenceException () : 1;