1 write to GetItemOrSliceHelper
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7522
this.
GetItemOrSliceHelper
= getItemOrSliceHelper;
29 references to GetItemOrSliceHelper
Microsoft.CodeAnalysis.CSharp (29)
Binder\Binder.ValueChecks.cs (8)
903
if (elementAccess.IsValue || elementAccess.
GetItemOrSliceHelper
is WellKnownMember.System_Span_T__Slice_Int_Int or WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int)
909
var getItemOrSliceHelper = (MethodSymbol)Compilation.GetWellKnownTypeMember(elementAccess.
GetItemOrSliceHelper
);
3554
if (elementAccess.
GetItemOrSliceHelper
is not (WellKnownMember.System_ReadOnlySpan_T__get_Item or WellKnownMember.System_Span_T__get_Item) || elementAccess.IsValue)
3875
if (elementAccess.
GetItemOrSliceHelper
is not (WellKnownMember.System_ReadOnlySpan_T__get_Item or WellKnownMember.System_Span_T__get_Item) || elementAccess.IsValue)
5462
if (elementAccess.
GetItemOrSliceHelper
is WellKnownMember.System_ReadOnlySpan_T__get_Item or WellKnownMember.System_Span_T__get_Item)
5476
resultRefKind = elementAccess.
GetItemOrSliceHelper
is WellKnownMember.System_ReadOnlySpan_T__get_Item ? RefKind.In : RefKind.Ref;
5480
else if (elementAccess.
GetItemOrSliceHelper
is WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int or WellKnownMember.System_Span_T__Slice_Int_Int)
5486
parameterRefKind = elementAccess.
GetItemOrSliceHelper
is WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int ? RefKind.In : RefKind.Ref;
Binder\Binder_Operators.cs (1)
2622
if (elementAccess.
GetItemOrSliceHelper
is WellKnownMember.System_Span_T__get_Item or WellKnownMember.System_ReadOnlySpan_T__get_Item)
BoundTree\BoundExpressionExtensions.cs (1)
51
switch (elementAccess.
GetItemOrSliceHelper
)
BoundTree\BoundInlineArrayAccess.cs (4)
16
Debug.Assert(!IsValue ||
GetItemOrSliceHelper
== WellKnownMember.System_ReadOnlySpan_T__get_Item);
35
Debug.Assert(
GetItemOrSliceHelper
is
39
if (
GetItemOrSliceHelper
is WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int)
66
Debug.Assert(
GetItemOrSliceHelper
is
FlowAnalysis\DefiniteAssignment.cs (1)
2798
if (node.
GetItemOrSliceHelper
== WellKnownMember.System_Span_T__Slice_Int_Int)
FlowAnalysis\NullableWalker.cs (1)
4826
if (node.
GetItemOrSliceHelper
is WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int or WellKnownMember.System_Span_T__Slice_Int_Int)
Generated\BoundNodes.xml.Generated.cs (5)
7540
if (expression != this.Expression || argument != this.Argument || isValue != this.IsValue || getItemOrSliceHelper != this.
GetItemOrSliceHelper
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11974
return node.Update(expression, argument, node.IsValue, node.
GetItemOrSliceHelper
, type);
14511
updatedNode = node.Update(expression, argument, node.IsValue, node.
GetItemOrSliceHelper
, infoAndType.Type!);
14516
updatedNode = node.Update(expression, argument, node.IsValue, node.
GetItemOrSliceHelper
, node.Type);
16781
new TreeDumperNode("getItemOrSliceHelper", node.
GetItemOrSliceHelper
, null),
Lowering\LocalRewriter\LocalRewriter.cs (1)
1103
return ((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)
209
if (node.IsValue && node.
GetItemOrSliceHelper
== WellKnownMember.System_ReadOnlySpan_T__get_Item)
215
var getItemOrSliceHelper = (MethodSymbol?)_compilation.GetWellKnownTypeMember(node.
GetItemOrSliceHelper
);
326
if (node.
GetItemOrSliceHelper
is WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int or WellKnownMember.System_ReadOnlySpan_T__get_Item)
352
if (node.
GetItemOrSliceHelper
is WellKnownMember.System_Span_T__get_Item)
358
Debug.Assert(node.
GetItemOrSliceHelper
is WellKnownMember.System_ReadOnlySpan_T__get_Item);
371
if (node.
GetItemOrSliceHelper
is WellKnownMember.System_Span_T__get_Item)
377
Debug.Assert(node.
GetItemOrSliceHelper
is WellKnownMember.System_ReadOnlySpan_T__get_Item);