Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0761.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 72b2744b5fce3404ce56f96289f202a9c0b7f0dd (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0761: Partial method declarations of `C.Foo<T>()' have inconsistent constraints for type parameter `T'
// Line: 8

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