public override bool Equals(hardware_location other) { if (!(other is const_location)) { return(false); } return(((const_location)other).c.Equals(c)); }
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); }
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); }
public static hloc_constraint Specific(hardware_location hloc) { if (hloc == null) { return new hloc_constraint { constraint = c_.None } } ; return(new hloc_constraint { constraint = c_.Specific, specific = hloc }); }
public override bool Equals(hardware_location other) { if (!(other is multiple_hardware_location)) { return(false); } multiple_hardware_location mhl = other as multiple_hardware_location; if (mhl.hlocs == null) { if (hlocs == null) { return(true); } return(false); } if (hlocs == null) { return(false); } if (hlocs.Length != mhl.hlocs.Length) { return(false); } if (hlocs.Length == 0) { return(true); } if (!hlocs[0].GetType().Equals(mhl.hlocs[0].GetType())) { return(false); } for (int i = 0; i < hlocs.Length; i++) { if (!hlocs[i].Equals(mhl.hlocs[i])) { return(false); } } return(true); }
public override bool Equals(hardware_location other) { if (!(other is hardware_addressoflabel)) { return(false); } hardware_addressoflabel o = other as hardware_addressoflabel; if (!label.Equals(o.label)) { return(false); } if (const_offset != o.const_offset) { return(false); } return(true); }
public override bool Equals(hardware_location other) { if (!(other is hardware_stackloc)) { return(false); } if (loc != ((hardware_stackloc)other).loc) { return(false); } if (container != ((hardware_stackloc)other).container) { return(false); } if (stack_type != ((hardware_stackloc)other).stack_type) { return(false); } return(true); }