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