1 write to IsValue
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7521
this.
IsValue
= isValue;
13 references to IsValue
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder.ValueChecks.cs (4)
903
if (elementAccess.
IsValue
|| elementAccess.GetItemOrSliceHelper is WellKnownMember.System_Span_T__Slice_Int_Int or WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int)
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
)
5469
if (elementAccess.
IsValue
)
BoundTree\BoundExpressionExtensions.cs (1)
49
if (!elementAccess.
IsValue
)
BoundTree\BoundInlineArrayAccess.cs (1)
16
Debug.Assert(!
IsValue
|| GetItemOrSliceHelper == WellKnownMember.System_ReadOnlySpan_T__get_Item);
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);
16780
new TreeDumperNode("isValue", node.
IsValue
, 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 (1)
209
if (node.
IsValue
&& node.GetItemOrSliceHelper == WellKnownMember.System_ReadOnlySpan_T__get_Item)