14 references to ERR_DynamicLocalFunctionTypeParameter
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Invocation.cs (1)
926
ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
,
Errors\ErrorFacts.cs (1)
1839
or ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\ParamsCollectionTests.cs (2)
7108
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "Test(d, 2, 3)").WithArguments("Test").WithLocation(8, 9)
7160
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "Test(0, d, 2, 3)").WithArguments("Test").WithLocation(8, 9)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\LocalFunctionTests.cs (10)
4995
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L(d => d, m)").WithArguments("L").WithLocation(8, 16));
5020
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L(async d => await d, m)").WithArguments("L").WithLocation(8, 35),
5063
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L1(val)").WithArguments("L1").WithLocation(11, 9),
5066
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L2(1, val)").WithArguments("L2").WithLocation(14, 9),
5069
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L2(val, 3.0f)").WithArguments("L2").WithLocation(15, 9),
5072
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L3(dynamicList)").WithArguments("L3").WithLocation(18, 9),
5075
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L4(1, 2, val)").WithArguments("L4").WithLocation(21, 9),
5078
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L4(val, 3, 4)").WithArguments("L4").WithLocation(22, 9),
5081
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L5(val, 1, 2)").WithArguments("L5").WithLocation(25, 9),
5084
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L5(1, 3, val)").WithArguments("L5").WithLocation(26, 9)