[mcs] Add codegen for null operator on result of awaited instance expression of prope...
[mono.git] / mcs / tests / gtest-348.cs
1 using System;
2
3 public class Bar<U> where U : EventArgs
4 {
5         internal void OnWorldDestroyed ()
6         {
7         }
8 }
9
10 public class Baz<U> where U : Bar<EventArgs>
11 {
12         public void DestroyWorld (U bar)
13         {
14                 bar.OnWorldDestroyed ();
15         }
16 }
17
18 public class Bling
19 {
20         public static void Main ()
21         {
22         }
23 }