diff options
author | Alex Rønne Petersen <alexrp@xamarin.com> | 2016-01-13 06:52:36 +0300 |
---|---|---|
committer | Alex Rønne Petersen <alexrp@xamarin.com> | 2016-01-13 06:52:36 +0300 |
commit | 111565d36746399ec88bccc76437d0fbdc6d2c9e (patch) | |
tree | 701f1a09f95952b3c19f4d16eb57dc2ccabe54c0 /mcs/class/corlib/ReferenceSources | |
parent | 1f914414b4e335a1df53802d018abae2017ff6f7 (diff) |
[TPL] Add support for the <ThrowUnobservedTaskExceptions /> config element.
Improves the situation wrt: https://bugzilla.xamarin.com/show_bug.cgi?id=36560
Diffstat (limited to 'mcs/class/corlib/ReferenceSources')
-rw-r--r-- | mcs/class/corlib/ReferenceSources/CLRConfig.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mcs/class/corlib/ReferenceSources/CLRConfig.cs b/mcs/class/corlib/ReferenceSources/CLRConfig.cs index 6037a8c9230..965cf02c2a6 100644 --- a/mcs/class/corlib/ReferenceSources/CLRConfig.cs +++ b/mcs/class/corlib/ReferenceSources/CLRConfig.cs @@ -33,10 +33,8 @@ namespace System { [System.Security.SecurityCritical] [ResourceExposure(ResourceScope.None)] [SuppressUnmanagedCodeSecurity] - internal static bool CheckThrowUnobservedTaskExceptions() - { - return false; - } + [MethodImplAttribute(MethodImplOptions.InternalCall)] + extern internal static bool CheckThrowUnobservedTaskExceptions(); } // internal class CLRConfig |