3 writes to _childOffsets
Microsoft.CodeAnalysis (3)
Syntax\InternalSyntax\SyntaxList.WithLotsOfChildren.cs (3)
25
_childOffsets
= CalculateOffsets(children);
31
_childOffsets
= childOffsets;
37
_childOffsets
= CalculateOffsets(this.children);
4 references to _childOffsets
Microsoft.CodeAnalysis (4)
Syntax\InternalSyntax\SyntaxList.WithLotsOfChildren.cs (4)
48
return
_childOffsets
[index];
63
return
_childOffsets
.BinarySearchUpperBound(offset) - 1;
81
return new WithLotsOfChildren(errors, this.GetAnnotations(), children,
_childOffsets
);
86
return new WithLotsOfChildren(GetDiagnostics(), annotations, children,
_childOffsets
);