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