internal ExpressionParserException(string message, Exception innerException, ILineInfo lineInfo) : base(message, innerException) { if (lineInfo == null) { return; } this.LineNumber = lineInfo.GetLineNumber(); this.ColumnNumber = lineInfo.GetColumnNumber(); this.TokenLength = lineInfo.GetTokenLength(); }
/// <inheritdoc /> public bool Equals(ILineInfo other) { if (other == null) { return(false); } return(this.LineNumber == other.GetLineNumber() && this.ColumnNumber == other.GetColumnNumber() && this.TokenLength == other.GetTokenLength()); }