コード例 #1
0
 public UserDelegate(UserDelegate oldCopy) : base(oldCopy)
 {
     ProgContext = oldCopy.ProgContext;
     EntryPoint  = oldCopy.EntryPoint;
     Closure     = oldCopy.Closure;
     if (Cpu != null)
     {
         Cpu.AddPopContextNotifyee(this);
     }
 }
コード例 #2
0
        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));
        }
コード例 #3
0
 public UserDelegate(UserDelegate oldCopy) : base(oldCopy)
 {
     ProgContext = oldCopy.ProgContext;
     EntryPoint  = oldCopy.EntryPoint;
     Closure     = oldCopy.Closure;
 }