1 // Compiler options: -langversion:latest
5 using System
.Collections
.Generic
;
9 public volatile uint VolatileValue
;
10 public string [] StringValues
;
11 public List
<string> ListValues
;
14 public int? MyTypeProperty
{
33 protected virtual void BaseM ()
42 static void Test (D d
)
46 static void Test (Action
<E
> func
)
53 Test (() => base.BaseM ());
56 public static void Main ()
58 Exception diffException
;
63 } catch (Exception ex
) {
73 int[] i_a
= new int [] { 1,2,3 }
;
76 foreach (int t
in i_a
) {
81 Console
.WriteLine (typeof (void));
85 Console
.WriteLine (typeof (Func
<,>));
89 object o
= new List
<object> { "Hello", "", null, "World", 5 }
;
93 var v
= new MemberAccessData
{
94 VolatileValue
= 2, StringValues
= new string [] { "sv" }
, MyTypeProperty
= null