1 write to LengthOrCountAccess
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7592this.LengthOrCountAccess = lengthOrCountAccess;
19 references to LengthOrCountAccess
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (1)
806implicitIndexer.LengthOrCountAccess,
BoundTree\BoundImplicitIndexerAccess.cs (1)
20Debug.Assert(LengthOrCountAccess is BoundPropertyAccess or BoundArrayLength or BoundLocal or BoundBadExpression);
BoundTree\NullabilityRewriter.cs (1)
291BoundExpression lengthOrCountAccess = node.LengthOrCountAccess;
Generated\BoundNodes.xml.Generated.cs (3)
7615if (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)) 12413BoundExpression lengthOrCountAccess = node.LengthOrCountAccess; 17310new TreeDumperNode("lengthOrCountAccess", null, new TreeDumperNode[] { Visit(node.LengthOrCountAccess, null) }),
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (11)
561if (node.LengthOrCountAccess.Kind is not BoundKind.Local || receiver.Kind is not (BoundKind.Local or BoundKind.Parameter)) 577Debug.Assert(node.LengthOrCountAccess.ExpressionSymbol is not null); 581IsPossibleReferenceTypeReceiverOfConstrainedOrExtensionCall(node.LengthOrCountAccess.ExpressionSymbol, receiverLocal) 615BoundExpression lengthAccess = VisitExpression(node.LengthOrCountAccess); 633integerArgument = MakePatternIndexOffsetExpression(makeOffsetInput, VisitExpression(node.LengthOrCountAccess), strategy); 879if (node.LengthOrCountAccess.Kind is not BoundKind.Local || receiver.Kind is not (BoundKind.Local or BoundKind.Parameter)) 896Debug.Assert(node.LengthOrCountAccess.ExpressionSymbol is not null); 900IsPossibleReferenceTypeReceiverOfConstrainedOrExtensionCall(node.LengthOrCountAccess.ExpressionSymbol, receiverLocal) 972lengthAccess = VisitExpression(node.LengthOrCountAccess); 1064lengthAccess = VisitExpression(node.LengthOrCountAccess); 1096(startExpr, rangeSizeExpr) = DeconstructRangeIntoLocals(rewrittenRangeArg, VisitExpression(node.LengthOrCountAccess), localsBuilder, sideEffectsBuilder);
Operations\CSharpOperationFactory.cs (2)
1709if (boundIndexerAccess.LengthOrCountAccess.Kind == BoundKind.ArrayLength) 1714var lengthSymbol = Binder.GetPropertySymbol(boundIndexerAccess.LengthOrCountAccess, out _, out _).GetPublicSymbol();