33 writes to Value
Microsoft.CodeAnalysis (33)
Collections\ArrayElement.cs (1)
42array[i].Value = items[i];
Syntax\GreenNode.cs (2)
927array[i].Value = select(list[i]); 949array[i].Value = select(list[i]);
Syntax\InternalSyntax\SyntaxList.cs (3)
78array[i].Value = node; 127tmp[left.SlotCount].Value = right; 134tmp[0].Value = left;
Syntax\InternalSyntax\SyntaxList.WithThreeChildren.cs (3)
57array[offset].Value = _child0; 58array[offset + 1].Value = _child1; 59array[offset + 2].Value = _child2;
Syntax\InternalSyntax\SyntaxList.WithTwoChildren.cs (2)
50array[offset].Value = _child0; 51array[offset + 1].Value = _child1;
Syntax\InternalSyntax\SyntaxList`1.cs (1)
132array[arrayOffset + i].Value = GetRequiredItem(i + offset);
Syntax\InternalSyntax\SyntaxListBuilder.cs (3)
39_nodes[index].Value = value; 63_nodes[Count++].Value = item; 129_nodes[Count].Value = null;
Syntax\InternalSyntax\SyntaxListPool.cs (2)
32_freeList[_freeIndex].Value = null; 76_freeList[_freeIndex].Value = item;
Syntax\SyntaxList.SeparatedWithManyChildren.cs (1)
27return this.GetRedElement(ref _children[i >> 1].Value, i);
Syntax\SyntaxList.SeparatedWithManyWeakChildren.cs (1)
28result = GetWeakRedElement(ref this._children[i >> 1].Value, i);
Syntax\SyntaxList.WithManyChildren.cs (1)
23return this.GetRedElement(ref _children[index].Value, index);
Syntax\SyntaxList.WithManyWeakChildren.cs (1)
47return GetWeakRedElement(ref _children[index].Value, index);
Syntax\SyntaxList`1.cs (1)
38copy[i].Value = nodes[i].Green;
Syntax\SyntaxListBuilder.cs (5)
42_nodes[Count++].Value = item; 59_nodes[j].Value = items[i].Green; 94_nodes[dst].Value = list.ItemInternal(i)!.Green; 128_nodes[dst].Value = list[i].UnderlyingNode; 184tmp[i].Value = _nodes[i].Value!;
Syntax\SyntaxNodeOrTokenList.cs (2)
94copy[i].Value = nodesAndTokens[i].UnderlyingNode!; 357new ArrayElement<GreenNode> {Value = newGreen}
Syntax\SyntaxNodeOrTokenListBuilder.cs (1)
159tmp[i].Value = _nodes[i]!;
Syntax\SyntaxTokenList.cs (1)
85copy[i].Value = tokens[i].Node!;
Syntax\SyntaxTriviaList.cs (1)
91copy[i].Value = trivias[i].UnderlyingNode!;
Syntax\SyntaxTriviaListBuilder.cs (1)
158tmp[i].Value = _nodes[i].UnderlyingNode!;
19 references to Value
Microsoft.CodeAnalysis (19)
Collections\ArrayElement.cs (2)
17return element.Value; 59array[i] = items[i].Value;
Syntax\InternalSyntax\SyntaxList.WithLotsOfChildren.cs (1)
56offset += children[i].Value.FullWidth;
Syntax\InternalSyntax\SyntaxListBuilder.cs (2)
92Debug.Assert(_nodes[i].Value != null); 152if (_nodes[i].Value!.RawKind == kind)
Syntax\InternalSyntax\SyntaxListPool.cs (1)
31item = _freeList[_freeIndex].Value!;
Syntax\SyntaxList.SeparatedWithManyChildren.cs (1)
38return _children[i >> 1].Value;
Syntax\SyntaxList.SeparatedWithManyWeakChildren.cs (1)
41var weak = this._children[i >> 1].Value;
Syntax\SyntaxList.WithManyWeakChildren.cs (2)
34childPosition += greenChildren[i].Value.FullWidth; 53_children[index].Value?.TryGetTarget(out value);
Syntax\SyntaxListBuilder.cs (9)
72if (_nodes[i].Value == null) 159if (_nodes[i].Value!.RawKind == kind) 175return _nodes[0].Value; 177return InternalSyntax.SyntaxList.List(_nodes[0].Value!, _nodes[1].Value!); 179return InternalSyntax.SyntaxList.List(_nodes[0].Value!, _nodes[1].Value!, _nodes[2].Value!); 184tmp[i].Value = _nodes[i].Value!;