39 writes to Value
Microsoft.CodeAnalysis (33)
Collections\ArrayElement.cs (1)
42array[i].Value = items[i];
Syntax\GreenNode.cs (2)
928array[i].Value = select(list[i]); 950array[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)
41_nodes[index].Value = value; 65_nodes[Count++].Value = item; 131_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)
39copy[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)
95copy[i].Value = nodesAndTokens[i].UnderlyingNode!; 358new ArrayElement<GreenNode> {Value = newGreen}
Syntax\SyntaxNodeOrTokenListBuilder.cs (1)
159tmp[i].Value = _nodes[i]!;
Syntax\SyntaxTokenList.cs (1)
86copy[i].Value = tokens[i].Node!;
Syntax\SyntaxTriviaList.cs (1)
92copy[i].Value = trivias[i].UnderlyingNode!;
Syntax\SyntaxTriviaListBuilder.cs (1)
158tmp[i].Value = _nodes[i].UnderlyingNode!;
Microsoft.CodeAnalysis.CSharp (6)
Parser\SyntaxParser.cs (1)
393_lexedTokens[_tokenCount].Value = token;
Syntax\InternalSyntax\SyntaxToken.cs (5)
156s_tokensWithNoTrivia[(int)kind].Value = new SyntaxToken(kind); 157s_tokensWithElasticTrivia[(int)kind].Value = new SyntaxTokenWithTrivia(kind, SyntaxFactory.ElasticZeroSpace, SyntaxFactory.ElasticZeroSpace); 158s_tokensWithSingleTrailingSpace[(int)kind].Value = new SyntaxTokenWithTrivia(kind, null, SyntaxFactory.Space); 159s_tokensWithSingleTrailingCRLF[(int)kind].Value = new SyntaxTokenWithTrivia(kind, null, SyntaxFactory.CarriageReturnLineFeed); 160s_missingTokensWithNoTrivia[(int)kind].Value = new MissingTokenWithTrivia(kind, leading: null, trailing: null);
33 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)
94Debug.Assert(_nodes[i].Value != null); 154if (_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 (14)
Syntax\InternalSyntax\SyntaxToken.cs (14)
82return s_tokensWithNoTrivia[(int)kind].Value; 101return s_tokensWithNoTrivia[(int)kind].Value; 105return s_tokensWithSingleTrailingSpace[(int)kind].Value; 109return s_tokensWithSingleTrailingCRLF[(int)kind].Value; 115return s_tokensWithElasticTrivia[(int)kind].Value; 125return s_missingTokensWithNoTrivia[(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;