36 references to Marshaler
PresentationFramework (36)
MS\Internal\WindowsRuntime\Generated\WinRT\Marshalers.cs (8)
445
Marshaler
<T>.DisposeMarshaler(marshaler);
476
m._marshalers[i] =
Marshaler
<T>.CreateMarshaler(array[i]);
477
Marshaler
<T>.CopyAbi(m._marshalers[i], (IntPtr)element);
508
array[i] =
Marshaler
<T>.FromAbi(abi_element);
526
array[i] =
Marshaler
<T>.FromAbi(abi_element);
555
Marshaler
<T>.CopyManaged(array[i], (IntPtr)bytes);
584
Marshaler
<T>.CopyManaged(array[i], (IntPtr)bytes);
602
Marshaler
<T>.DisposeAbi(abi_element);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (11)
429
private static readonly Type get_Current_0_Type = Expression.GetDelegateType(new Type[] { typeof(void*),
Marshaler
<T>.AbiType.MakeByRefType(), typeof(int) });
449
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)),
497
T[] __items =
Marshaler
<T>.FromAbiArray((__itemsSize, items));
502
Marshaler
<T>.CopyManagedArray(__items, items);
522
__return_value__ = (TAbi)
Marshaler
<T>.FromManaged(____return_value__);
595
__items =
Marshaler
<T>.CreateMarshalerArray(items);
596
(__items_length, __items_data) =
Marshaler
<T>.GetAbiArray(__items);
598
items =
Marshaler
<T>.FromAbiArray((__items_length, __items_data));
603
Marshaler
<T>.DisposeMarshalerArray(__items);
615
return
Marshaler
<T>.FromAbi(__params[1]);
619
Marshaler
<T>.DisposeAbi(__params[1]);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (17)
219
private static readonly Type GetAt_0_Type = Expression.GetDelegateType(new Type[] { typeof(void*), typeof(uint),
Marshaler
<T>.AbiType.MakeByRefType(), typeof(int) });
220
private static readonly Type IndexOf_2_Type = Expression.GetDelegateType(new Type[] { typeof(void*),
Marshaler
<T>.AbiType, typeof(uint).MakeByRefType(), typeof(byte).MakeByRefType(), typeof(int) });
240
GetAt_0 = global::System.Delegate.CreateDelegate(GetAt_0_Type, typeof(Vftbl).GetMethod("Do_Abi_GetAt_0", BindingFlags.NonPublic | BindingFlags.Static).MakeGenericMethod(
Marshaler
<T>.AbiType)),
242
IndexOf_2 = global::System.Delegate.CreateDelegate(IndexOf_2_Type, typeof(Vftbl).GetMethod("Do_Abi_IndexOf_2", BindingFlags.NonPublic | BindingFlags.Static).MakeGenericMethod(
Marshaler
<T>.AbiType)),
271
__return_value__ = (TAbi)
Marshaler
<T>.FromManaged(____return_value__);
291
____return_value__ = FindAdapter(new IntPtr(thisPtr)).IndexOf(
Marshaler
<T>.FromAbi(value), out __index);
308
T[] __items =
Marshaler
<T>.FromAbiArray((__itemsSize, items));
313
Marshaler
<T>.CopyManagedArray(__items, items);
377
return
Marshaler
<T>.FromAbi(__params[2]);
381
Marshaler
<T>.DisposeAbi(__params[2]);
391
__value =
Marshaler
<T>.CreateMarshaler(value);
392
__params[1] =
Marshaler
<T>.GetAbi(__value);
399
Marshaler
<T>.DisposeMarshaler(__value);
411
__items =
Marshaler
<T>.CreateMarshalerArray(items);
412
(__items_length, __items_data) =
Marshaler
<T>.GetAbiArray(__items);
414
items =
Marshaler
<T>.FromAbiArray((__items_length, __items_data));
419
Marshaler
<T>.DisposeMarshalerArray(__items);