Esempio n. 1
0
 protected HandleRef SelfPtr()
 {
     if (selfHandleRef.Equals(nullSelf))
     {
         throw new InvalidOperationException(
                   "Attempted to use object after it was cleaned up");
     }
     return(selfHandleRef);
 }