示例#1
0
 public override bool Equals(hardware_location other)
 {
     if (!(other is hardware_addressof))
     {
         return(false);
     }
     if (!base_loc.Equals(((hardware_addressof)other).base_loc))
     {
         return(false);
     }
     return(true);
 }
示例#2
0
 public override bool Equals(hardware_location other)
 {
     if (!(other is hardware_contentsof))
     {
         return(false);
     }
     if (const_offset != ((hardware_contentsof)other).const_offset)
     {
         return(false);
     }
     if (!base_loc.Equals(((hardware_contentsof)other).base_loc))
     {
         return(false);
     }
     return(true);
 }