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