// (4,18): error CS8142: Both partial method declarations, 'C.M1((int a, int b))' and 'C.M1((int notA, int notB))', must use the same tuple element names.
// (10,18): error CS8142: Both partial method declarations, 'C.M1((int a, int b))' and 'C.M1((int notA, int notB))', must use the same tuple element names.
// partial void M1((int a, int b) x);
// partial void M1((int notA, int notB) y) { }
Diagnostic(ErrorCode.ERR_PartialMethodInconsistentTupleNames, "M1").WithArguments("C.M1((int a, int b))", "C.M1((int notA, int notB))").WithLocation(4, 18),
Diagnostic(ErrorCode.ERR_PartialMethodInconsistentTupleNames, "M1").WithArguments("C.M1((int a, int b))", "C.M1((int notA, int notB))").WithLocation(10, 18),
// (5,18): error CS8142: Both partial method declarations, 'C.M2((int a, int b))' and 'C.M2((int, int))', must use the same tuple element names.
// (11,18): error CS8142: Both partial method declarations, 'C.M2((int a, int b))' and 'C.M2((int, int))', must use the same tuple element names.
// partial void M2((int a, int b) x);
// partial void M2((int, int) y) { }
Diagnostic(ErrorCode.ERR_PartialMethodInconsistentTupleNames, "M2").WithArguments("C.M2((int a, int b))", "C.M2((int, int))").WithLocation(5, 18)
Diagnostic(ErrorCode.ERR_PartialMethodInconsistentTupleNames, "M2").WithArguments("C.M2((int a, int b))", "C.M2((int, int))").WithLocation(11, 18)
// (3,18): error CS8142: Both partial method declarations, 'C.F1((int x, int y))' and 'C.F1((int, int))', must use the same tuple element names.
// (5,18): error CS8142: Both partial method declarations, 'C.F2<T, U>((T, U))' and 'C.F2<T, U>((T x, U y))', must use the same tuple element names.
// partial void F1((int x, int y) t); // 1
// partial void F2<T, U>((T x, U y) t) { } // 1
Diagnostic(ErrorCode.ERR_PartialMethodInconsistentTupleNames,"F1").WithArguments("C.F1((int x, int y))","C.F1((int, int))").WithLocation(3,18),
Diagnostic(ErrorCode.ERR_PartialMethodInconsistentTupleNames,"F2").WithArguments("C.F2<T, U>((T, U))","C.F2<T, U>((T x, U y))").WithLocation(5,18),
// (5,18): error CS8142: Both partial method declarations, 'C.F2((dynamic, object))' and 'C.F2((object x, dynamic y))', must use the same tuple element names.
// (8,18): error CS8142: Both partial method declarations, 'C.F3((dynamic, object))' and 'C.F3((object x, dynamic y))', must use the same tuple element names.