[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs0312.cs
blob431818ff98415d9e7c64131d242a7b66e0f41b39
1 // CS0312: The type `S?' cannot be used as type parameter `T' in the generic type or method `C<S>.Foo<T>(T)'. The nullable type `S?' does not satisfy constraint `S'
2 // Line: 16
4 struct S
8 class C<U>
10 static void Foo<T> (T value) where T : U
14 static void Test (S? s)
16 C<S>.Foo (s);