Browse Source

Switch to namespace import, now that the types are no longer ambiguous

Brandon Thetford 1 year ago
parent
commit
942e586f3c
2 changed files with 2 additions and 8 deletions
  1. 1 4
      Terminal.Gui/Terminal.Gui.csproj
  2. 1 4
      UnitTests/UnitTests.csproj

+ 1 - 4
Terminal.Gui/Terminal.Gui.csproj

@@ -90,10 +90,7 @@
   <ItemGroup>
     <Using Include="JetBrains.Annotations" />
     <Using Include="System.Diagnostics.Contracts.PureAttribute" Alias="PureAttribute" />
-    <Using Include="System.Drawing.Rectangle" Alias="Rectangle" />
-    <Using Include="System.Drawing.RectangleF" Alias="RectangleF" />
-    <Using Include="System.Drawing.Point" Alias="Point" />
-    <Using Include="System.Drawing.PointF" Alias="PointF" />
+    <Using Include="System.Drawing" />
     <Using Include="System.Text" />
     <Using Include="JetBrains.Annotations" />
   </ItemGroup>

+ 1 - 4
UnitTests/UnitTests.csproj

@@ -46,10 +46,7 @@
     </None>
   </ItemGroup>
   <ItemGroup>
-    <Using Include="System.Drawing.Rectangle" Alias="Rectangle" />
-    <Using Include="System.Drawing.RectangleF" Alias="RectangleF" />
-    <Using Include="System.Drawing.Point" Alias="Point" />
-    <Using Include="System.Drawing.PointF" Alias="PointF" />
+    <Using Include="System.Drawing" />
     <Using Include="Terminal.Gui" />
     <Using Include="Xunit" />
   </ItemGroup>