8 references to ERR_FileTypeBase
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2243
case ErrorCode.
ERR_FileTypeBase
:
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (2)
396
diagnostics.Add(ErrorCode.
ERR_FileTypeBase
, baseTypeLocation, baseType, this);
413
diagnostics.Add(ErrorCode.
ERR_FileTypeBase
, interfaceLocations[i], i, this);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Symbols\Source\FileModifierTests.cs (5)
2152
Diagnostic(ErrorCode.
ERR_FileTypeBase
, "Derived1").WithArguments("Base", "Derived1").WithLocation(2, 7),
2158
Diagnostic(ErrorCode.
ERR_FileTypeBase
, "Derived2").WithArguments("Base", "Derived2").WithLocation(3, 14));
2178
Diagnostic(ErrorCode.
ERR_FileTypeBase
, "Derived3").WithArguments("Interface", "Derived3").WithLocation(6, 11));
2283
Diagnostic(ErrorCode.
ERR_FileTypeBase
, "Derived").WithArguments("I1", "Derived").WithLocation(3, 19));
3469
Diagnostic(ErrorCode.
ERR_FileTypeBase
, "D").WithArguments("NS.C", "NS.D").WithLocation(8, 7));