4 references to ERR_AttributesNotAllowed
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Lambda.cs (1)
273
Error(diagnostics, syntax.Kind() == SyntaxKind.SimpleLambdaExpression ? ErrorCode.ERR_AttributesRequireParenthesizedLambdaExpression : ErrorCode.
ERR_AttributesNotAllowed
, attributeList);
Binder\Binder_Statements.cs (2)
55
Error(diagnostics, ErrorCode.
ERR_AttributesNotAllowed
, attributeList);
1867
Error(diagnostics, ErrorCode.
ERR_AttributesNotAllowed
, node.AttributeLists[0]);
Errors\ErrorFacts.cs (1)
1579
or ErrorCode.
ERR_AttributesNotAllowed