public CompilationError(ErrorSeverity severity, string message, ErrorRange location) { this.Severity = severity; this.Message = Preconditions.CheckNotNull(message); this.Location = Preconditions.CheckNotNull(location); }
protected bool Equals(ErrorRange other) { return(this.Start.Equals(other.Start) && this.End.Equals(other.End)); }