public bool Equals(ActiveStatementSpan other) => Ordinal.Equals(other.Ordinal) && LineSpan.Equals(other.LineSpan) && Flags == other.Flags && UnmappedDocumentId == other.UnmappedDocumentId;
/// <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)); }
public bool Equals(NonRemappableRegion other) => Span.Equals(other.Span) && LineDelta == other.LineDelta && IsExceptionRegion == other.IsExceptionRegion;