public void RemoveEventHandler(global::System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken token) { }
internal static global::System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken[] Func_rg__WindowsRuntime_EventRegistrationToken__( global::System.__ComObject __this, global::System.RuntimeTypeHandle __typeHnd, int __targetIndex) { // Setup global::System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken* unsafe___value__retval = default(global::System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken*); global::System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken[] __value__retval = default(global::System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken[]); uint unsafe___value__retval_mcgLength = 0; int unsafe___return__; try { // Marshalling unsafe___value__retval = null; // Call to native method unsafe___return__ = global::McgInterop.ComCallHelpers.ComCall__HRESULT( __this, __typeHnd, __targetIndex, &(unsafe___value__retval_mcgLength), &(unsafe___value__retval) ); global::System.Runtime.InteropServices.DebugAnnotations.PreviousCallContainsUserCode(); if (unsafe___value__retval == null) __value__retval = null; else { __value__retval = new global::System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken[unsafe___value__retval_mcgLength]; if (__value__retval != null) for (uint mcgIdx = 0; (mcgIdx < unsafe___value__retval_mcgLength); mcgIdx++) { // [fwd] [out] [retval] [nativebyref] [optional] [Mcg.CodeGen.BlittableValueMarshaller] System_Runtime_InteropServices_WindowsRuntime_EventRegistrationToken__Windows_Foundation__EventRegistrationToken __value__retval __value__retval[mcgIdx] = unsafe___value__retval[mcgIdx]; } } // Return return __value__retval; } finally { // Cleanup global::System.Runtime.InteropServices.ExternalInterop.SafeCoTaskMemFree(unsafe___value__retval); } }