1 write to Bounds
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7127this.Bounds = bounds;
17 references to Bounds
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Attributes.cs (2)
389(arguments[argIndex].IsParamsArrayOrCollection && arguments[argIndex] is BoundArrayCreation { Bounds: [BoundLiteral { ConstantValueOpt.Value: 0 }] }) ? 973ImmutableArray<BoundExpression> bounds = node.Bounds;
BoundTree\BoundNode.cs (1)
362this is BoundArrayCreation { Bounds: [BoundLiteral { WasCompilerGenerated: true }], InitializerOpt: BoundArrayInitialization { WasCompilerGenerated: true }, WasCompilerGenerated: true } or
CodeGen\EmitExpression.cs (1)
2376EmitArrayIndices(expression.Bounds);
FlowAnalysis\AbstractFlowPass.cs (1)
2828foreach (var expr in node.Bounds)
FlowAnalysis\NullableWalker.cs (1)
4608foreach (var expr in node.Bounds)
Generated\BoundNodes.xml.Generated.cs (5)
7140if (bounds != this.Bounds || initializerOpt != this.InitializerOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10611this.VisitList(node.Bounds); 11938ImmutableArray<BoundExpression> bounds = this.VisitList(node.Bounds); 14378ImmutableArray<BoundExpression> bounds = this.VisitList(node.Bounds); 16702new TreeDumperNode("bounds", null, from x in node.Bounds select Visit(x, null)),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
356return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__NewArrayBounds, boundType, Expressions(node.Bounds));
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
1132if (possibleParamsArray.IsParamsArrayOrCollection && !_inExpressionLambda && ((BoundArrayCreation)possibleParamsArray).Bounds is [BoundLiteral { ConstantValueOpt.Value: 0 }]) 1260if (paramsArray is BoundArrayCreation { Bounds: [BoundLiteral] bounds, InitializerOpt: BoundArrayInitialization { Initializers: var elements } initialization } creation)
Lowering\SpillSequenceSpiller.cs (2)
812bounds = VisitExpressionList(ref builder, node.Bounds); 818bounds = VisitExpressionList(ref boundsBuilder, node.Bounds, forceSpill: true);
Operations\CSharpOperationFactory.cs (1)
1206ImmutableArray<IOperation> dimensionSizes = CreateFromArray<BoundExpression, IOperation>(boundArrayCreation.Bounds);