public override bool Equals(Assertion other) => InvocationExpression.GetDocumentRange() == (other as InlineAssertion)?.InvocationExpression.GetDocumentRange();
public override int GetHashCode() => InvocationExpression.GetDocumentRange().GetHashCode();
public DocumentRange CalculateRange() => ReferenceExpression?.GetDocumentRange() ?? InvocationExpression.GetDocumentRange();