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
{
}
}
|