30 references to WRN_CLS_BadBase
Microsoft.CodeAnalysis.CSharp (4)
Compiler\ClsComplianceChecker.cs (1)
536this.AddDiagnostic(ErrorCode.WRN_CLS_BadBase, symbol.GetFirstLocation(), symbol, baseType);
Errors\ErrorFacts.cs (2)
390case ErrorCode.WRN_CLS_BadBase: 1527or 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)
400Diagnostic(ErrorCode.WRN_CLS_BadBase, "A").WithArguments("A", "Bad"), 403Diagnostic(ErrorCode.WRN_CLS_BadBase, "B").WithArguments("B", "Generic<int*[]>")); 411Diagnostic(ErrorCode.WRN_CLS_BadBase, "B").WithArguments("B", "Generic<int*[]>").WithLocation(10, 14), 414Diagnostic(ErrorCode.WRN_CLS_BadBase, "A").WithArguments("A", "Bad").WithLocation(6, 14)); 445Diagnostic(ErrorCode.WRN_CLS_BadBase, "A").WithArguments("A", "Bad"), 448Diagnostic(ErrorCode.WRN_CLS_BadBase, "B").WithArguments("B", "Generic<int*[]>")); 502Diagnostic(ErrorCode.WRN_CLS_BadBase, "A1").WithArguments("A1", "Bad1"), 505Diagnostic(ErrorCode.WRN_CLS_BadBase, "A2").WithArguments("A2", "Bad2"), 508Diagnostic(ErrorCode.WRN_CLS_BadBase, "A3").WithArguments("A3", "Bad3"), 511Diagnostic(ErrorCode.WRN_CLS_BadBase, "B1").WithArguments("B1", "Generic<int*[]>"), 514Diagnostic(ErrorCode.WRN_CLS_BadBase, "B2").WithArguments("B2", "Generic<Bad2>")); 568Diagnostic(ErrorCode.WRN_CLS_BadBase, "A1").WithArguments("A1", "Bad1"), 571Diagnostic(ErrorCode.WRN_CLS_BadBase, "A2").WithArguments("A2", "Bad2"), 574Diagnostic(ErrorCode.WRN_CLS_BadBase, "A3").WithArguments("A3", "Bad3"), 577Diagnostic(ErrorCode.WRN_CLS_BadBase, "B1").WithArguments("B1", "Generic<int*[]>"), 580Diagnostic(ErrorCode.WRN_CLS_BadBase, "B2").WithArguments("B2", "Generic<Bad2>")); 592Diagnostic(ErrorCode.WRN_CLS_BadBase, "B1").WithArguments("B1", "Generic<int*[]>").WithLocation(10, 21), 595Diagnostic(ErrorCode.WRN_CLS_BadBase, "A3").WithArguments("A3", "Bad3").WithLocation(8, 14), 598Diagnostic(ErrorCode.WRN_CLS_BadBase, "A1").WithArguments("A1", "Bad1").WithLocation(6, 14), 601Diagnostic(ErrorCode.WRN_CLS_BadBase, "A2").WithArguments("A2", "Bad2").WithLocation(7, 14), 604Diagnostic(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)
19060Diagnostic(ErrorCode.WRN_CLS_BadBase, "C").WithArguments("C", "B"));