Skip to content

Commit 1c60884

Browse files
committed
Make SniNativeMethod implementations sealed
1 parent 0af4e4d commit 1c60884

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Microsoft.Data.SqlClient/src/Interop/Windows/Sni/SniNativeMethodsArm64.netfx.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Interop.Windows.Sni
1313
{
14-
internal class SniNativeMethodsArm64 : ISniNativeMethods
14+
internal sealed class SniNativeMethodsArm64 : ISniNativeMethods
1515
{
1616
private const string DllName = "Microsoft.Data.SqlClient.SNI.arm64.dll";
1717

src/Microsoft.Data.SqlClient/src/Interop/Windows/Sni/SniNativeMethodsNotSupported.netfx.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
namespace Interop.Windows.Sni
1414
{
15-
internal class SniNativeMethodsNotSupported : ISniNativeMethods
15+
internal sealed class SniNativeMethodsNotSupported : ISniNativeMethods
1616
{
1717
private readonly string _architecture;
1818

src/Microsoft.Data.SqlClient/src/Interop/Windows/Sni/SniNativeMethodsX64.netfx.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Interop.Windows.Sni
1313
{
14-
internal class SniNativeMethodsX64 : ISniNativeMethods
14+
internal sealed class SniNativeMethodsX64 : ISniNativeMethods
1515
{
1616
private const string DllName = "Microsoft.Data.SqlClient.SNI.x64.dll";
1717

src/Microsoft.Data.SqlClient/src/Interop/Windows/Sni/SniNativeMethodsX86.netfx.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Interop.Windows.Sni
1313
{
14-
internal class SniNativeMethodsX86 : ISniNativeMethods
14+
internal sealed class SniNativeMethodsX86 : ISniNativeMethods
1515
{
1616
private const string DllName = "Microsoft.Data.SqlClient.SNI.x86.dll";
1717

0 commit comments

Comments
 (0)