diff options
Diffstat (limited to 'src/mscorlib/src/System/EntryPointNotFoundException.cs')
-rw-r--r-- | src/mscorlib/src/System/EntryPointNotFoundException.cs | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/mscorlib/src/System/EntryPointNotFoundException.cs b/src/mscorlib/src/System/EntryPointNotFoundException.cs index a65d80058e..835d33413d 100644 --- a/src/mscorlib/src/System/EntryPointNotFoundException.cs +++ b/src/mscorlib/src/System/EntryPointNotFoundException.cs @@ -11,32 +11,32 @@ ** =============================================================================*/ -namespace System { - - using System; - using System.Runtime.Serialization; - [System.Runtime.InteropServices.ComVisible(true)] +using System; +using System.Runtime.Serialization; + +namespace System +{ [Serializable] - public class EntryPointNotFoundException : TypeLoadException { - public EntryPointNotFoundException() - : base(Environment.GetResourceString("Arg_EntryPointNotFoundException")) { - SetErrorCode(__HResults.COR_E_ENTRYPOINTNOTFOUND); - } - - public EntryPointNotFoundException(String message) - : base(message) { - SetErrorCode(__HResults.COR_E_ENTRYPOINTNOTFOUND); + public class EntryPointNotFoundException : TypeLoadException + { + public EntryPointNotFoundException() + : base(SR.Arg_EntryPointNotFoundException) + { + HResult = __HResults.COR_E_ENTRYPOINTNOTFOUND; } - - public EntryPointNotFoundException(String message, Exception inner) - : base(message, inner) { - SetErrorCode(__HResults.COR_E_ENTRYPOINTNOTFOUND); + + public EntryPointNotFoundException(String message) + : base(message) + { + HResult = __HResults.COR_E_ENTRYPOINTNOTFOUND; } - protected EntryPointNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { + public EntryPointNotFoundException(String message, Exception inner) + : base(message, inner) + { + HResult = __HResults.COR_E_ENTRYPOINTNOTFOUND; } - - - } + protected EntryPointNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { } + } } |