26 references to ERR_BadParamType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Statements.cs (1)
2222
Error(diagnostics, ErrorCode.
ERR_BadParamType
, lambdaParameterLocation,
Errors\ErrorFacts.cs (1)
1335
or ErrorCode.
ERR_BadParamType
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (23)
Semantics\DelegateTypeTests.cs (11)
7753
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(6, 34),
8601
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(11, 30),
8649
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(7, 45),
8708
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(12, 31),
8744
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(10, 50),
8810
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(12, 35),
8859
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "D1<string>").WithLocation(10, 50),
8929
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(7, 45),
10230
Diagnostic(ErrorCode.
ERR_BadParamType
, "o").WithArguments("1", "", "object", "", "string").WithLocation(8, 37),
16325
Diagnostic(ErrorCode.
ERR_BadParamType
, "d").WithArguments("2", "", "double", "", "int").WithLocation(6, 30),
16353
Diagnostic(ErrorCode.
ERR_BadParamType
, "a").WithArguments("2", "", "A", "", "B").WithLocation(12, 25),
Semantics\LambdaTests.cs (2)
311
Diagnostic(ErrorCode.
ERR_BadParamType
, "d").WithArguments("1", "", "double", "", "int").WithLocation(10, 49),
8596
Diagnostic(ErrorCode.
ERR_BadParamType
, "a").WithArguments("1", "ref ", "byte", "ref ", "int").WithLocation(7, 25),
Semantics\SemanticErrorTests.cs (10)
220
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "string", "", "int").WithLocation(7, 33),
226
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "string", "", "int").WithLocation(8, 33));
252
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "string", "", "int").WithLocation(7, 24),
258
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "string", "", "int").WithLocation(8, 24));
395
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "string", "", "int").WithLocation(14, 24),
401
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "string", "", "int").WithLocation(16, 33),
410
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "int", "", "string").WithLocation(22, 22),
416
Diagnostic(ErrorCode.
ERR_BadParamType
, "x").WithArguments("1", "", "int", "", "string").WithLocation(23, 31),
16002
new ErrorDescription { Code = (int)ErrorCode.
ERR_BadParamType
, Line = 8, Column = 40 }
16431
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));