Exemplo n.º 1
0
 public bool Contains(SourceRange other)
 {
     return(SourceIndex == other.SourceIndex && Offset <= other.Offset && OffsetEnd >= other.OffsetEnd);
 }
Exemplo n.º 2
0
 public bool Equals(SourceRange other)
 {
     return(other.Offset == Offset && other.Length == Length && other.SourceIndex == SourceIndex);
 }
Exemplo n.º 3
0
 public override int GetHashCode()
 {
     return(SourceRange.GetHashCode());
 }