Skip to content

Commit d2aa9dc

Browse files
committed
Applied suggestions from PR review.
1 parent d3fad85 commit d2aa9dc

File tree

2 files changed

+96
-315
lines changed

2 files changed

+96
-315
lines changed

src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/Interop/SNINativeMethodWrapper.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,10 +1430,6 @@ internal static partial class SafeNativeMethods
14301430
{
14311431
[DllImport("kernel32.dll", CharSet = CharSet.Ansi, BestFitMapping = false, ThrowOnUnmappableChar = true, SetLastError = true)]
14321432
internal static extern IntPtr GetProcAddress(IntPtr HModule, [MarshalAs(UnmanagedType.LPStr), In] string funcName);
1433-
1434-
[DllImport(ExternDll.Kernel32, CharSet = CharSet.Auto, BestFitMapping = false, ThrowOnUnmappableChar = true)]
1435-
[ResourceExposure(ResourceScope.Process)]
1436-
internal static extern IntPtr GetModuleHandle([MarshalAs(UnmanagedType.LPTStr), In] string moduleName/*lpctstr*/);
14371433
}
14381434
}
14391435

0 commit comments

Comments
 (0)