public void WaitHandle_Handle() { MethodInfo mi = typeof(NonAbstractWaitHandle).GetProperty("Handle").GetSetMethod(); NonAbstractWaitHandle wh = new NonAbstractWaitHandle(); mi.Invoke(wh, new object [1] { IntPtr.Zero }); }
public void WaitHandle_Handle () { MethodInfo mi = typeof (NonAbstractWaitHandle).GetProperty ("Handle").GetSetMethod (); NonAbstractWaitHandle wh = new NonAbstractWaitHandle (); mi.Invoke (wh, new object [1] { IntPtr.Zero }); }