diff options
Diffstat (limited to 'src/mscorlib/src/System/TypeUnloadedException.cs')
-rw-r--r-- | src/mscorlib/src/System/TypeUnloadedException.cs | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/mscorlib/src/System/TypeUnloadedException.cs b/src/mscorlib/src/System/TypeUnloadedException.cs deleted file mode 100644 index f05d673a74..0000000000 --- a/src/mscorlib/src/System/TypeUnloadedException.cs +++ /dev/null @@ -1,42 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/*============================================================================= -** -** -** -** Purpose: Exception class for attempt to access an unloaded class -** -** -=============================================================================*/ - -namespace System { - - using System.Runtime.Serialization; - - [Serializable] - public class TypeUnloadedException : SystemException { - public TypeUnloadedException() - : base(Environment.GetResourceString("Arg_TypeUnloadedException")) { - SetErrorCode(__HResults.COR_E_TYPEUNLOADED); - } - - public TypeUnloadedException(String message) - : base(message) { - SetErrorCode(__HResults.COR_E_TYPEUNLOADED); - } - - public TypeUnloadedException(String message, Exception innerException) - : base(message, innerException) { - SetErrorCode(__HResults.COR_E_TYPEUNLOADED); - } - - // - // This constructor is required for serialization; - // - protected TypeUnloadedException(SerializationInfo info, StreamingContext context) : base (info, context) { - } - } -} - |