1 write to GetItemOrSliceHelper
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7522this.GetItemOrSliceHelper = getItemOrSliceHelper;
29 references to GetItemOrSliceHelper
Microsoft.CodeAnalysis.CSharp (29)
Binder\Binder.ValueChecks.cs (8)
903if (elementAccess.IsValue || elementAccess.GetItemOrSliceHelper is WellKnownMember.System_Span_T__Slice_Int_Int or WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int) 909var getItemOrSliceHelper = (MethodSymbol)Compilation.GetWellKnownTypeMember(elementAccess.GetItemOrSliceHelper); 3554if (elementAccess.GetItemOrSliceHelper is not (WellKnownMember.System_ReadOnlySpan_T__get_Item or WellKnownMember.System_Span_T__get_Item) || elementAccess.IsValue) 3875if (elementAccess.GetItemOrSliceHelper is not (WellKnownMember.System_ReadOnlySpan_T__get_Item or WellKnownMember.System_Span_T__get_Item) || elementAccess.IsValue) 5462if (elementAccess.GetItemOrSliceHelper is WellKnownMember.System_ReadOnlySpan_T__get_Item or WellKnownMember.System_Span_T__get_Item) 5476resultRefKind = elementAccess.GetItemOrSliceHelper is WellKnownMember.System_ReadOnlySpan_T__get_Item ? RefKind.In : RefKind.Ref; 5480else if (elementAccess.GetItemOrSliceHelper is WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int or WellKnownMember.System_Span_T__Slice_Int_Int) 5486parameterRefKind = 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)
7540if (expression != this.Expression || argument != this.Argument || isValue != this.IsValue || getItemOrSliceHelper != this.GetItemOrSliceHelper || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11974return node.Update(expression, argument, node.IsValue, node.GetItemOrSliceHelper, type); 14511updatedNode = node.Update(expression, argument, node.IsValue, node.GetItemOrSliceHelper, infoAndType.Type!); 14516updatedNode = node.Update(expression, argument, node.IsValue, node.GetItemOrSliceHelper, node.Type); 16781new 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);