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