90 references to ERR_ExplicitInterfaceImplementationNotInterface
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
945
or 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)
52390
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 19 + implModifiers.Length)
57089
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18 + implModifiers.Length)
57147
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18 + implModifiers.Length)
57205
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18 + implModifiers.Length)
59366
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 34 + implModifiers.Length)
62079
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18)
62131
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18)
62183
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18)
Symbols\Source\FileModifierTests.cs (1)
2813
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(3, 10),
Symbols\SymbolErrorTests.cs (2)
9784
new ErrorDescription { Code = (int)ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, Line = 11, Column = 10 },
9785
new ErrorDescription { Code = (int)ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, Line = 14, Column = 9 });
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (61)
Parsing\AsyncParsingTests.cs (1)
2586
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "async").WithArguments("async").WithLocation(1, 29),
Parsing\MemberDeclarationParsingTests.cs (59)
1626
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "required").WithArguments("required").WithLocation(1, 27),
2298
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2311
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2412
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2434
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2537
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2559
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2658
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2674
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2764
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 22),
2780
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 22),
3179
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3192
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3297
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3319
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3425
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3447
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3550
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3566
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3660
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 22),
3676
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 22),
4224
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4234
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4331
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4350
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4448
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4467
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4562
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4575
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4661
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 15),
4674
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 15),
5064
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5074
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5175
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5194
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5296
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5315
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5414
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5427
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5517
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 15),
5530
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 15),
6249
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
6259
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
6339
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 11),
6352
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 11),
6487
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
6500
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
6587
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 20),
6600
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 20),
6974
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
6984
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7065
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7081
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7178
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7191
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7282
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7295
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7386
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 20),
7399
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 20),
Parsing\ParsingErrorRecoveryTests.cs (1)
7633
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "_").WithArguments("_").WithLocation(2, 3),