23 references to WRN_CLS_BadInterface
Microsoft.CodeAnalysis.CSharp (4)
Compiler\ClsComplianceChecker.cs (1)
525this.AddDiagnostic(ErrorCode.WRN_CLS_BadInterface, symbol.GetFirstLocation(), symbol, interfaceType);
Errors\ErrorFacts.cs (2)
404case ErrorCode.WRN_CLS_BadInterface: 1543or ErrorCode.WRN_CLS_BadInterface
Generated\ErrorFacts.Generated.cs (1)
149case ErrorCode.WRN_CLS_BadInterface:
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (19)
Symbols\Source\ClsComplianceTests.cs (18)
692Diagnostic(ErrorCode.WRN_CLS_BadInterface, "A").WithArguments("A", "Bad"), 695Diagnostic(ErrorCode.WRN_CLS_BadInterface, "B").WithArguments("B", "Generic<int*[]>"), 698Diagnostic(ErrorCode.WRN_CLS_BadInterface, "C").WithArguments("C", "Bad"), 701Diagnostic(ErrorCode.WRN_CLS_BadInterface, "D").WithArguments("D", "Bad"), 704Diagnostic(ErrorCode.WRN_CLS_BadInterface, "E").WithArguments("E", "Bad"), 707Diagnostic(ErrorCode.WRN_CLS_BadInterface, "E").WithArguments("E", "Generic<int*[]>")); 745Diagnostic(ErrorCode.WRN_CLS_BadInterface, "C").WithArguments("C", "Bad").WithLocation(10, 18), 748Diagnostic(ErrorCode.WRN_CLS_BadInterface, "D").WithArguments("D", "Bad").WithLocation(12, 18), 751Diagnostic(ErrorCode.WRN_CLS_BadInterface, "B").WithArguments("B", "Generic<int*[]>").WithLocation(8, 25), 754Diagnostic(ErrorCode.WRN_CLS_BadInterface, "E").WithArguments("E", "Bad").WithLocation(14, 25), 757Diagnostic(ErrorCode.WRN_CLS_BadInterface, "A").WithArguments("A", "Bad").WithLocation(6, 18), 760Diagnostic(ErrorCode.WRN_CLS_BadInterface, "E").WithArguments("E", "Generic<int*[]>").WithLocation(14, 25)); 765Diagnostic(ErrorCode.WRN_CLS_BadInterface, "A").WithArguments("A", "Bad"), 768Diagnostic(ErrorCode.WRN_CLS_BadInterface, "B").WithArguments("B", "Generic<int*[]>"), 771Diagnostic(ErrorCode.WRN_CLS_BadInterface, "C").WithArguments("C", "Bad"), 774Diagnostic(ErrorCode.WRN_CLS_BadInterface, "D").WithArguments("D", "Bad"), 777Diagnostic(ErrorCode.WRN_CLS_BadInterface, "E").WithArguments("E", "Bad"), 780Diagnostic(ErrorCode.WRN_CLS_BadInterface, "E").WithArguments("E", "Generic<int*[]>"));
Symbols\SymbolErrorTests.cs (1)
19412new ErrorDescription { Code = (int)ErrorCode.WRN_CLS_BadInterface, Line = 13, Column = 18, IsWarning = true });