30 references to WRN_CLS_BadBase
Microsoft.CodeAnalysis.CSharp (4)
Compiler\ClsComplianceChecker.cs (1)
529this.AddDiagnostic(ErrorCode.WRN_CLS_BadBase, symbol.Locations[0], symbol, baseType);
Errors\ErrorFacts.cs (2)
377case ErrorCode.WRN_CLS_BadBase: 1466case ErrorCode.WRN_CLS_BadBase:
Generated\ErrorFacts.Generated.cs (1)
133case ErrorCode.WRN_CLS_BadBase:
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (26)
Symbols\Source\ClsComplianceTests.cs (24)
401Diagnostic(ErrorCode.WRN_CLS_BadBase, "A").WithArguments("A", "Bad"), 404Diagnostic(ErrorCode.WRN_CLS_BadBase, "B").WithArguments("B", "Generic<int*[]>")); 412Diagnostic(ErrorCode.WRN_CLS_BadBase, "B").WithArguments("B", "Generic<int*[]>").WithLocation(10, 14), 415Diagnostic(ErrorCode.WRN_CLS_BadBase, "A").WithArguments("A", "Bad").WithLocation(6, 14)); 446Diagnostic(ErrorCode.WRN_CLS_BadBase, "A").WithArguments("A", "Bad"), 449Diagnostic(ErrorCode.WRN_CLS_BadBase, "B").WithArguments("B", "Generic<int*[]>")); 503Diagnostic(ErrorCode.WRN_CLS_BadBase, "A1").WithArguments("A1", "Bad1"), 506Diagnostic(ErrorCode.WRN_CLS_BadBase, "A2").WithArguments("A2", "Bad2"), 509Diagnostic(ErrorCode.WRN_CLS_BadBase, "A3").WithArguments("A3", "Bad3"), 512Diagnostic(ErrorCode.WRN_CLS_BadBase, "B1").WithArguments("B1", "Generic<int*[]>"), 515Diagnostic(ErrorCode.WRN_CLS_BadBase, "B2").WithArguments("B2", "Generic<Bad2>")); 569Diagnostic(ErrorCode.WRN_CLS_BadBase, "A1").WithArguments("A1", "Bad1"), 572Diagnostic(ErrorCode.WRN_CLS_BadBase, "A2").WithArguments("A2", "Bad2"), 575Diagnostic(ErrorCode.WRN_CLS_BadBase, "A3").WithArguments("A3", "Bad3"), 578Diagnostic(ErrorCode.WRN_CLS_BadBase, "B1").WithArguments("B1", "Generic<int*[]>"), 581Diagnostic(ErrorCode.WRN_CLS_BadBase, "B2").WithArguments("B2", "Generic<Bad2>")); 593Diagnostic(ErrorCode.WRN_CLS_BadBase, "B1").WithArguments("B1", "Generic<int*[]>").WithLocation(10, 21), 596Diagnostic(ErrorCode.WRN_CLS_BadBase, "A3").WithArguments("A3", "Bad3").WithLocation(8, 14), 599Diagnostic(ErrorCode.WRN_CLS_BadBase, "A1").WithArguments("A1", "Bad1").WithLocation(6, 14), 602Diagnostic(ErrorCode.WRN_CLS_BadBase, "A2").WithArguments("A2", "Bad2").WithLocation(7, 14), 605Diagnostic(ErrorCode.WRN_CLS_BadBase, "B2").WithArguments("B2", "Generic<Bad2>").WithLocation(11, 14)); 3510Diagnostic(ErrorCode.WRN_CLS_BadBase, "Compliant").WithArguments("N1.Compliant", "N1.NonCompliant"), 3513Diagnostic(ErrorCode.WRN_CLS_BadBase, "Compliant").WithArguments("N2.Compliant", "N2.NonCompliant"), 3563Diagnostic(ErrorCode.WRN_CLS_BadBase, "Compliant").WithArguments("N1.Compliant", "N1.NonCompliant"),
Symbols\Source\EnumTests.cs (1)
698Diagnostic(ErrorCode.WRN_CLS_BadBase, "COLORS").WithArguments("c1.COLORS", "uint"));
Symbols\SymbolErrorTests.cs (1)
18915Diagnostic(ErrorCode.WRN_CLS_BadBase, "C").WithArguments("C", "B"));