2 references to GetFileType
System.Core (2)
Microsoft\Win32\UnsafeNativeMethods.cs (1)
196int fileType = UnsafeNativeMethods.GetFileType(handle);
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?");