14 references to ERR_DynamicLocalFunctionTypeParameter
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Invocation.cs (1)
948
ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
,
Errors\ErrorFacts.cs (1)
1838
or ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\ParamsCollectionTests.cs (2)
7092
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "Test(d, 2, 3)").WithArguments("Test").WithLocation(8, 9)
7144
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "Test(0, d, 2, 3)").WithArguments("Test").WithLocation(8, 9)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\LocalFunctionTests.cs (10)
5300
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L(d => d, m)").WithArguments("L").WithLocation(8, 16));
5325
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L(async d => await d, m)").WithArguments("L").WithLocation(8, 35)
5366
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L1(val)").WithArguments("L1").WithLocation(11, 9),
5369
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L2(1, val)").WithArguments("L2").WithLocation(14, 9),
5372
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L2(val, 3.0f)").WithArguments("L2").WithLocation(15, 9),
5375
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L3(dynamicList)").WithArguments("L3").WithLocation(18, 9),
5378
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L4(1, 2, val)").WithArguments("L4").WithLocation(21, 9),
5381
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L4(val, 3, 4)").WithArguments("L4").WithLocation(22, 9),
5384
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L5(val, 1, 2)").WithArguments("L5").WithLocation(25, 9),
5387
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L5(1, 3, val)").WithArguments("L5").WithLocation(26, 9)