23 references to WRN_CLS_BadInterface
Microsoft.CodeAnalysis.CSharp (4)
Compiler\ClsComplianceChecker.cs (1)
518this.AddDiagnostic(ErrorCode.WRN_CLS_BadInterface, symbol.Locations[0], symbol, interfaceType);
Errors\ErrorFacts.cs (2)
391case ErrorCode.WRN_CLS_BadInterface: 1482case 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)
693Diagnostic(ErrorCode.WRN_CLS_BadInterface, "A").WithArguments("A", "Bad"), 696Diagnostic(ErrorCode.WRN_CLS_BadInterface, "B").WithArguments("B", "Generic<int*[]>"), 699Diagnostic(ErrorCode.WRN_CLS_BadInterface, "C").WithArguments("C", "Bad"), 702Diagnostic(ErrorCode.WRN_CLS_BadInterface, "D").WithArguments("D", "Bad"), 705Diagnostic(ErrorCode.WRN_CLS_BadInterface, "E").WithArguments("E", "Bad"), 708Diagnostic(ErrorCode.WRN_CLS_BadInterface, "E").WithArguments("E", "Generic<int*[]>")); 746Diagnostic(ErrorCode.WRN_CLS_BadInterface, "C").WithArguments("C", "Bad").WithLocation(10, 18), 749Diagnostic(ErrorCode.WRN_CLS_BadInterface, "D").WithArguments("D", "Bad").WithLocation(12, 18), 752Diagnostic(ErrorCode.WRN_CLS_BadInterface, "B").WithArguments("B", "Generic<int*[]>").WithLocation(8, 25), 755Diagnostic(ErrorCode.WRN_CLS_BadInterface, "E").WithArguments("E", "Bad").WithLocation(14, 25), 758Diagnostic(ErrorCode.WRN_CLS_BadInterface, "A").WithArguments("A", "Bad").WithLocation(6, 18), 761Diagnostic(ErrorCode.WRN_CLS_BadInterface, "E").WithArguments("E", "Generic<int*[]>").WithLocation(14, 25)); 766Diagnostic(ErrorCode.WRN_CLS_BadInterface, "A").WithArguments("A", "Bad"), 769Diagnostic(ErrorCode.WRN_CLS_BadInterface, "B").WithArguments("B", "Generic<int*[]>"), 772Diagnostic(ErrorCode.WRN_CLS_BadInterface, "C").WithArguments("C", "Bad"), 775Diagnostic(ErrorCode.WRN_CLS_BadInterface, "D").WithArguments("D", "Bad"), 778Diagnostic(ErrorCode.WRN_CLS_BadInterface, "E").WithArguments("E", "Bad"), 781Diagnostic(ErrorCode.WRN_CLS_BadInterface, "E").WithArguments("E", "Generic<int*[]>"));
Symbols\SymbolErrorTests.cs (1)
19267new ErrorDescription { Code = (int)ErrorCode.WRN_CLS_BadInterface, Line = 13, Column = 18, IsWarning = true });