1 write to GetItemOrSliceHelper
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7523this.GetItemOrSliceHelper = getItemOrSliceHelper;
29 references to GetItemOrSliceHelper
Microsoft.CodeAnalysis.CSharp (29)
Binder\Binder.ValueChecks.cs (8)
880if (elementAccess.IsValue || elementAccess.GetItemOrSliceHelper is WellKnownMember.System_Span_T__Slice_Int_Int or WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int) 886var getItemOrSliceHelper = (MethodSymbol)Compilation.GetWellKnownTypeMember(elementAccess.GetItemOrSliceHelper); 3531if (elementAccess.GetItemOrSliceHelper is not (WellKnownMember.System_ReadOnlySpan_T__get_Item or WellKnownMember.System_Span_T__get_Item) || elementAccess.IsValue) 3852if (elementAccess.GetItemOrSliceHelper is not (WellKnownMember.System_ReadOnlySpan_T__get_Item or WellKnownMember.System_Span_T__get_Item) || elementAccess.IsValue) 5438if (elementAccess.GetItemOrSliceHelper is WellKnownMember.System_ReadOnlySpan_T__get_Item or WellKnownMember.System_Span_T__get_Item) 5452resultRefKind = elementAccess.GetItemOrSliceHelper is WellKnownMember.System_ReadOnlySpan_T__get_Item ? RefKind.In : RefKind.Ref; 5456else if (elementAccess.GetItemOrSliceHelper is WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int or WellKnownMember.System_Span_T__Slice_Int_Int) 5462parameterRefKind = elementAccess.GetItemOrSliceHelper is WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int ? RefKind.In : RefKind.Ref;
Binder\Binder_Operators.cs (1)
2622if (elementAccess.GetItemOrSliceHelper is WellKnownMember.System_Span_T__get_Item or WellKnownMember.System_ReadOnlySpan_T__get_Item)
BoundTree\BoundExpressionExtensions.cs (1)
51switch (elementAccess.GetItemOrSliceHelper)
BoundTree\BoundInlineArrayAccess.cs (4)
16Debug.Assert(!IsValue || GetItemOrSliceHelper == WellKnownMember.System_ReadOnlySpan_T__get_Item); 35Debug.Assert(GetItemOrSliceHelper is 39if (GetItemOrSliceHelper is WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int) 66Debug.Assert(GetItemOrSliceHelper is
FlowAnalysis\DefiniteAssignment.cs (1)
2798if (node.GetItemOrSliceHelper == WellKnownMember.System_Span_T__Slice_Int_Int)
FlowAnalysis\NullableWalker.cs (1)
4826if (node.GetItemOrSliceHelper is WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int or WellKnownMember.System_Span_T__Slice_Int_Int)
Generated\BoundNodes.xml.Generated.cs (5)
7541if (expression != this.Expression || argument != this.Argument || isValue != this.IsValue || getItemOrSliceHelper != this.GetItemOrSliceHelper || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11975return node.Update(expression, argument, node.IsValue, node.GetItemOrSliceHelper, type); 14512updatedNode = node.Update(expression, argument, node.IsValue, node.GetItemOrSliceHelper, infoAndType.Type!); 14517updatedNode = node.Update(expression, argument, node.IsValue, node.GetItemOrSliceHelper, node.Type); 16782new TreeDumperNode("getItemOrSliceHelper", node.GetItemOrSliceHelper, null),
Lowering\LocalRewriter\LocalRewriter.cs (1)
1103return ((BoundInlineArrayAccess)expr) is { IsValue: false, GetItemOrSliceHelper: WellKnownMember.System_Span_T__get_Item or WellKnownMember.System_ReadOnlySpan_T__get_Item };
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (7)
209if (node.IsValue && node.GetItemOrSliceHelper == WellKnownMember.System_ReadOnlySpan_T__get_Item) 215var getItemOrSliceHelper = (MethodSymbol?)_compilation.GetWellKnownTypeMember(node.GetItemOrSliceHelper); 326if (node.GetItemOrSliceHelper is WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int or WellKnownMember.System_ReadOnlySpan_T__get_Item) 352if (node.GetItemOrSliceHelper is WellKnownMember.System_Span_T__get_Item) 358Debug.Assert(node.GetItemOrSliceHelper is WellKnownMember.System_ReadOnlySpan_T__get_Item); 371if (node.GetItemOrSliceHelper is WellKnownMember.System_Span_T__get_Item) 377Debug.Assert(node.GetItemOrSliceHelper is WellKnownMember.System_ReadOnlySpan_T__get_Item);