36 references to Marshaler
PresentationFramework (36)
MS\Internal\WindowsRuntime\Generated\WinRT\Marshalers.cs (8)
434Marshaler<T>.DisposeMarshaler(marshaler); 465m._marshalers[i] = Marshaler<T>.CreateMarshaler(array[i]); 466Marshaler<T>.CopyAbi(m._marshalers[i], (IntPtr)element); 497array[i] = Marshaler<T>.FromAbi(abi_element); 515array[i] = Marshaler<T>.FromAbi(abi_element); 544Marshaler<T>.CopyManaged(array[i], (IntPtr)bytes); 573Marshaler<T>.CopyManaged(array[i], (IntPtr)bytes); 591Marshaler<T>.DisposeAbi(abi_element);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (11)
424private static readonly Type get_Current_0_Type = Expression.GetDelegateType(new Type[] { typeof(void*), Marshaler<T>.AbiType.MakeByRefType(), typeof(int) }); 444get_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)), 492T[] __items = Marshaler<T>.FromAbiArray((__itemsSize, items)); 497Marshaler<T>.CopyManagedArray(__items, items); 517__return_value__ = (TAbi)Marshaler<T>.FromManaged(____return_value__); 591__items = Marshaler<T>.CreateMarshalerArray(items); 592(__items_length, __items_data) = Marshaler<T>.GetAbiArray(__items); 594items = Marshaler<T>.FromAbiArray((__items_length, __items_data)); 599Marshaler<T>.DisposeMarshalerArray(__items); 611return Marshaler<T>.FromAbi(__params[1]); 615Marshaler<T>.DisposeAbi(__params[1]);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (17)
213private static readonly Type GetAt_0_Type = Expression.GetDelegateType(new Type[] { typeof(void*), typeof(uint), Marshaler<T>.AbiType.MakeByRefType(), typeof(int) }); 214private static readonly Type IndexOf_2_Type = Expression.GetDelegateType(new Type[] { typeof(void*), Marshaler<T>.AbiType, typeof(uint).MakeByRefType(), typeof(byte).MakeByRefType(), typeof(int) }); 234GetAt_0 = global::System.Delegate.CreateDelegate(GetAt_0_Type, typeof(Vftbl).GetMethod("Do_Abi_GetAt_0", BindingFlags.NonPublic | BindingFlags.Static).MakeGenericMethod(Marshaler<T>.AbiType)), 236IndexOf_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); 302T[] __items = Marshaler<T>.FromAbiArray((__itemsSize, items)); 307Marshaler<T>.CopyManagedArray(__items, items); 372return Marshaler<T>.FromAbi(__params[2]); 376Marshaler<T>.DisposeAbi(__params[2]); 386__value = Marshaler<T>.CreateMarshaler(value); 387__params[1] = Marshaler<T>.GetAbi(__value); 394Marshaler<T>.DisposeMarshaler(__value); 406__items = Marshaler<T>.CreateMarshalerArray(items); 407(__items_length, __items_data) = Marshaler<T>.GetAbiArray(__items); 409items = Marshaler<T>.FromAbiArray((__items_length, __items_data)); 414Marshaler<T>.DisposeMarshalerArray(__items);