TimeZoneInfo is now always present in corlib.
[mono.git] / mcs / class / corlib / System / TimeZoneNotFoundException.cs
index 79b094ddde0ad00192c63c5c9253dbfedb54cdec..643b82104b385eddeefe74e3532e6a9ff55b521c 100644 (file)
@@ -24,7 +24,6 @@
  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#if NET_4_0
 
 using System.Runtime.CompilerServices;
 
@@ -36,7 +35,10 @@ namespace System
 #elif NET_4_0
        [TypeForwardedFrom (Consts.AssemblySystemCore_3_5)]
 #endif
-       public class TimeZoneNotFoundException : Exception
+#if NET_4_0
+       public
+#endif
+       class TimeZoneNotFoundException : Exception
        {
                public TimeZoneNotFoundException () : base ()
                {}
@@ -51,5 +53,3 @@ namespace System
                {}
        }
 }
-
-#endif