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