100 references to ERR_MostSpecificImplementationIsNotFound
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2016
or ErrorCode.
ERR_MostSpecificImplementationIsNotFound
Symbols\TypeSymbol.cs (2)
1089
diagnostics.Add(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, GetInterfaceLocation(interfaceMember, implementingType),
1115
return !symbolAndDiagnostics.Diagnostics.Diagnostics.Any(static d => d.Code == (int)ErrorCode.
ERR_MostSpecificImplementationIsNotFound
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (97)
Symbols\DefaultInterfaceImplementationTests.cs (97)
34559
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15),
34562
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(5, 15),
34565
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(8, 15),
34568
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1()", "I5.I1.M1()", "I4.I1.M1()").WithLocation(11, 15),
34571
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.M1()", "I5.I1.M1()", "I4.I1.M1()").WithLocation(14, 15)
34708
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15),
34722
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15),
34994
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 15),
34997
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 19)
35018
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 15),
35021
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 19)
35085
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 15),
35088
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 19),
35091
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string>").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 23)
35113
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 15),
35116
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 19),
35119
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string>").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 23)
35183
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(3, 15),
35186
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(3, 19),
35189
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string>").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(3, 23)
35208
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(3, 15),
35211
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(3, 19),
35214
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string>").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(3, 23)
35282
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(4, 15),
35285
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string?>").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(4, 23)
35306
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(4, 15),
35309
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string?>").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(4, 23)
38733
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
38736
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(5, 15),
38739
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(8, 15),
38742
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1", "I5.I1.M1", "I4.I1.M1").WithLocation(11, 15),
38745
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.M1", "I5.I1.M1", "I4.I1.M1").WithLocation(14, 15)
39003
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
41561
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
41564
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(5, 15),
41567
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(8, 15),
41570
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1", "I5.I1.M1", "I4.I1.M1").WithLocation(11, 15),
41573
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.M1", "I5.I1.M1", "I4.I1.M1").WithLocation(14, 15)
41693
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
41707
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
43378
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15),
43381
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(5, 15),
43384
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(8, 15),
43387
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.this[int]", "I5.I1.this[int]", "I4.I1.this[int]").WithLocation(11, 15),
43390
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.this[int]", "I5.I1.this[int]", "I4.I1.this[int]").WithLocation(14, 15)
43396
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15),
43399
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(5, 15),
43402
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(8, 15),
43405
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.this[int]", "I5.I1.Item[int]", "I4.I1.Item[int]").WithLocation(11, 15),
43408
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.this[int]", "I5.I1.Item[int]", "I4.I1.Item[int]").WithLocation(14, 15)
43447
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15),
43456
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15),
51655
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15)
51795
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15)
53183
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
53267
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
53305
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
53345
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
54555
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.F1", "I2.I1.F1", "I3.I1.F1").WithLocation(2, 15)
55426
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
55464
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
55502
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
55542
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
56358
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
56396
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
56434
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
56474
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
58115
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
58186
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
58224
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
58264
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
59816
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
59820
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
59855
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
59859
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
59894
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
59898
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
59935
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
59939
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
60773
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
60777
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
60812
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
60816
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
60851
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
60855
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
60892
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
60896
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
61528
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
61532
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
61567
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
61571
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
61606
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
61610
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
61647
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
61651
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
68698
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2<Test1>")
68709
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2<Test1>")