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