+
+ public static bool Test ()
+ {
+ T t = default (T);
+ return t is int;
+ }
+
+ public static bool TestB ()
+ {
+ T t = default (T);
+ return t is int?;
+ }
+}
+
+class Y<T> where T : struct
+{
+ public bool Foo ()
+ {
+ object o = null;
+ return o is System.Nullable <T>;
+ }