using System; struct S { } class C { static void Foo (T value) where T : U { } public static void Test (S? s) { C.Foo (s); C.Foo (s); C.Foo (s); } } class M { public static void Main () { C.Test (null); } }