2 using System
.Reflection
;
10 public static void Test (S s
= default (S
))
14 public static int Main ()
16 var t
= typeof (Program
).GetMethod ("Test");
17 var p
= t
.GetParameters ()[0];
18 if (p
.RawDefaultValue
!= null)
21 if (p
.Attributes
!= (ParameterAttributes
.Optional
| ParameterAttributes
.HasDefault
))