10 references to ERR_FileTypeBase
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2299
or ErrorCode.
ERR_FileTypeBase
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (2)
397
diagnostics.Add(ErrorCode.
ERR_FileTypeBase
, baseTypeLocation, baseType, this);
414
diagnostics.Add(ErrorCode.
ERR_FileTypeBase
, interfaceLocations[i], i, this);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Symbols\Source\FileModifierTests.cs (7)
2529
Diagnostic(ErrorCode.
ERR_FileTypeBase
, "Derived1").WithArguments("Base", "Derived1").WithLocation(2, 7),
2535
Diagnostic(ErrorCode.
ERR_FileTypeBase
, "Derived2").WithArguments("Base", "Derived2").WithLocation(3, 14));
2555
Diagnostic(ErrorCode.
ERR_FileTypeBase
, "Derived3").WithArguments("Interface", "Derived3").WithLocation(6, 11));
2660
Diagnostic(ErrorCode.
ERR_FileTypeBase
, "Derived").WithArguments("I1", "Derived").WithLocation(3, 19));
2685
Diagnostic(ErrorCode.
ERR_FileTypeBase
, "D").WithArguments("C<int>", "D").WithLocation(3, 7),
2688
Diagnostic(ErrorCode.
ERR_FileTypeBase
, "J").WithArguments("I<int>", "J").WithLocation(11, 11));
4039
Diagnostic(ErrorCode.
ERR_FileTypeBase
, "D").WithArguments("NS.C", "NS.D").WithLocation(8, 7));