30 references to DriveType
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
ResourceMonitoringLinuxCgroupVersion.cs (2)
36
if (d.DriveType ==
DriveType
.Ram && d.DriveFormat == CgroupVersion && d.VolumeLabel == UnifiedCgroupPath)
42
if (d.DriveType ==
DriveType
.Ram && d.DriveFormat == CgroupVersion)
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
317
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.
DriveType
))]
netstandard (1)
netstandard.cs (1)
905
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.
DriveType
))]
System.Diagnostics.Process (11)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.MountPoints.FormatInfo.cs (11)
17
System.Diagnostics.Debug.Assert(GetDriveType(name) !=
DriveType
.Unknown,
48
internal static int GetFormatInfoForMountPoint(string name, out
DriveType
type)
53
private static unsafe int GetFormatInfoForMountPoint(string name, out string format, out
DriveType
type)
69
type =
DriveType
.Unknown;
78
private static
DriveType
GetDriveType(string fileSystemName)
95
return
DriveType
.CDRom;
198
return
DriveType
.Fixed;
257
return
DriveType
.Network;
314
return
DriveType
.Ram;
321
return
DriveType
.Removable;
326
return
DriveType
.Unknown;
System.IO.FileSystem.DriveInfo (15)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.MountPoints.FormatInfo.cs (11)
17
System.Diagnostics.Debug.Assert(GetDriveType(name) !=
DriveType
.Unknown,
48
internal static int GetFormatInfoForMountPoint(string name, out
DriveType
type)
53
private static unsafe int GetFormatInfoForMountPoint(string name, out string format, out
DriveType
type)
69
type =
DriveType
.Unknown;
78
private static
DriveType
GetDriveType(string fileSystemName)
95
return
DriveType
.CDRom;
198
return
DriveType
.Fixed;
257
return
DriveType
.Network;
314
return
DriveType
.Ram;
321
return
DriveType
.Removable;
326
return
DriveType
.Unknown;
System\IO\DriveInfo.Unix.cs (4)
12
public
DriveType
DriveType
16
DriveType
type;
34
return
DriveType
.NoRootDirectory;
36
return
DriveType
.Unknown;