90 references to ERR_ExplicitInterfaceImplementationNotInterface
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
883
case ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
:
Symbols\Source\ExplicitInterfaceHelpers.cs (1)
209
diagnostics.Add(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, location, explicitInterfaceType);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (16)
Semantics\InheritanceBindingTests.cs (16)
3392
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "System.Object").WithArguments("object"),
3394
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "Base").WithArguments("Base"),
3396
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "System.Int32").WithArguments("int"),
3453
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "System.Object").WithArguments("object"),
3455
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "Base").WithArguments("Base"),
3457
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "System.Int32").WithArguments("int"),
3514
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "System.Object").WithArguments("object"),
3516
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "Base").WithArguments("Base"),
3518
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "System.Int32").WithArguments("int"),
3576
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "System.Object").WithArguments("object"),
3579
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "Base").WithArguments("Base"),
3582
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "System.Int32").WithArguments("int"),
7024
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "INterface").WithArguments("INterface"),
8188
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "T").WithArguments("T"),
8209
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "T").WithArguments("T"),
8230
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "T").WithArguments("T"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (11)
Symbols\DefaultInterfaceImplementationTests.cs (8)
52199
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 19 + implModifiers.Length)
56898
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18 + implModifiers.Length)
56956
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18 + implModifiers.Length)
57014
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18 + implModifiers.Length)
59175
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 34 + implModifiers.Length)
61888
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18)
61940
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18)
61992
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18)
Symbols\Source\FileModifierTests.cs (1)
2399
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(3, 10),
Symbols\SymbolErrorTests.cs (2)
9641
new ErrorDescription { Code = (int)ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, Line = 11, Column = 10 },
9642
new ErrorDescription { Code = (int)ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, Line = 14, Column = 9 });
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (61)
Parsing\AsyncParsingTests.cs (1)
2606
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "async").WithArguments("async").WithLocation(1, 29),
Parsing\MemberDeclarationParsingTests.cs (59)
1660
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "required").WithArguments("required").WithLocation(1, 27),
2332
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2345
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2446
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2468
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2571
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2593
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2692
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2708
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2798
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 22),
2814
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 22),
3213
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3226
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3331
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3353
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3459
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3481
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3584
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3600
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3694
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 22),
3710
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 22),
4259
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4269
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4366
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4385
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4483
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4502
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4597
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4610
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4696
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 15),
4709
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 15),
5099
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5109
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5210
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5229
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5331
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5350
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5449
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5462
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5552
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 15),
5565
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 15),
6286
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
6296
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
6376
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 11),
6389
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 11),
6524
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
6537
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
6624
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 20),
6637
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 20),
7011
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7021
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7102
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7118
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7215
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7228
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7319
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7332
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7423
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 20),
7436
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 20),
Parsing\ParsingErrorRecoveryTests.cs (1)
6843
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "_").WithArguments("_").WithLocation(2, 3),