41 references to ERR_BadExtensionContainingType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2494
or ErrorCode.
ERR_BadExtensionContainingType
Symbols\Source\SourceNamedTypeSymbol.cs (1)
2004
diagnostics.Add(ErrorCode.
ERR_BadExtensionContainingType
, syntax.Keyword);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (37)
Semantics\ExtensionTests.cs (25)
502
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 5),
665
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(5, 5));
693
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 1));
734
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(12, 9));
817
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(5, 5));
838
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(5, 5));
1019
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 5)
1040
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 5)
1061
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 5)
1082
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 5)
1103
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 5)
1124
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 5)
1694
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(1, 1),
1697
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 1));
2957
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 5));
3269
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 5));
4032
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(1, 1),
4035
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(2, 1),
4087
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 5));
31226
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(4, 5),
31232
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(9, 5),
50088
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(6, 9),
50091
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(13, 9));
50137
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(2, 1),
50140
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(9, 1));
Semantics\ExtensionTests2.cs (12)
6288
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(2, 1),
22570
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 5));
22592
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 5));
22617
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 5),
27851
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(4, 5),
27854
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(3, 5));
27868
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(1, 1),
27871
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(2, 1));
27891
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(6, 9),
27894
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(5, 9));
28407
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(1, 1));
28430
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(5, 9),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\ExtensionsParsingTests.cs (2)
1469
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(1, 1));
1514
Diagnostic(ErrorCode.
ERR_BadExtensionContainingType
, "extension").WithLocation(5, 9));