// CS0761: Partial method declarations of `C.Foo()' have inconsistent constraints for type parameter `T' // Line: 8 partial class C { partial void Foo (); partial void Foo () where T : class { } }