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