From: Koundinya Veluri Date: Fri, 13 Jan 2017 16:45:57 +0000 (-0800) Subject: Fix Mutex.ReleaseMutex exception type for compatibility (dotnet/coreclr#8941) X-Git-Tag: submit/tizen/20210909.063632~11030^2~8450 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f7a2b261b1967d06c41ad802e97044082af0f031;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Fix Mutex.ReleaseMutex exception type for compatibility (dotnet/coreclr#8941) Commit migrated from https://github.com/dotnet/coreclr/commit/0ee13af5321bd7340133e2beae14cf3664d5fb90 --- diff --git a/src/coreclr/src/mscorlib/src/System/Threading/Mutex.cs b/src/coreclr/src/mscorlib/src/System/Threading/Mutex.cs index 5ffeecd..31897ab 100644 --- a/src/coreclr/src/mscorlib/src/System/Threading/Mutex.cs +++ b/src/coreclr/src/mscorlib/src/System/Threading/Mutex.cs @@ -324,7 +324,7 @@ namespace System.Threading } else { - throw new Exception(Environment.GetResourceString("Arg_SynchronizationLockException")); + throw new ApplicationException(Environment.GetResourceString("Arg_SynchronizationLockException")); } }