100 references to ERR_MostSpecificImplementationIsNotFound
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
1958
case ErrorCode.
ERR_MostSpecificImplementationIsNotFound
:
Symbols\TypeSymbol.cs (2)
1069
diagnostics.Add(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, GetInterfaceLocation(interfaceMember, implementingType),
1095
return !symbolAndDiagnostics.Diagnostics.Diagnostics.Any(static d => d.Code == (int)ErrorCode.
ERR_MostSpecificImplementationIsNotFound
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (97)
Symbols\DefaultInterfaceImplementationTests.cs (97)
34363
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15),
34366
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(5, 15),
34369
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(8, 15),
34372
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1()", "I5.I1.M1()", "I4.I1.M1()").WithLocation(11, 15),
34375
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.M1()", "I5.I1.M1()", "I4.I1.M1()").WithLocation(14, 15)
34512
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15),
34526
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15),
34798
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 15),
34801
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 19)
34822
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 15),
34825
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 19)
34889
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 15),
34892
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 19),
34895
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string>").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 23)
34917
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 15),
34920
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 19),
34923
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string>").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 23)
34987
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(3, 15),
34990
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(3, 19),
34993
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string>").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(3, 23)
35012
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(3, 15),
35015
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(3, 19),
35018
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string>").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(3, 23)
35086
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(4, 15),
35089
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string?>").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(4, 23)
35110
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(4, 15),
35113
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string?>").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(4, 23)
38537
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
38540
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(5, 15),
38543
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(8, 15),
38546
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1", "I5.I1.M1", "I4.I1.M1").WithLocation(11, 15),
38549
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.M1", "I5.I1.M1", "I4.I1.M1").WithLocation(14, 15)
38807
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
41365
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
41368
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(5, 15),
41371
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(8, 15),
41374
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1", "I5.I1.M1", "I4.I1.M1").WithLocation(11, 15),
41377
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.M1", "I5.I1.M1", "I4.I1.M1").WithLocation(14, 15)
41497
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
41511
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
43182
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15),
43185
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(5, 15),
43188
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(8, 15),
43191
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.this[int]", "I5.I1.this[int]", "I4.I1.this[int]").WithLocation(11, 15),
43194
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.this[int]", "I5.I1.this[int]", "I4.I1.this[int]").WithLocation(14, 15)
43200
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15),
43203
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(5, 15),
43206
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(8, 15),
43209
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.this[int]", "I5.I1.Item[int]", "I4.I1.Item[int]").WithLocation(11, 15),
43212
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.this[int]", "I5.I1.Item[int]", "I4.I1.Item[int]").WithLocation(14, 15)
43251
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15),
43260
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15),
51468
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15)
51608
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15)
52996
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
53080
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
53118
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
53158
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
54368
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.F1", "I2.I1.F1", "I3.I1.F1").WithLocation(2, 15)
55239
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
55277
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
55315
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
55355
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
56171
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
56209
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
56247
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
56287
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
57928
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
57999
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
58037
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
58077
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
59629
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
59633
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
59668
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
59672
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
59707
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
59711
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
59748
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
59752
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
60586
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
60590
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
60625
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
60629
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
60664
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
60668
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
60705
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
60709
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
61341
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
61345
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
61380
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
61384
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
61419
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
61423
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
61460
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
61464
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
68508
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2<Test1>")
68519
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2<Test1>")