Example #1
0
 public bool Equals(ActiveStatementSpan other)
 => Ordinal.Equals(other.Ordinal) &&
 LineSpan.Equals(other.LineSpan) &&
 Flags == other.Flags &&
 UnmappedDocumentId == other.UnmappedDocumentId;
Example #2
0
 /// <summary>
 /// Determines if two FileLinePositionSpan objects are equal.
 /// </summary>
 /// <remarks>
 /// The path is treated as an opaque string, i.e. a case-sensitive comparison is used.
 /// </remarks>
 public bool Equals(FileLinePositionSpan other)
 {
     return(_span.Equals(other._span) &&
            _hasMappedPath == other._hasMappedPath &&
            string.Equals(_path, other._path, StringComparison.Ordinal));
 }
Example #3
0
 public bool Equals(NonRemappableRegion other) =>
 Span.Equals(other.Span) &&
 LineDelta == other.LineDelta &&
 IsExceptionRegion == other.IsExceptionRegion;