19 references to ERR_ImplBadTupleNames
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
1765
or ErrorCode.
ERR_ImplBadTupleNames
Symbols\Source\ExplicitInterfaceHelpers.cs (1)
359
diagnostics.Add(ErrorCode.
ERR_ImplBadTupleNames
, memberLocation, implementingMember, implementedMember);
Symbols\TypeSymbol.cs (1)
1728
diagnostics.Add(ErrorCode.
ERR_ImplBadTupleNames
, GetImplicitImplementationDiagnosticLocation(interfaceMember, implementingType, implicitImpl), implicitImpl, interfaceMember);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (14)
CodeGen\CodeGenTupleTest.cs (14)
10918
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "M").WithArguments("C.M(((int, int), (int, int)))", "I<(int b, int a), (int a, int b)>.M(((int b, int a) paramA, (int a, int b) paramB))").WithLocation(9, 49),
10924
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "M").WithArguments("D.M(((int a, int b), (int b, int a)))", "I<(int a, int b), (int c, int d)>.M(((int a, int b) paramA, (int c, int d) paramB))").WithLocation(17, 54)
20218
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "M2").WithArguments("C.I0.M2((int notA, int notB))", "I0.M2((int a, int b))").WithLocation(12, 13),
20221
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "MR1").WithArguments("C.I0.MR1()", "I0.MR1()").WithLocation(13, 32),
20224
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "MR2").WithArguments("C.I0.MR2()", "I0.MR2()").WithLocation(14, 29),
20227
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "M1").WithArguments("C.I0.M1((int notMissing, int b))", "I0.M1((int, int b))").WithLocation(11, 13)
20894
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "set").WithArguments("C.set((int notA, int notB))", "I0<(int a, int b)>.set((int a, int b))").WithLocation(10, 17),
20897
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "get").WithArguments("C.get()", "I0<(int a, int b)>.get()").WithLocation(9, 33)
20935
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "set").WithArguments("D1.set((int notA, int notB))", "I0<(int a, int b)>.set((int a, int b))").WithLocation(20, 17),
20938
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "get").WithArguments("D1.get()", "I0<(int a, int b)>.get()").WithLocation(19, 33),
24886
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "I<(int notA, int notB)>").WithArguments("Base.M()", "I<(int notA, int notB)>.M()").WithLocation(10, 24)
24912
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "I<(int notA, int notB)>").WithArguments("Base.M()", "I<(int notA, int notB)>.M()").WithLocation(10, 23)
24938
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "I<(int notA, int notB)>").WithArguments("Base.M()", "I<(int notA, int notB)>.M()").WithLocation(10, 23)
24964
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "I<(int, int)>").WithArguments("Base.M()", "I<(int, int)>.M()").WithLocation(10, 23)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\Source\CustomModifierCopyTests.cs (2)
1038
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "M").WithArguments("C.I.M((object, object))", "I.M((object c, object d))").WithLocation(4, 28)
1062
Diagnostic(ErrorCode.
ERR_ImplBadTupleNames
, "M").WithArguments("C.I.M((object c, object d))", "I.M((object c, object d))").WithLocation(4, 24)