1 write to LengthOrCountAccess
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7476this.LengthOrCountAccess = lengthOrCountAccess;
14 references to LengthOrCountAccess
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder.ValueChecks.cs (1)
566implicitIndexer.LengthOrCountAccess,
BoundTree\BoundImplicitIndexerAccess.cs (1)
20Debug.Assert(LengthOrCountAccess is BoundPropertyAccess or BoundArrayLength or BoundLocal or BoundBadExpression);
BoundTree\NullabilityRewriter.cs (1)
212BoundExpression lengthOrCountAccess = node.LengthOrCountAccess;
Generated\BoundNodes.xml.Generated.cs (3)
7499if (receiver != this.Receiver || argument != this.Argument || lengthOrCountAccess != this.LengthOrCountAccess || receiverPlaceholder != this.ReceiverPlaceholder || indexerOrSliceAccess != this.IndexerOrSliceAccess || argumentPlaceholders != this.ArgumentPlaceholders || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11962BoundExpression lengthOrCountAccess = node.LengthOrCountAccess; 16767new TreeDumperNode("lengthOrCountAccess", null, new TreeDumperNode[] { Visit(node.LengthOrCountAccess, null) }),
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (6)
497if (node.LengthOrCountAccess.Kind is not BoundKind.Local || receiver.Kind is not (BoundKind.Local or BoundKind.Parameter)) 536BoundExpression lengthAccess = VisitExpression(node.LengthOrCountAccess); 554integerArgument = MakePatternIndexOffsetExpression(makeOffsetInput, VisitExpression(node.LengthOrCountAccess), strategy); 799if (node.LengthOrCountAccess.Kind is not BoundKind.Local || receiver.Kind is not (BoundKind.Local or BoundKind.Parameter)) 947lengthAccess = VisitExpression(node.LengthOrCountAccess); 979DeconstructRange(rewrittenRangeArg, VisitExpression(node.LengthOrCountAccess), localsBuilder, sideEffectsBuilder, out startExpr, out rangeSizeExpr);
Operations\CSharpOperationFactory.cs (2)
1643if (boundIndexerAccess.LengthOrCountAccess.Kind == BoundKind.ArrayLength) 1648var lengthSymbol = Binder.GetPropertySymbol(boundIndexerAccess.LengthOrCountAccess, out _, out _).GetPublicSymbol();