13 references to Expression
Microsoft.CodeAnalysis.CSharp (9)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1725
=> node.Update(VisitToken(node.OperatorToken), (ExpressionSyntax?)Visit(node.
Expression
) ?? throw new ArgumentNullException("expression"));
_generated\2\Syntax.xml.Syntax.Generated.cs (2)
4262
if (operatorToken != this.OperatorToken || expression != this.
Expression
)
4272
public SpreadElementSyntax WithOperatorToken(SyntaxToken operatorToken) => Update(operatorToken, this.
Expression
);
Binder\Binder_Expressions.cs (6)
5387
var expression = @this.BindRValueWithoutTargetType(syntax.
Expression
, diagnostics);
5389
bool hasErrors = !@this.GetEnumeratorInfoAndInferCollectionElementType(syntax, syntax.
Expression
, ref expression, isAsync: false, isSpread: true, diagnostics, inferredType: out _, out builder) ||
5409
var expressionPlaceholder = new BoundCollectionExpressionSpreadExpressionPlaceholder(syntax.
Expression
, expression.Type);
5415
diagnostics.Add(syntax.
Expression
, useSiteInfo);
5426
else if (!@this.TryBindLengthOrCount(syntax.
Expression
, expressionPlaceholder, out lengthOrCount, diagnostics))
6734
syntax.
Expression
,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (1)
521
yield return CreateCollectionElement(useSpread: true, spreadElement.
Expression
);
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
123
result.Add(new(spreadElement.
Expression
, UseSpread: true, UseKeyValue: false));
Microsoft.CodeAnalysis.CSharp.Features (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (1)
521
yield return CreateCollectionElement(useSpread: true, spreadElement.
Expression
);
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
123
result.Add(new(spreadElement.
Expression
, UseSpread: true, UseKeyValue: false));