diff options
Diffstat (limited to 'src/mscorlib/src/System/InvalidTimeZoneException.cs')
-rw-r--r-- | src/mscorlib/src/System/InvalidTimeZoneException.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/InvalidTimeZoneException.cs b/src/mscorlib/src/System/InvalidTimeZoneException.cs new file mode 100644 index 0000000000..2c57bc8341 --- /dev/null +++ b/src/mscorlib/src/System/InvalidTimeZoneException.cs @@ -0,0 +1,26 @@ +// 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. + +namespace System { + using System.Runtime.Serialization; + using System.Runtime.CompilerServices; + + [Serializable] + [System.Security.Permissions.HostProtection(MayLeakOnAbort = true)] +#if !FEATURE_CORECLR + [TypeForwardedFrom("System.Core, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=b77a5c561934e089")] +#endif + public class InvalidTimeZoneException : Exception { + public InvalidTimeZoneException(String message) + : base(message) { } + + public InvalidTimeZoneException(String message, Exception innerException) + : base(message, innerException) { } + + protected InvalidTimeZoneException(SerializationInfo info, StreamingContext context) + : base(info, context) { } + + public InvalidTimeZoneException() { } + } +} |