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