protected override void DoLogError(Error error)
 {
     if (!this.mutableErrors.Any(x => x.Location.Equals(error.Location)))
     {
         this.mutableErrors.Add(error);
         this.sorted = false;
     }
 }