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