Skip to content

Commit 1093c70

Browse files
authored
Revert public visibility of internal interop enums (dotnet#3900)
1 parent 77f79e0 commit 1093c70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Microsoft.Data.SqlClient/src/Interop/Windows/Kernel32/IoControlCodeAccess.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Interop.Windows.Kernel32
1313
/// Indicates the type of access that a caller must request when opening the file object that represents the device (see IRP_MJ_CREATE).
1414
/// </summary>
1515
[Flags]
16-
public enum IoControlCodeAccess
16+
internal enum IoControlCodeAccess
1717
{
1818
/// <summary>
1919
/// The I/O manager sends the IRP for any caller that has a handle to the file object that represents the target device object.

src/Microsoft.Data.SqlClient/src/Interop/Windows/Kernel32/IoControlTransferType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Interop.Windows.Kernel32
1010
/// <a href="https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/buffer-descriptions-for-i-o-control-codes">TransferType</a>.
1111
/// Indicates how the system will pass data between the caller of DeviceIoControl (or IoBuildDeviceIoControlRequest) and the driver that handles the IRP.
1212
/// </summary>
13-
public enum IoControlTransferType
13+
internal enum IoControlTransferType
1414
{
1515
/// <summary>
1616
/// Specifies the buffered I/O method, which is typically used for transferring small amounts of data per request.

0 commit comments

Comments
 (0)