[corlib] Remove duplicate FirstChanceExceptionEventArgs
authorMarek Safar <marek.safar@gmail.com>
Mon, 8 Dec 2014 13:48:28 +0000 (14:48 +0100)
committerMarek Safar <marek.safar@gmail.com>
Mon, 8 Dec 2014 15:46:53 +0000 (16:46 +0100)
mcs/class/corlib/System/AppDomain.cs
mcs/class/corlib/System/FirstChanceExceptionEventArgs.cs [deleted file]
mcs/class/corlib/basic_corlib.dll.sources
mcs/class/corlib/corlib.dll.sources

index f04fe2a006db7e6f1b64f313cbf75eeed6b67876..2293f444e4d4b0c4e6af8ea4a957e7c8f6df917c 100644 (file)
@@ -41,6 +41,7 @@ using System.Reflection.Emit;
 #endif
 using System.Threading;
 using System.Runtime.CompilerServices;
+using System.Runtime.ExceptionServices;
 using System.Runtime.InteropServices;
 using System.Runtime.Remoting;
 using System.Runtime.Remoting.Contexts;
diff --git a/mcs/class/corlib/System/FirstChanceExceptionEventArgs.cs b/mcs/class/corlib/System/FirstChanceExceptionEventArgs.cs
deleted file mode 100644 (file)
index d39fbdc..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// System.FirstChangeExceptionEventArgs.cs
-//
-// Copyright 2014 Xamarin Inc (http://www.xamarin.com).
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-#if NET_4_5
-using System;
-
-public class FirstChanceExceptionEventArgs : EventArgs
-{
-       Exception exception;
-
-       public FirstChanceExceptionEventArgs (Exception exception) {
-               this.exception = exception;
-       }
-
-       public Exception Exception {
-               get {
-                       return exception;
-               }
-       }
-}
-
-#endif
\ No newline at end of file
index 5268a3a9766a55efbdb9a4bf1ea874691d021764..261dc7f2b73a56c069f642e6a73f8fa8209bfd37 100644 (file)
@@ -160,7 +160,6 @@ System/EventHandler.cs
 System/Exception.cs
 System/ExecutionEngineException.cs
 System/FieldAccessException.cs
-System/FirstChanceExceptionEventArgs.cs
 System/FlagsAttribute.cs
 System/FormatException.cs
 System/Funcs.cs
index 80f732e70706f654d3b1f9ff9e9d9d1a735f4277..1fee50aca8d6645501bf30bedbde0e418513098f 100644 (file)
@@ -160,7 +160,6 @@ System/EventHandler.cs
 System/Exception.cs
 System/ExecutionEngineException.cs
 System/FieldAccessException.cs
-System/FirstChanceExceptionEventArgs.cs
 System/FlagsAttribute.cs
 System/FormatException.cs
 System/Funcs.cs