Skip to content

Commit 2769667

Browse files
committed
Sort modifiers
1 parent 7d809a8 commit 2769667

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlConnectionFactory.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919
namespace Microsoft.Data.SqlClient
2020
{
21-
sealed internal class SqlConnectionFactory : DbConnectionFactory
21+
internal sealed class SqlConnectionFactory : DbConnectionFactory
2222
{
23-
public static readonly SqlConnectionFactory SingletonInstance = new SqlConnectionFactory();
23+
internal static readonly SqlConnectionFactory SingletonInstance = new SqlConnectionFactory();
2424

2525
private SqlConnectionFactory() : base()
2626
{
@@ -29,7 +29,7 @@ private SqlConnectionFactory() : base()
2929
#endif
3030
}
3131

32-
override public DbProviderFactory ProviderFactory
32+
public override DbProviderFactory ProviderFactory
3333
{
3434
get
3535
{
@@ -245,7 +245,7 @@ internal static SqlConnectionString FindSqlConnectionOptions(SqlConnectionPoolKe
245245
}
246246

247247
// @TODO: All these methods seem redundant ... shouldn't we always have a SqlConnection?
248-
override internal DbConnectionPoolGroup GetConnectionPoolGroup(DbConnection connection)
248+
internal override DbConnectionPoolGroup GetConnectionPoolGroup(DbConnection connection)
249249
{
250250
SqlConnection c = (connection as SqlConnection);
251251
if (c != null)
@@ -255,7 +255,7 @@ override internal DbConnectionPoolGroup GetConnectionPoolGroup(DbConnection conn
255255
return null;
256256
}
257257

258-
override internal DbConnectionInternal GetInnerConnection(DbConnection connection)
258+
internal override DbConnectionInternal GetInnerConnection(DbConnection connection)
259259
{
260260
SqlConnection c = (connection as SqlConnection);
261261
if (c != null)
@@ -265,7 +265,7 @@ override internal DbConnectionInternal GetInnerConnection(DbConnection connectio
265265
return null;
266266
}
267267

268-
override protected int GetObjectId(DbConnection connection)
268+
protected override int GetObjectId(DbConnection connection)
269269
{
270270
SqlConnection c = (connection as SqlConnection);
271271
if (c != null)
@@ -275,7 +275,7 @@ override protected int GetObjectId(DbConnection connection)
275275
return 0;
276276
}
277277

278-
override internal void PermissionDemand(DbConnection outerConnection)
278+
internal override void PermissionDemand(DbConnection outerConnection)
279279
{
280280
SqlConnection c = (outerConnection as SqlConnection);
281281
if (c != null)
@@ -284,7 +284,7 @@ override internal void PermissionDemand(DbConnection outerConnection)
284284
}
285285
}
286286

287-
override internal void SetConnectionPoolGroup(DbConnection outerConnection, DbConnectionPoolGroup poolGroup)
287+
internal override void SetConnectionPoolGroup(DbConnection outerConnection, DbConnectionPoolGroup poolGroup)
288288
{
289289
SqlConnection c = (outerConnection as SqlConnection);
290290
if (c != null)
@@ -293,7 +293,7 @@ override internal void SetConnectionPoolGroup(DbConnection outerConnection, DbCo
293293
}
294294
}
295295

296-
override internal void SetInnerConnectionEvent(DbConnection owningObject, DbConnectionInternal to)
296+
internal override void SetInnerConnectionEvent(DbConnection owningObject, DbConnectionInternal to)
297297
{
298298
SqlConnection c = (owningObject as SqlConnection);
299299
if (c != null)
@@ -302,7 +302,7 @@ override internal void SetInnerConnectionEvent(DbConnection owningObject, DbConn
302302
}
303303
}
304304

305-
override internal bool SetInnerConnectionFrom(DbConnection owningObject, DbConnectionInternal to, DbConnectionInternal from)
305+
internal override bool SetInnerConnectionFrom(DbConnection owningObject, DbConnectionInternal to, DbConnectionInternal from)
306306
{
307307
SqlConnection c = (owningObject as SqlConnection);
308308
if (c != null)
@@ -312,7 +312,7 @@ override internal bool SetInnerConnectionFrom(DbConnection owningObject, DbConne
312312
return false;
313313
}
314314

315-
override internal void SetInnerConnectionTo(DbConnection owningObject, DbConnectionInternal to)
315+
internal override void SetInnerConnectionTo(DbConnection owningObject, DbConnectionInternal to)
316316
{
317317
SqlConnection c = (owningObject as SqlConnection);
318318
if (c != null)

0 commit comments

Comments
 (0)