5 references to ERR_AttributesRequireParenthesizedLambdaExpression
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Lambda.cs (1)
284
Error(diagnostics, syntax.Kind() == SyntaxKind.SimpleLambdaExpression ? ErrorCode.
ERR_AttributesRequireParenthesizedLambdaExpression
: ErrorCode.ERR_AttributesNotAllowed, attributeList);
Errors\ErrorFacts.cs (1)
2169
or ErrorCode.
ERR_AttributesRequireParenthesizedLambdaExpression
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\LambdaTests.cs (3)
3721
Diagnostic(ErrorCode.
ERR_AttributesRequireParenthesizedLambdaExpression
, "[A]").WithLocation(9, 34),
3724
Diagnostic(ErrorCode.
ERR_AttributesRequireParenthesizedLambdaExpression
, "[B]").WithLocation(9, 37)
3929
Diagnostic(ErrorCode.
ERR_AttributesRequireParenthesizedLambdaExpression
, "[D]").WithLocation(13, 34));