1 write to IsValue
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7522
this.
IsValue
= isValue;
13 references to IsValue
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder.ValueChecks.cs (4)
880
if (elementAccess.
IsValue
|| elementAccess.GetItemOrSliceHelper is WellKnownMember.System_Span_T__Slice_Int_Int or WellKnownMember.System_ReadOnlySpan_T__Slice_Int_Int)
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
)
5445
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)
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);
16781
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)