26 references to ERR_BadParamType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Statements.cs (1)
2160
Error(diagnostics, ErrorCode.
ERR_BadParamType
, lambdaParameterLocation,
Errors\ErrorFacts.cs (1)
1274
case ErrorCode.
ERR_BadParamType
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (23)
Semantics\DelegateTypeTests.cs (11)
4943
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(6, 34));
5791
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(11, 30),
5839
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(7, 45));
5898
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(12, 31)
5934
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(10, 50)
6000
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(12, 35)
6049
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "D1<string>").WithLocation(10, 50),
6119
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(7, 45),
7420
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(8, 37));
12892
Diagnostic(ErrorCode.
ERR_BadParamType
, "d").WithArguments("2", "", "double", "", "int").WithLocation(6, 30));
12920
Diagnostic(ErrorCode.
ERR_BadParamType
, "a").WithArguments("2", "", "A", "", "B").WithLocation(12, 25));
Semantics\LambdaTests.cs (2)
181
Diagnostic(ErrorCode.
ERR_BadParamType
, "x6").WithArguments("1", "", "double", "ref ", "int").WithLocation(21, 25),
317
Diagnostic(ErrorCode.
ERR_BadParamType
, "d").WithArguments("1", "", "double", "", "int").WithLocation(10, 49));
Semantics\SemanticErrorTests.cs (10)
219
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "string", "", "int"),
225
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "string", "", "int")
252
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "string", "", "int"),
258
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "string", "", "int")
396
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "string", "", "int"),
402
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "string", "", "int"),
411
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "int", "", "string"),
417
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "int", "", "string"),
15876
new ErrorDescription { Code = (int)ErrorCode.
ERR_BadParamType
, Line = 8, Column = 40 }
16316
new ErrorDescription { Code = (int)ErrorCode.
ERR_BadParamType
, Line = 7, Column = 31 }
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\SymbolDistinguisherTests.cs (1)
521
Diagnostic(ErrorCode.
ERR_BadParamType
, "c").WithArguments("1", "", "C [file.cs(3)]", "", "C [Metadata, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]").WithLocation(7, 18));