public UserDelegate(UserDelegate oldCopy) : base(oldCopy) { ProgContext = oldCopy.ProgContext; EntryPoint = oldCopy.EntryPoint; Closure = oldCopy.Closure; if (Cpu != null) { Cpu.AddPopContextNotifyee(this); } }
public override bool Equals(object obj) { UserDelegate other = obj as UserDelegate; if (other == null) { return(false); } return(object.Equals(this.ProgContext, other.ProgContext) && this.EntryPoint == other.EntryPoint && object.Equals(this.Closure, other.Closure)); }
public UserDelegate(UserDelegate oldCopy) : base(oldCopy) { ProgContext = oldCopy.ProgContext; EntryPoint = oldCopy.EntryPoint; Closure = oldCopy.Closure; }