Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.Interop/src/Shared/ComCallableObject.cs')
-rw-r--r--src/System.Private.Interop/src/Shared/ComCallableObject.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/System.Private.Interop/src/Shared/ComCallableObject.cs b/src/System.Private.Interop/src/Shared/ComCallableObject.cs
index 7bce62ca8..372621f9e 100644
--- a/src/System.Private.Interop/src/Shared/ComCallableObject.cs
+++ b/src/System.Private.Interop/src/Shared/ComCallableObject.cs
@@ -1722,6 +1722,10 @@ namespace System.Runtime.InteropServices
#endif
// IDispatch is not supported for UWP apps
new CCWWellKnownType() {guid = Interop.COM.IID_IDispatch, type = InternalTypes.IDispatch, ccwSupport = CCWSupport.NotSupport },
+#if ENABLE_WINRT
+ // ILanguageExceptionStackBackTrace is supported iff managed object is an Exception object
+ new CCWWellKnownType() {guid = Interop.COM.IID_ILanguageExceptionStackBackTrace, type = InternalTypes.ILanguageExceptionStackBackTrace, ccwSupport = CCWSupport.DependsOnCast, castToType = typeof(Exception).TypeHandle},
+#endif
};
private static bool IsWellKnownInterface(ref Guid guid, object targetObject,ref RuntimeTypeHandle interfaceType,out bool isCCWSupported)