1 write to GetItemOrSliceHelper
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7523
this.
GetItemOrSliceHelper
= getItemOrSliceHelper;
29 references to GetItemOrSliceHelper
Microsoft.CodeAnalysis.CSharp (29)
Binder\Binder.ValueChecks.cs (8)
880
if (elementAccess.IsValue || elementAccess.
GetItemOrSliceHelper
is WellKnownMember.System_Span_T__Slice_Int_Int or WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int)
886
var getItemOrSliceHelper = (MethodSymbol)Compilation.GetWellKnownTypeMember(elementAccess.
GetItemOrSliceHelper
);
3531
if (elementAccess.
GetItemOrSliceHelper
is not (WellKnownMember.System_ReadOnlySpan_T__get_Item or WellKnownMember.System_Span_T__get_Item) || elementAccess.IsValue)
3852
if (elementAccess.
GetItemOrSliceHelper
is not (WellKnownMember.System_ReadOnlySpan_T__get_Item or WellKnownMember.System_Span_T__get_Item) || elementAccess.IsValue)
5438
if (elementAccess.
GetItemOrSliceHelper
is WellKnownMember.System_ReadOnlySpan_T__get_Item or WellKnownMember.System_Span_T__get_Item)
5452
resultRefKind = elementAccess.
GetItemOrSliceHelper
is WellKnownMember.System_ReadOnlySpan_T__get_Item ? RefKind.In : RefKind.Ref;
5456
else if (elementAccess.
GetItemOrSliceHelper
is WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int or WellKnownMember.System_Span_T__Slice_Int_Int)
5462
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)
7541
if (expression != this.Expression || argument != this.Argument || isValue != this.IsValue || getItemOrSliceHelper != this.
GetItemOrSliceHelper
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11975
return node.Update(expression, argument, node.IsValue, node.
GetItemOrSliceHelper
, type);
14512
updatedNode = node.Update(expression, argument, node.IsValue, node.
GetItemOrSliceHelper
, infoAndType.Type!);
14517
updatedNode = node.Update(expression, argument, node.IsValue, node.
GetItemOrSliceHelper
, node.Type);
16782
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);