--- a/System.Data.SQLite/SQLiteException.cs
+++ b/System.Data.SQLite/SQLiteException.cs
@@ -6,12 +6,12 @@
  ********************************************************/
 
 using System.Data.Common;
-using System.Runtime.Serialization;
+
 
 namespace System.Data.SQLite
 {
-    #if !PLATFORM_COMPACTFRAMEWORK
-
+#if !PLATFORM_COMPACTFRAMEWORK
+using System.Runtime.Serialization;
 #endif
 
     /// <summary>