public bool Contains(SourceRange other) { return(SourceIndex == other.SourceIndex && Offset <= other.Offset && OffsetEnd >= other.OffsetEnd); }
public bool Equals(SourceRange other) { return(other.Offset == Offset && other.Length == Length && other.SourceIndex == SourceIndex); }
public override int GetHashCode() { return(SourceRange.GetHashCode()); }