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