Example #1
0
        public static NativeSubPeer make(NativeSub t)
        {
            NativeSubPeer peer = new NativeSubPeer();

            ((Native)t).m_peer = peer; // override base class's peer field
            return(peer);
        }
Example #2
0
 public void subCheckPeers(NativeSub self)
 {
     if (this != self.m_peer)
     throw new System.Exception("this != self.peer");
       if (this != ((Native)self).m_peer)
     throw new System.Exception("this != ((Native)self).peer");
 }
Example #3
0
 public void subCheckPeers(NativeSub self)
 {
     if (this != self.m_peer)
     {
         throw new System.Exception("this != self.peer");
     }
     if (this != ((Native)self).m_peer)
     {
         throw new System.Exception("this != ((Native)self).peer");
     }
 }
Example #4
0
 public long subGetPeerZ(NativeSub self)
 {
     return(getPeerZ(self));
 }
Example #5
0
 public long subfX(NativeSub self)
 {
     return(fX(self));
 }
Example #6
0
 public string subNative(NativeSub self)
 {
     return("subNative working");
 }
Example #7
0
 public string subNative(NativeSub self)
 {
     return "subNative working";
 }
Example #8
0
 public long subGetPeerZ(NativeSub self)
 {
     return getPeerZ(self);
 }
Example #9
0
 public long subfX(NativeSub self)
 {
     return fX(self);
 }
Example #10
0
 public static NativeSubPeer make(NativeSub t)
 {
     NativeSubPeer peer = new NativeSubPeer();
       ((Native)t).m_peer = peer; // override base class's peer field
       return peer;
 }