100 references to ERR_MostSpecificImplementationIsNotFound
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2015
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)
34548
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15),
34551
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(5, 15),
34554
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(8, 15),
34557
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1()", "I5.I1.M1()", "I4.I1.M1()").WithLocation(11, 15),
34560
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.M1()", "I5.I1.M1()", "I4.I1.M1()").WithLocation(14, 15)
34697
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15),
34711
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15),
34983
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 15),
34986
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 19)
35007
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 15),
35010
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 19)
35074
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 15),
35077
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 19),
35080
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string>").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(2, 23)
35102
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 15),
35105
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 19),
35108
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string>").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(2, 23)
35172
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(3, 15),
35175
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(3, 19),
35178
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string>").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(3, 23)
35197
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(3, 15),
35200
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I3").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(3, 19),
35203
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string>").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(3, 23)
35271
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(4, 15),
35274
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string?>").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string?>.M1()").WithLocation(4, 23)
35295
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1<string>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(4, 15),
35298
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1<string?>").WithArguments("I1<string?>.M1()", "I2.I1<string>.M1()", "I3.I1<string>.M1()").WithLocation(4, 23)
38722
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
38725
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(5, 15),
38728
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(8, 15),
38731
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1", "I5.I1.M1", "I4.I1.M1").WithLocation(11, 15),
38734
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.M1", "I5.I1.M1", "I4.I1.M1").WithLocation(14, 15)
38992
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
41550
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
41553
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(5, 15),
41556
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(8, 15),
41559
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.M1", "I5.I1.M1", "I4.I1.M1").WithLocation(11, 15),
41562
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.M1", "I5.I1.M1", "I4.I1.M1").WithLocation(14, 15)
41682
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
41696
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1", "I2.I1.M1", "I3.I1.M1").WithLocation(2, 15),
43367
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15),
43370
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(5, 15),
43373
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(8, 15),
43376
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.this[int]", "I5.I1.this[int]", "I4.I1.this[int]").WithLocation(11, 15),
43379
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.this[int]", "I5.I1.this[int]", "I4.I1.this[int]").WithLocation(14, 15)
43385
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15),
43388
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I7").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(5, 15),
43391
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(8, 15),
43394
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I1").WithArguments("I1.this[int]", "I5.I1.Item[int]", "I4.I1.Item[int]").WithLocation(11, 15),
43397
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I8").WithArguments("I1.this[int]", "I5.I1.Item[int]", "I4.I1.Item[int]").WithLocation(14, 15)
43436
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15),
43445
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15),
51659
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15)
51799
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.M1()", "I2.I1.M1()", "I3.I1.M1()").WithLocation(2, 15)
53187
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
53271
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
53309
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
53349
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
54559
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.F1", "I2.I1.F1", "I3.I1.F1").WithLocation(2, 15)
55430
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
55468
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
55506
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
55546
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
56362
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
56400
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
56438
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
56478
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
58119
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
58190
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
58228
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
58268
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.P1", "I2.I1.P1", "I3.I1.P1").WithLocation(2, 15)
59820
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
59824
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
59859
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
59863
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
59898
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
59902
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
59939
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
59943
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
60777
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
60781
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
60816
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
60820
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
60855
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
60859
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
60896
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
60900
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
61532
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
61536
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
61571
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
61575
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
61610
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
61614
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
61651
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.this[int]", "I3.I1.this[int]").WithLocation(2, 15)
61655
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I4").WithArguments("I1.this[int]", "I2.I1.Item[int]", "I3.I1.Item[int]").WithLocation(2, 15)
68702
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2<Test1>")
68713
Diagnostic(ErrorCode.
ERR_MostSpecificImplementationIsNotFound
, "I2<Test1>")