1 write to Expression
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
2057
this.
Expression
= expression;
33 references to Expression
Microsoft.CodeAnalysis.CSharp (33)
BoundTree\BoundDagEvaluation.cs (2)
57
return arrayAccess.
Expression
.Type;
61
return arrayAccess.
Expression
.Type;
CodeGen\EmitAddress.cs (3)
397
EmitExpression(arrayAccess.
Expression
, used: true);
405
if (((ArrayTypeSymbol)arrayAccess.
Expression
.Type).IsSZArray)
413
_builder.EmitArrayElementAddress(_module.Translate((ArrayTypeSymbol)arrayAccess.
Expression
.Type),
CodeGen\EmitExpression.cs (6)
1011
EmitExpression(arrayAccess.
Expression
, used: true);
1014
if (((ArrayTypeSymbol)arrayAccess.
Expression
.Type).IsSZArray)
1101
_builder.EmitArrayElementLoad(_module.Translate((ArrayTypeSymbol)arrayAccess.
Expression
.Type), arrayAccess.
Expression
.Syntax, _diagnostics.DiagnosticBag);
2864
EmitExpression(left.
Expression
, used: true);
3096
var array = ((BoundArrayAccess)expression).
Expression
;
FlowAnalysis\AbstractFlowPass.cs (1)
2356
VisitRvalue(node.
Expression
);
FlowAnalysis\NullableWalker.cs (3)
4782
Visit(node.
Expression
);
4785
Debug.Assert(!node.
Expression
.Type!.IsValueType);
4788
_ = CheckPossibleNullReceiver(node.
Expression
);
Generated\BoundNodes.xml.Generated.cs (5)
2070
if (expression != this.
Expression
|| indices != this.Indices || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
9971
this.Visit(node.
Expression
);
11099
BoundExpression expression = (BoundExpression)this.Visit(node.
Expression
);
12902
BoundExpression expression = (BoundExpression)this.Visit(node.
Expression
);
15416
new TreeDumperNode("expression", null, new TreeDumperNode[] { Visit(node.
Expression
, null) }),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
293
var array = Visit(node.
Expression
);
Lowering\LocalRewriter\LocalRewriter.cs (3)
843
Debug.Assert(node.
Expression
.Type is { TypeKind: TypeKind.Array });
844
var elementType = ((ArrayTypeSymbol)node.
Expression
.Type).ElementTypeWithAnnotations;
851
VisitExpression(node.
Expression
),
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (4)
441
if (isDynamicAssignment || !IsInvariantArray(arrayAccess.
Expression
.Type))
444
return SpillArrayElementAccess(arrayAccess.
Expression
, arrayAccess.Indices, stores, temps);
652
if (isDynamicAssignment || !IsInvariantArray(arrayAccess.
Expression
.Type))
669
var loweredArray = VisitExpression(arrayAccess.
Expression
);
Lowering\SpillSequenceSpiller.cs (3)
779
var expression = VisitExpression(ref builder, node.
Expression
);
891
var expression = VisitExpression(ref leftBuilder, arrayAccess.
Expression
);
938
var expression = VisitExpression(ref leftBuilder, arrayAccess.
Expression
);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
571
BoundExpression expression = HoistExpression(array.
Expression
, awaitSyntaxOpt, syntaxOffset, RefKind.None, sideEffects, hoistedFields, ref needsSacrificialEvaluation);
Operations\CSharpOperationFactory.cs (1)
1626
IOperation arrayReference = Create(boundArrayAccess.
Expression
);