35 writes to Value
Microsoft.CodeAnalysis (30)
Collections\ArrayElement.cs (1)
42array[i].Value = items[i];
Syntax\GreenNode.cs (2)
939array[i].Value = select(list[i]); 961array[i].Value = select(list[i]);
Syntax\InternalSyntax\SyntaxList.cs (3)
83array[i].Value = node; 132tmp[left.SlotCount].Value = right; 139tmp[0].Value = left;
Syntax\InternalSyntax\SyntaxList.WithManyChildren.cs (1)
56this.children[i].Value = (GreenNode)reader.ReadValue();
Syntax\InternalSyntax\SyntaxList.WithThreeChildren.cs (3)
83array[offset].Value = _child0; 84array[offset + 1].Value = _child1; 85array[offset + 2].Value = _child2;
Syntax\InternalSyntax\SyntaxList.WithTwoChildren.cs (2)
74array[offset].Value = _child0; 75array[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\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 (1)
324new ArrayElement<GreenNode> {Value = newGreen}
Syntax\SyntaxNodeOrTokenListBuilder.cs (1)
153tmp[i].Value = _nodes[i]!;
Syntax\SyntaxTriviaListBuilder.cs (1)
152tmp[i].Value = _nodes[i].UnderlyingNode!;
Microsoft.CodeAnalysis.CSharp (5)
Parser\SyntaxParser.cs (1)
371_lexedTokens[_tokenCount].Value = token;
Syntax\InternalSyntax\SyntaxToken.cs (4)
157s_tokensWithNoTrivia[(int)kind].Value = new SyntaxToken(kind); 158s_tokensWithElasticTrivia[(int)kind].Value = new SyntaxTokenWithTrivia(kind, SyntaxFactory.ElasticZeroSpace, SyntaxFactory.ElasticZeroSpace); 159s_tokensWithSingleTrailingSpace[(int)kind].Value = new SyntaxTokenWithTrivia(kind, null, SyntaxFactory.Space); 160s_tokensWithSingleTrailingCRLF[(int)kind].Value = new SyntaxTokenWithTrivia(kind, null, SyntaxFactory.CarriageReturnLineFeed);
33 references to Value
Microsoft.CodeAnalysis (20)
Collections\ArrayElement.cs (2)
17return element.Value; 59array[i] = items[i].Value;
Syntax\InternalSyntax\SyntaxList.WithLotsOfChildren.cs (1)
74offset += children[i].Value.FullWidth;
Syntax\InternalSyntax\SyntaxList.WithManyChildren.cs (1)
72writer.WriteValue(this.children[i].Value);
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!;
Microsoft.CodeAnalysis.CSharp (13)
Syntax\InternalSyntax\SyntaxToken.cs (13)
98return s_tokensWithNoTrivia[(int)kind].Value; 117return s_tokensWithNoTrivia[(int)kind].Value; 121return s_tokensWithSingleTrailingSpace[(int)kind].Value; 125return s_tokensWithSingleTrailingCRLF[(int)kind].Value; 131return s_tokensWithElasticTrivia[(int)kind].Value; 168if (element.Value != null) 170yield return element.Value; 176if (element.Value != null) 178yield return element.Value; 184if (element.Value != null) 186yield return element.Value; 192if (element.Value != null) 194yield return element.Value;