Fix Mutex.ReleaseMutex exception type for compatibility (dotnet/coreclr#8941)
authorKoundinya Veluri <kouvel@microsoft.com>
Fri, 13 Jan 2017 16:45:57 +0000 (08:45 -0800)
committerJan Kotas <jkotas@microsoft.com>
Fri, 13 Jan 2017 16:45:57 +0000 (08:45 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/0ee13af5321bd7340133e2beae14cf3664d5fb90

src/coreclr/src/mscorlib/src/System/Threading/Mutex.cs

index 5ffeecd..31897ab 100644 (file)
@@ -324,7 +324,7 @@ namespace System.Threading
             }
             else
             {
-                throw new Exception(Environment.GetResourceString("Arg_SynchronizationLockException"));
+                throw new ApplicationException(Environment.GetResourceString("Arg_SynchronizationLockException"));
             }
         }