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