public bool Equals(TestDiagnostic other)
 {
     if (other == null || this.GetType() != other.GetType()) return false;
     return
         _descriptor.Id == other._descriptor.Id &&
         _kind == other._kind &&
         _location == other._location &&
         _message == other._message &&
         SameData(_arguments, other._arguments);
 }
 public bool Equals(TestDiagnostic other)
 {
     if (other == null || this.GetType() != other.GetType())
     {
         return(false);
     }
     return
         (this.id == other.id &&
          this.kind == other.kind &&
          this.location == other.location &&
          this.message == other.message &&
          SameData(this.arguments, other.arguments));
 }
Example #3
0
 public bool Equals(TestDiagnostic other)
 {
     if (other == null || this.GetType() != other.GetType())
     {
         return(false);
     }
     return
         (_descriptor.Id == other._descriptor.Id &&
          _kind == other._kind &&
          _location == other._location &&
          _message == other._message &&
          SameData(_arguments, other._arguments));
 }