Ejemplo n.º 1
0
 public void IsInstanceOf_TransparantProxy_IsNotAnInstanceOf()
 {
     if (_nonDisposableTransparentProxy.IsInstanceOf <IDisposable>(out _))
     {
         throw new Exception();
     }
 }
Ejemplo n.º 2
0
 public void IsInstanceOf_NotTransparantProxy_IsAnInstanceOf()
 {
     if (!_disposable.IsInstanceOf <IDisposable>(out _))
     {
         throw new Exception();
     }
 }