diff options
Diffstat (limited to 'src/mscorlib/src/System/TimeZoneNotFoundException.cs')
-rw-r--r-- | src/mscorlib/src/System/TimeZoneNotFoundException.cs | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/src/mscorlib/src/System/TimeZoneNotFoundException.cs b/src/mscorlib/src/System/TimeZoneNotFoundException.cs index cabcc150f6..ee21c2524f 100644 --- a/src/mscorlib/src/System/TimeZoneNotFoundException.cs +++ b/src/mscorlib/src/System/TimeZoneNotFoundException.cs @@ -2,22 +2,27 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System { - using System.Runtime.Serialization; - using System.Runtime.CompilerServices; +using System.Runtime.Serialization; - [Serializable] - [System.Security.Permissions.HostProtection(MayLeakOnAbort = true)] - public class TimeZoneNotFoundException : Exception { - public TimeZoneNotFoundException(String message) - : base(message) { } +namespace System +{ + [Serializable] + public class TimeZoneNotFoundException : Exception + { + public TimeZoneNotFoundException() + { + } - public TimeZoneNotFoundException(String message, Exception innerException) - : base(message, innerException) { } + public TimeZoneNotFoundException(String message) + : base(message) + { + } - protected TimeZoneNotFoundException(SerializationInfo info, StreamingContext context) - : base(info, context) { } + public TimeZoneNotFoundException(String message, Exception innerException) + : base(message, innerException) + { + } - public TimeZoneNotFoundException() { } - } + protected TimeZoneNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { } + } } |