summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0761-2.cs
blob: 09964af492f4915731f965509175c1d5643a8946 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0761: Partial method declarations of `C.Foo<U>()' have inconsistent constraints for type parameter `U'
// Line: 8

partial class C
{
	partial void Foo<T> () where T : new ();
	
	partial void Foo<U> ()
	{
	}
}