[runtime] Avoid indirection when building MonoContext on darwin
[mono.git] / mcs / errors / cs0761-2.cs
1 // CS0761: Partial method declarations of `C.Foo<U>()' have inconsistent constraints for type parameter `U'
2 // Line: 8
3
4 partial class C
5 {
6         partial void Foo<T> () where T : new ();
7         
8         partial void Foo<U> ()
9         {
10         }
11 }