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)
423private static readonly Type get_Current_0_Type = Expression.GetDelegateType(new Type[] { typeof(void*), Marshaler<T>.AbiType.MakeByRefType(), typeof(int) }); 443get_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)), 491T[] __items = Marshaler<T>.FromAbiArray((__itemsSize, items)); 496Marshaler<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); 592items = Marshaler<T>.FromAbiArray((__items_length, __items_data)); 597Marshaler<T>.DisposeMarshalerArray(__items); 609return Marshaler<T>.FromAbi(__params[1]); 613Marshaler<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); 371return Marshaler<T>.FromAbi(__params[2]); 375Marshaler<T>.DisposeAbi(__params[2]); 385__value = Marshaler<T>.CreateMarshaler(value); 386__params[1] = Marshaler<T>.GetAbi(__value); 393Marshaler<T>.DisposeMarshaler(__value); 405__items = Marshaler<T>.CreateMarshalerArray(items); 406(__items_length, __items_data) = Marshaler<T>.GetAbiArray(__items); 408items = Marshaler<T>.FromAbiArray((__items_length, __items_data)); 413Marshaler<T>.DisposeMarshalerArray(__items);