public override string ToString() { if (Span != null) { TextSpan span = Span.Value; return(OriginalExpression .ToString() .Substring(span.Start - OriginalExpression.SpanStart, span.Length)); } else { return(OriginalExpression.ToString()); } }
public override int GetHashCode() { return(OriginalExpression.GetHashCode() ^ ProcessedExpression.GetHashCode() ^ FriendlyExpression.GetHashCode() ^ ContainsId.GetHashCode()); }