Skip to content

Commit ac7da01

Browse files
committed
Use C# 10 global using directives.
1 parent 05abf00 commit ac7da01

File tree

107 files changed

+20
-376
lines changed

Some content is hidden

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

107 files changed

+20
-376
lines changed

src/MySqlConnector/Authentication/AuthenticationPlugins.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using System.Collections.Generic;
32
using System.Diagnostics.CodeAnalysis;
43

src/MySqlConnector/Authentication/IAuthenticationPlugin.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
31
namespace MySqlConnector.Authentication;
42

53
/// <summary>

src/MySqlConnector/Core/CachedParameter.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
using System;
2-
using System.Data;
3-
41
namespace MySqlConnector.Core;
52

63
internal sealed class CachedParameter

src/MySqlConnector/Core/CommandExecutor.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using System;
21
using System.Collections.Generic;
3-
using System.Data;
4-
using System.Data.Common;
52
using System.IO;
63
using System.Net.Sockets;
74
using System.Threading;

src/MySqlConnector/Core/ConnectionSettings.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using System.Collections.Generic;
32
using System.IO;
43
using System.Net.Security;

src/MySqlConnector/Core/EnlistedTransactionBase.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using System.Transactions;
32

43
namespace MySqlConnector.Core;

src/MySqlConnector/Core/ILoadBalancer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using System.Collections.Generic;
32

43
namespace MySqlConnector.Core;

src/MySqlConnector/Core/NormalizedSchema.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using System.Text.RegularExpressions;
32

43
namespace MySqlConnector.Core;

src/MySqlConnector/Core/ParsedStatements.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using System.Collections.Generic;
32
using MySqlConnector.Protocol;
43

src/MySqlConnector/Core/ResultSet.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
using System;
21
using System.Buffers;
32
using System.Collections.Generic;
4-
using System.Data;
53
using System.Globalization;
64
using System.IO;
75
using System.Runtime.ExceptionServices;

0 commit comments

Comments
 (0)