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)
48return _childOffsets[index]; 63return _childOffsets.BinarySearchUpperBound(offset) - 1; 81return new WithLotsOfChildren(errors, this.GetAnnotations(), children, _childOffsets); 86return new WithLotsOfChildren(GetDiagnostics(), annotations, children, _childOffsets);