Mono friendly ExceptionDispatchInfo
authorMarek Safar <marek.safar@gmail.com>
Tue, 24 Mar 2015 09:00:39 +0000 (10:00 +0100)
committerMarek Safar <marek.safar@gmail.com>
Mon, 2 May 2016 22:08:05 +0000 (00:08 +0200)
mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs

index 1b5eb89530cd93cbbfb955a87cffae53cf2b0f43..873b850ddd831458fe98b00c0fdf9e66ccdfa912 100644 (file)
@@ -42,6 +42,7 @@ namespace System.Runtime.ExceptionServices {
         {
             // Copy over the details we need to save.
             m_Exception = exception;
+#if !MONO
             m_remoteStackTrace = exception.RemoteStackTrace;
             
             // NOTE: don't be tempted to pass the fields for the out params; the containing object
@@ -54,6 +55,7 @@ namespace System.Runtime.ExceptionServices {
 
             m_IPForWatsonBuckets = exception.IPForWatsonBuckets;
             m_WatsonBuckets = exception.WatsonBuckets;                                                        
+#endif
         }
 
         internal UIntPtr IPForWatsonBuckets