2 references to FILE_TYPE_DISK
System.Core (2)
Microsoft\Win32\UnsafeNativeMethods.cs (1)
197
if (fileType != UnsafeNativeMethods.
FILE_TYPE_DISK
) {
System\IO\LogStream.cs (1)
160
Debug.Assert(UnsafeNativeMethods.GetFileType(_handle) == UnsafeNativeMethods.
FILE_TYPE_DISK
, "did someone accidentally removed the device type check from SafeCreateFile P/Invoke wrapper?");