Пример #1
0
 public void IsInstanceOf_TransparantProxy_IsNotAnInstanceOf()
 {
     if (_nonDisposableTransparentProxy.IsInstanceOf <IDisposable>(out _))
     {
         throw new Exception();
     }
 }
Пример #2
0
 public void IsInstanceOf_NotTransparantProxy_IsAnInstanceOf()
 {
     if (!_disposable.IsInstanceOf <IDisposable>(out _))
     {
         throw new Exception();
     }
 }