Restore removed using statements from minimal classes.
authorJarl Gullberg <jarl.gullberg@gmail.com>
Thu, 20 Jul 2017 19:41:38 +0000 (21:41 +0200)
committerJarl Gullberg <jarl.gullberg@gmail.com>
Thu, 20 Jul 2017 19:41:38 +0000 (21:41 +0200)
src/OpenTK/Math/Point.cs
src/OpenTK/Math/Rectangle.cs
src/OpenTK/Math/Size.cs
src/OpenTK/Minimal.cs

index 0ce27db..c5f61ec 100644 (file)
  // OTHER DEALINGS IN THE SOFTWARE.
  //
 
+#if MINIMAL
+using System;
+
 namespace OpenTK
 {
-#if MINIMAL
     /// <summary>
     /// Defines a point on a two-dimensional plane.
     /// </summary>
@@ -167,5 +169,5 @@ namespace OpenTK
             return X == other.X && Y == other.Y;
         }
     }
-#endif
 }
+#endif
\ No newline at end of file
index 20ccae2..836f2df 100644 (file)
  // OTHER DEALINGS IN THE SOFTWARE.
  //
 
+#if MINIMAL
+using System;
+
 namespace OpenTK
 {
-    #if MINIMAL
     /// <summary>
     /// Represents a rectangular region on a two-dimensional plane.
     /// </summary>
@@ -284,5 +286,5 @@ namespace OpenTK
                 Size.Equals(other.Size);
         }
     }
-#endif
 }
+#endif
index 3d49c07..b7c23fd 100644 (file)
 // OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if MINIMAL
+using System;
+
 namespace OpenTK
 {
-#if MINIMAL
     /// <summary>
     /// Stores the width and height of a rectangle.
     /// </summary>
@@ -155,5 +157,5 @@ namespace OpenTK
         }
 
     }
-#endif
 }
+#endif
\ No newline at end of file
index 5cd8385..7dafd38 100644 (file)
@@ -1,7 +1,5 @@
-#if !MINIMAL
-#endif
-
-#if ANDROID || IPHONE || MINIMAL
+#if ANDROID || IPHONE || MINIMAL
+using System;
 
 namespace OpenTK
 {