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