public bool Equals (DocumentLine line, int offset, int length, out bool isInvalid) { isInvalid = MarkerLength != line.MarkerCount || !line.StartSpan.Equals (Spans); return offset == Offset && Length == length && !isInvalid; } }