12 references to ERR_DynamicLocalFunctionTypeParameter
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Invocation.cs (1)
784
ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
,
Errors\ErrorFacts.cs (1)
1779
case ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\LocalFunctionTests.cs (10)
4911
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L(d => d, m)").WithArguments("L").WithLocation(8, 16));
4936
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L(async d => await d, m)").WithArguments("L").WithLocation(8, 35),
4979
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L1(val)").WithArguments("L1").WithLocation(11, 9),
4982
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L2(1, val)").WithArguments("L2").WithLocation(14, 9),
4985
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L2(val, 3.0f)").WithArguments("L2").WithLocation(15, 9),
4988
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L3(dynamicList)").WithArguments("L3").WithLocation(18, 9),
4991
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L4(1, 2, val)").WithArguments("L4").WithLocation(21, 9),
4994
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L4(val, 3, 4)").WithArguments("L4").WithLocation(22, 9),
4997
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L5(val, 1, 2)").WithArguments("L5").WithLocation(25, 9),
5000
Diagnostic(ErrorCode.
ERR_DynamicLocalFunctionTypeParameter
, "L5(1, 3, val)").WithArguments("L5").WithLocation(26, 9)