19 references to WindowsRuntimeMarshal
mscorlib (13)
system\runtime\compilerservices\AsyncMethodBuilder.cs (1)
1031if (!WindowsRuntimeMarshal.ReportUnhandledError(edi.SourceException))
system\runtime\interopservices\windowsruntime\enumeratortoiteratoradapter.cs (2)
101throw WindowsRuntimeMarshal.GetExceptionForHR(__HResults.E_BOUNDS, null); 140throw WindowsRuntimeMarshal.GetExceptionForHR(__HResults.E_CHANGED_STATE, e);
system\runtime\interopservices\windowsruntime\listtobindablevectoradapter.cs (2)
50throw WindowsRuntimeMarshal.GetExceptionForHR(__HResults.E_BOUNDS, ex, "ArgumentOutOfRange_IndexOutOfRange"); 100throw WindowsRuntimeMarshal.GetExceptionForHR(__HResults.E_BOUNDS, ex, "ArgumentOutOfRange_IndexOutOfRange");
system\runtime\interopservices\windowsruntime\listtobindablevectorviewadapter.cs (1)
71throw WindowsRuntimeMarshal.GetExceptionForHR(__HResults.E_BOUNDS, ex, "ArgumentOutOfRange_IndexOutOfRange");
system\runtime\interopservices\windowsruntime\listtovectoradapter.cs (2)
50throw WindowsRuntimeMarshal.GetExceptionForHR(__HResults.E_BOUNDS, ex, "ArgumentOutOfRange_IndexOutOfRange"); 109throw WindowsRuntimeMarshal.GetExceptionForHR(__HResults.E_BOUNDS, ex, "ArgumentOutOfRange_IndexOutOfRange");
system\runtime\interopservices\windowsruntime\winrtclassactivator.cs (2)
20ManagedActivationFactory activationFactory = WindowsRuntimeMarshal.GetManagedActivationFactory(LoadWinRTType(activatableClassId)); 30activationFactory = WindowsRuntimeMarshal.GetActivationFactoryForType(LoadWinRTType(activatableClassId));
system\stubhelpers.cs (2)
594return WindowsRuntimeMarshal.HStringToString(hstring); 1458string typeName = WindowsRuntimeMarshal.HStringToString(pNativeType->typeName);
system\threading\Tasks\TaskContinuation.cs (1)
854if (!WindowsRuntimeMarshal.ReportUnhandledError(exc))
System (6)
compmod\system\collections\specialized\marshalinghelpers.cs (6)
177WindowsRuntimeMarshal.AddEventHandler<NotifyCollectionChangedEventHandler>(addMethod, removeMethod, value); 190WindowsRuntimeMarshal.RemoveEventHandler<NotifyCollectionChangedEventHandler>(removeMethod, value); 263WindowsRuntimeMarshal.AddEventHandler<PropertyChangedEventHandler>(addMethod, removeMethod, value); 276WindowsRuntimeMarshal.RemoveEventHandler<PropertyChangedEventHandler>(removeMethod, value); 356WindowsRuntimeMarshal.AddEventHandler<EventHandler<object>>(addMethod, removeMethod, handler_WinRT); 373WindowsRuntimeMarshal.RemoveEventHandler<EventHandler<object>>(removeMethod, handler_WinRT);