36 references to Marshaler
PresentationFramework (36)
MS\Internal\WindowsRuntime\Generated\WinRT\Marshalers.cs (8)
434
Marshaler
<T>.DisposeMarshaler(marshaler);
465
m._marshalers[i] =
Marshaler
<T>.CreateMarshaler(array[i]);
466
Marshaler
<T>.CopyAbi(m._marshalers[i], (IntPtr)element);
497
array[i] =
Marshaler
<T>.FromAbi(abi_element);
515
array[i] =
Marshaler
<T>.FromAbi(abi_element);
544
Marshaler
<T>.CopyManaged(array[i], (IntPtr)bytes);
573
Marshaler
<T>.CopyManaged(array[i], (IntPtr)bytes);
591
Marshaler
<T>.DisposeAbi(abi_element);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (11)
423
private static readonly Type get_Current_0_Type = Expression.GetDelegateType(new Type[] { typeof(void*),
Marshaler
<T>.AbiType.MakeByRefType(), typeof(int) });
443
get_Current_0 = global::System.Delegate.CreateDelegate(get_Current_0_Type, typeof(Vftbl).GetMethod("Do_Abi_get_Current_0", BindingFlags.NonPublic | BindingFlags.Static).MakeGenericMethod(
Marshaler
<T>.AbiType)),
491
T[] __items =
Marshaler
<T>.FromAbiArray((__itemsSize, items));
496
Marshaler
<T>.CopyManagedArray(__items, items);
516
__return_value__ = (TAbi)
Marshaler
<T>.FromManaged(____return_value__);
589
__items =
Marshaler
<T>.CreateMarshalerArray(items);
590
(__items_length, __items_data) =
Marshaler
<T>.GetAbiArray(__items);
592
items =
Marshaler
<T>.FromAbiArray((__items_length, __items_data));
597
Marshaler
<T>.DisposeMarshalerArray(__items);
609
return
Marshaler
<T>.FromAbi(__params[1]);
613
Marshaler
<T>.DisposeAbi(__params[1]);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (17)
213
private static readonly Type GetAt_0_Type = Expression.GetDelegateType(new Type[] { typeof(void*), typeof(uint),
Marshaler
<T>.AbiType.MakeByRefType(), typeof(int) });
214
private static readonly Type IndexOf_2_Type = Expression.GetDelegateType(new Type[] { typeof(void*),
Marshaler
<T>.AbiType, typeof(uint).MakeByRefType(), typeof(byte).MakeByRefType(), typeof(int) });
234
GetAt_0 = global::System.Delegate.CreateDelegate(GetAt_0_Type, typeof(Vftbl).GetMethod("Do_Abi_GetAt_0", BindingFlags.NonPublic | BindingFlags.Static).MakeGenericMethod(
Marshaler
<T>.AbiType)),
236
IndexOf_2 = global::System.Delegate.CreateDelegate(IndexOf_2_Type, typeof(Vftbl).GetMethod("Do_Abi_IndexOf_2", BindingFlags.NonPublic | BindingFlags.Static).MakeGenericMethod(
Marshaler
<T>.AbiType)),
265
__return_value__ = (TAbi)
Marshaler
<T>.FromManaged(____return_value__);
285
____return_value__ = FindAdapter(new IntPtr(thisPtr)).IndexOf(
Marshaler
<T>.FromAbi(value), out __index);
302
T[] __items =
Marshaler
<T>.FromAbiArray((__itemsSize, items));
307
Marshaler
<T>.CopyManagedArray(__items, items);
371
return
Marshaler
<T>.FromAbi(__params[2]);
375
Marshaler
<T>.DisposeAbi(__params[2]);
385
__value =
Marshaler
<T>.CreateMarshaler(value);
386
__params[1] =
Marshaler
<T>.GetAbi(__value);
393
Marshaler
<T>.DisposeMarshaler(__value);
405
__items =
Marshaler
<T>.CreateMarshalerArray(items);
406
(__items_length, __items_data) =
Marshaler
<T>.GetAbiArray(__items);
408
items =
Marshaler
<T>.FromAbiArray((__items_length, __items_data));
413
Marshaler
<T>.DisposeMarshalerArray(__items);