1 write to LengthOrCountAccess
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7199this.LengthOrCountAccess = lengthOrCountAccess;
13 references to LengthOrCountAccess
Microsoft.CodeAnalysis.CSharp (13)
BoundTree\BoundImplicitIndexerAccess.cs (1)
20Debug.Assert(LengthOrCountAccess is BoundPropertyAccess or BoundArrayLength or BoundLocal or BoundBadExpression);
BoundTree\NullabilityRewriter.cs (1)
169BoundExpression lengthOrCountAccess = node.LengthOrCountAccess;
Generated\BoundNodes.xml.Generated.cs (3)
7222if (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)) 11535BoundExpression lengthOrCountAccess = node.LengthOrCountAccess; 16158new TreeDumperNode("lengthOrCountAccess", null, new TreeDumperNode[] { Visit(node.LengthOrCountAccess, null) }),
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (6)
264if (node.LengthOrCountAccess.Kind is not BoundKind.Local || receiver.Kind is not (BoundKind.Local or BoundKind.Parameter)) 302BoundExpression lengthAccess = VisitExpression(node.LengthOrCountAccess); 320integerArgument = MakePatternIndexOffsetExpression(makeOffsetInput, VisitExpression(node.LengthOrCountAccess), strategy); 572if (node.LengthOrCountAccess.Kind is not BoundKind.Local || receiver.Kind is not (BoundKind.Local or BoundKind.Parameter)) 722lengthAccess = VisitExpression(node.LengthOrCountAccess); 766var lengthAccess = VisitExpression(node.LengthOrCountAccess);
Operations\CSharpOperationFactory.cs (2)
1576if (boundIndexerAccess.LengthOrCountAccess.Kind == BoundKind.ArrayLength) 1581var lengthSymbol = Binder.GetPropertySymbol(boundIndexerAccess.LengthOrCountAccess, out _, out _).GetPublicSymbol();