Fixes the mono/tests/gc-graystack-stress test on Windows x64
[mono-project.git] / mcs / errors / cs0313.cs
blob13ac1b3c80ab0347df02b80aa7aae343e5c8cd57
1 // CS0313: The type `S?' cannot be used as type parameter `T' in the generic type or method `S.Foo<T>(T)'. The nullable type `S?' never satisfies interface constraint `I'
2 // Line: 16
4 interface I
8 struct S : I
10 static void Foo<T> (T t) where T : I
14 static void Test (S? s)
16 Foo (s);