90 references to ERR_ExplicitInterfaceImplementationNotInterface
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
947
or ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
Symbols\Source\ExplicitInterfaceHelpers.cs (1)
213
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)
52386
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 19 + implModifiers.Length)
57085
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18 + implModifiers.Length)
57143
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18 + implModifiers.Length)
57201
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18 + implModifiers.Length)
59362
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 34 + implModifiers.Length)
62075
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18)
62127
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I1").WithArguments("I1").WithLocation(4, 18)
62179
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)
9795
new ErrorDescription { Code = (int)ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, Line = 11, Column = 10 },
9796
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)
1657
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "required").WithArguments("required").WithLocation(1, 27),
2329
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2342
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2443
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2465
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2568
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2590
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2689
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2705
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
2795
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 22),
2811
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 22),
3210
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3223
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3328
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3350
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3456
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3478
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3581
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3597
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 22),
3691
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 22),
3707
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 22),
4255
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4265
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4362
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4381
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4479
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4498
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4593
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4606
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
4692
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 15),
4705
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 15),
5095
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5105
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5206
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5225
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5327
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5346
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5445
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5458
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 15),
5548
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 15),
5561
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 15),
6280
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
6290
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
6370
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 11),
6383
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 11),
6518
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
6531
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
6618
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 20),
6631
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 20),
7005
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7015
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7096
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7112
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7209
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7222
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7313
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7326
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "N.I").WithArguments("N.I").WithLocation(1, 20),
7417
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 20),
7430
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "I").WithArguments("I").WithLocation(1, 20),
Parsing\ParsingErrorRecoveryTests.cs (1)
7633
Diagnostic(ErrorCode.
ERR_ExplicitInterfaceImplementationNotInterface
, "_").WithArguments("_").WithLocation(2, 3),