19 references to GetRef
PresentationFramework (19)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (7)
82ppv = objRef.GetRef(); 300ppv = objRef.GetRef(); 407ppv = objRef.GetRef(); 425public static IntPtr FromManaged(global::MS.Internal.WindowsRuntime.Windows.Data.Text.AlternateWordForm obj) => obj is null ? IntPtr.Zero : CreateMarshaler(obj).GetRef(); 1549public static IntPtr FromManaged(global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordSegment obj) => obj is null ? IntPtr.Zero : CreateMarshaler(obj).GetRef(); 1625public static IntPtr FromManaged(global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordSegmentsTokenizingHandler managedDelegate) => CreateMarshaler(managedDelegate)?.GetRef() ?? IntPtr.Zero; 1658public static IntPtr FromManaged(global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter obj) => obj is null ? IntPtr.Zero : CreateMarshaler(obj).GetRef();
MS\Internal\WindowsRuntime\Generated\Windows.Globalization.cs (2)
187ppv = objRef.GetRef(); 838public static IntPtr FromManaged(global::MS.Internal.WindowsRuntime.Windows.Globalization.Language obj) => obj is null ? IntPtr.Zero : CreateMarshaler(obj).GetRef();
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.cs (1)
95unknownRef.GetRef(),
MS\Internal\WindowsRuntime\Generated\WinRT\Marshalers.cs (5)
847return CreateMarshaler(value).GetRef(); 853(value is null) ? IntPtr.Zero : CreateMarshaler(value).GetRef(); 953return objRef?.GetRef() ?? IntPtr.Zero; 959*(IntPtr*)dest.ToPointer() = objRef?.GetRef() ?? IntPtr.Zero; 1072FromManaged = (T value) => ((IObjectReference)CreateMarshaler(value)).GetRef();
MS\Internal\WindowsRuntime\Generated\WinRT\ObjectReference.cs (1)
255objRef = new ObjectReferenceWithContext<U>(thatPtr, contextCallbackReference.GetRef());
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (2)
47(value is null) ? IntPtr.Zero : CreateMarshaler(value).GetRef(); 207(value is null) ? IntPtr.Zero : CreateMarshaler(value).GetRef();
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (1)
42(value is null) ? IntPtr.Zero : CreateMarshaler(value).GetRef();