Skip to content

Commit 713e2f9

Browse files
committed
Cleaned up usings
1 parent a66baba commit 713e2f9

106 files changed

Lines changed: 76 additions & 307 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/Npgsql.GeoJSON/GeoJSONHandler.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
// TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
2222
#endregion
2323

24+
using System;
25+
using System.Collections.Concurrent;
26+
using System.Collections.ObjectModel;
27+
using System.Threading.Tasks;
2428
using GeoJSON.Net;
2529
using GeoJSON.Net.CoordinateReferenceSystem;
2630
using GeoJSON.Net.Geometry;
2731
using Npgsql.BackendMessages;
2832
using Npgsql.TypeHandling;
29-
using System;
30-
using System.Collections.Concurrent;
31-
using System.Collections.ObjectModel;
32-
using System.Threading.Tasks;
3333

3434
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
3535

src/Npgsql.GeoJSON/NpgsqlGeoJSONExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
// TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
2222
#endregion
2323

24+
using System;
25+
using System.Data;
2426
using GeoJSON.Net;
2527
using GeoJSON.Net.Geometry;
2628
using Npgsql.GeoJSON;
2729
using Npgsql.TypeMapping;
2830
using NpgsqlTypes;
29-
using System;
30-
using System.Data;
3131

3232
namespace Npgsql
3333
{

src/Npgsql.LegacyPostgis/PostgisTypes.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@
44
using System.Linq;
55
using System.Runtime.CompilerServices;
66
using JetBrains.Annotations;
7-
using Npgsql;
87

98
#pragma warning disable CA1710
109

1110
// ReSharper disable once CheckNamespace
1211
namespace Npgsql.LegacyPostgis
1312
{
14-
#pragma warning disable 1591
13+
#pragma warning disable 1591
1514
/// <summary>
1615
/// Represents the identifier of the Well Known Binary representation of a geographical feature specified by the OGC.
1716
/// http://portal.opengeospatial.org/files/?artifact_id=13227 Chapter 6.3.2.7

src/Npgsql.NetTopologySuite/NetTopologySuiteHandler.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,14 @@
2121
// TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
2222
#endregion
2323

24+
using System;
25+
using System.IO;
26+
using System.Threading.Tasks;
2427
using GeoAPI.Geometries;
2528
using GeoAPI.IO;
2629
using NetTopologySuite.Geometries;
2730
using Npgsql.BackendMessages;
2831
using Npgsql.TypeHandling;
29-
using System;
30-
using System.IO;
31-
using System.Threading;
32-
using System.Threading.Tasks;
3332

3433
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
3534

src/Npgsql.NetTopologySuite/NpgsqlNetTopologySuiteExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
#endregion
2323

2424
using System;
25+
using System.Data;
2526
using GeoAPI;
2627
using GeoAPI.Geometries;
2728
using NetTopologySuite.Geometries;
2829
using NetTopologySuite.IO;
2930
using Npgsql.NetTopologySuite;
3031
using Npgsql.TypeMapping;
3132
using NpgsqlTypes;
32-
using System.Data;
3333

3434
namespace Npgsql
3535
{

src/Npgsql.NetTopologySuite/PostGisGeometryType.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ namespace Npgsql.NetTopologySuite
44
// https://github.com/NetTopologySuite/NetTopologySuite.IO.PostGis/blob/master/NetTopologySuite.IO.PostGis/PostGisGeometryType.cs
55
internal enum PostGisGeometryType
66
{
7-
87
/// <summary>
98
/// The OGIS geometry type number for points.
109
/// </summary>
@@ -39,6 +38,5 @@ internal enum PostGisGeometryType
3938
/// The OGIS geometry type number for feature collections.
4039
/// </summary>
4140
GeometryCollection = 7,
42-
4341
}
4442
}

src/Npgsql.NodaTime/IntervalHandler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
// TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
2222
#endregion
2323

24-
using System;
2524
using NodaTime;
2625
using Npgsql.BackendMessages;
2726
using Npgsql.TypeHandling;

src/Npgsql.NodaTime/TimeHandler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
// TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
2222
#endregion
2323

24-
using System;
2524
using NodaTime;
2625
using Npgsql.BackendMessages;
2726
using Npgsql.TypeHandling;

src/Npgsql.NodaTime/TimeTzHandler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
// TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
2222
#endregion
2323

24-
using System;
2524
using NodaTime;
2625
using Npgsql.BackendMessages;
2726
using Npgsql.TypeHandling;

src/Npgsql.NodaTime/TimestampHandler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424
using System;
2525
using System.Diagnostics;
26-
using System.Runtime.InteropServices;
2726
using NodaTime;
2827
using Npgsql.BackendMessages;
2928
using Npgsql.TypeHandling;

0 commit comments

Comments
 (0)