summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/InvalidTimeZoneException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/InvalidTimeZoneException.cs')
-rw-r--r--src/mscorlib/src/System/InvalidTimeZoneException.cs12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/mscorlib/src/System/InvalidTimeZoneException.cs b/src/mscorlib/src/System/InvalidTimeZoneException.cs
index 2c57bc8341..f33475497a 100644
--- a/src/mscorlib/src/System/InvalidTimeZoneException.cs
+++ b/src/mscorlib/src/System/InvalidTimeZoneException.cs
@@ -2,16 +2,14 @@
// 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;
+namespace System
+{
[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 class InvalidTimeZoneException : Exception
+ {
public InvalidTimeZoneException(String message)
: base(message) { }