3 writes to children
Microsoft.CodeAnalysis (3)
Syntax\InternalSyntax\SyntaxList.WithManyChildren.cs (3)
19this.children = children; 26this.children = children; 53this.children = new ArrayElement<GreenNode>[length];
17 references to children
Microsoft.CodeAnalysis (17)
Syntax\InternalSyntax\SyntaxList.WithLotsOfChildren.cs (3)
37_childOffsets = CalculateOffsets(this.children); 81return new WithLotsOfChildren(errors, this.GetAnnotations(), children, _childOffsets); 86return new WithLotsOfChildren(GetDiagnostics(), annotations, children, _childOffsets);
Syntax\InternalSyntax\SyntaxList.WithManyChildren.cs (13)
32int n = children.Length; 42for (int i = 0; i < children.Length; i++) 44this.AdjustFlagsAndWidth(children[i]); 56this.children[i].Value = (GreenNode)reader.ReadValue(); 68writer.WriteInt32(this.children.Length); 70for (var i = 0; i < this.children.Length; i++) 72writer.WriteValue(this.children[i].Value); 78return children.Length; 83return this.children[index]; 88Array.Copy(this.children, 0, array, offset, this.children.Length); 147return new WithManyChildren(errors, this.GetAnnotations(), children); 152return new WithManyChildren(GetDiagnostics(), annotations, children);
Syntax\SyntaxList.WithManyWeakChildren.cs (1)
30var greenChildren = green.children;