28 references to WRN_CLS_BadArgType
Microsoft.CodeAnalysis.CSharp (4)
Compiler\ClsComplianceChecker.cs (1)
573this.AddDiagnostic(ErrorCode.WRN_CLS_BadArgType, parameter.Locations[0], parameter.Type);
Errors\ErrorFacts.cs (2)
370case ErrorCode.WRN_CLS_BadArgType: 1459case ErrorCode.WRN_CLS_BadArgType:
Generated\ErrorFacts.Generated.cs (1)
126case ErrorCode.WRN_CLS_BadArgType:
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
11059Diagnostic(ErrorCode.WRN_CLS_BadArgType, "i") 11084Diagnostic(ErrorCode.WRN_CLS_BadArgType, "i")
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\FunctionPointerTests.cs (1)
3752Diagnostic(ErrorCode.WRN_CLS_BadArgType, "m").WithArguments("delegate*<void>").WithLocation(9, 43)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (21)
Symbols\Source\ClsComplianceTests.cs (20)
1275Diagnostic(ErrorCode.WRN_CLS_BadArgType, "b").WithArguments("Bad"), 1278Diagnostic(ErrorCode.WRN_CLS_BadArgType, "b").WithArguments("Generic<Bad>"), 1281Diagnostic(ErrorCode.WRN_CLS_BadArgType, "b").WithArguments("Generic<Generic<Bad>>"), 1284Diagnostic(ErrorCode.WRN_CLS_BadArgType, "b").WithArguments("Bad[]"), 1287Diagnostic(ErrorCode.WRN_CLS_BadArgType, "b").WithArguments("Bad[][]"), 1290Diagnostic(ErrorCode.WRN_CLS_BadArgType, "b").WithArguments("Bad[*,*]"), 1293Diagnostic(ErrorCode.WRN_CLS_BadArgType, "b").WithArguments("int*")); 1326Diagnostic(ErrorCode.WRN_CLS_BadArgType, "b").WithArguments("Bad"), 1329Diagnostic(ErrorCode.WRN_CLS_BadArgType, "b").WithArguments("Bad"), 1332Diagnostic(ErrorCode.WRN_CLS_BadArgType, "b").WithArguments("Bad")); 1368Diagnostic(ErrorCode.WRN_CLS_BadArgType, "n").WithArguments("C<int>.N"), 1371Diagnostic(ErrorCode.WRN_CLS_BadArgType, "n").WithArguments("C<ulong>.N"), 1374Diagnostic(ErrorCode.WRN_CLS_BadArgType, "n").WithArguments("C<int>.N")); 1402Diagnostic(ErrorCode.WRN_CLS_BadArgType, "p").WithArguments("C1<int>.C2<U>"), 1405Diagnostic(ErrorCode.WRN_CLS_BadArgType, "p").WithArguments("C1<int>.C2<U>.C3<V>")); 2939Diagnostic(ErrorCode.WRN_CLS_BadArgType, "t").WithArguments("int*[]")); 3189Assert.Equal(ErrorCode.WRN_CLS_BadArgType, (ErrorCode)comp.GetDeclarationDiagnostics().Single().Code); 3534Diagnostic(ErrorCode.WRN_CLS_BadArgType, "n").WithArguments("N1.NonCompliant"), 3537Diagnostic(ErrorCode.WRN_CLS_BadArgType, "n").WithArguments("N2.NonCompliant"), 3575Diagnostic(ErrorCode.WRN_CLS_BadArgType, "n").WithArguments("N1.NonCompliant"),
Symbols\SymbolErrorTests.cs (1)
18772Diagnostic(ErrorCode.WRN_CLS_BadArgType, "i").WithArguments("ushort"));