1 write to Expression
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6513
this.
Expression
= expression;
20 references to Expression
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Attributes.cs (1)
893
return new TypedConstant(spread.
Expression
.Type, TypedConstantKind.Error, value: null);
Binder\Binder_Expressions.cs (2)
6524
BindToNaturalType(element.
Expression
, BindingDiagnosticBag.Discarded, reportNoTargetType: false),
6543
element.
Expression
,
FlowAnalysis\AbstractFlowPass.cs (1)
2097
VisitRvalue(node.
Expression
);
FlowAnalysis\NullableWalker.cs (2)
3888
VisitRvalue(node.
Expression
);
3894
AddPlaceholderReplacement(node.ExpressionPlaceholder, node.
Expression
, _visitResult);
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
133
Visit(spread.
Expression
);
Generated\BoundNodes.xml.Generated.cs (4)
6535
if (expression != this.
Expression
|| expressionPlaceholder != this.ExpressionPlaceholder || conversion != this.Conversion || enumeratorInfoOpt != this.EnumeratorInfoOpt || lengthOrCount != this.LengthOrCount || elementPlaceholder != this.ElementPlaceholder || iteratorBody != this.IteratorBody)
10537
this.Visit(node.
Expression
);
11832
BoundExpression expression = (BoundExpression)this.Visit(node.
Expression
);
16530
new TreeDumperNode("expression", null, new TreeDumperNode[] { Visit(node.
Expression
, null) }),
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (8)
141
spreadElement.
Expression
,
176
Debug.Assert(singleSpread.
Expression
.Type is not null);
178
if (!ShouldUseIEnumerableBulkAddMethod(singleSpread.
Expression
.Type, toListOfElementType.Parameters[0].Type, singleSpread.EnumeratorInfoOpt?.GetEnumeratorInfo.Method))
183
var rewrittenSpreadExpression = VisitExpression(singleSpread.
Expression
);
224
Elements: [BoundCollectionExpressionSpreadElement {
Expression
: { Type: NamedTypeSymbol spreadType } expr }],
357
VisitExpression(spreadElement.
Expression
),
661
if (node is { Elements: [BoundCollectionExpressionSpreadElement {
Expression
: { } spreadExpression } spreadElement] }
1207
spreadElement.
Expression
:
Operations\CSharpOperationFactory.cs (1)
1270
var collection = Create(element.
Expression
);