26 references to DriveType
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
ResourceMonitoringLinuxCgroupVersion.cs (2)
42
if (d.DriveType ==
DriveType
.Ram && d.DriveFormat == CgroupVersion && d.VolumeLabel == UnifiedCgroupPath)
48
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 (9)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.MountPoints.FormatInfo.cs (9)
62
internal static Error GetDriveTypeForMountPoint(string name, out
DriveType
type)
65
type = error == Error.SUCCESS ? GetDriveType(format) :
DriveType
.Unknown;
79
private static
DriveType
GetDriveType(string fileSystemName)
95
return
DriveType
.CDRom;
198
return
DriveType
.Fixed;
257
return
DriveType
.Network;
317
return
DriveType
.Ram;
324
return
DriveType
.Removable;
329
return
DriveType
.Unknown;
System.IO.FileSystem.DriveInfo (13)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.MountPoints.FormatInfo.cs (9)
62
internal static Error GetDriveTypeForMountPoint(string name, out
DriveType
type)
65
type = error == Error.SUCCESS ? GetDriveType(format) :
DriveType
.Unknown;
79
private static
DriveType
GetDriveType(string fileSystemName)
95
return
DriveType
.CDRom;
198
return
DriveType
.Fixed;
257
return
DriveType
.Network;
317
return
DriveType
.Ram;
324
return
DriveType
.Removable;
329
return
DriveType
.Unknown;
System\IO\DriveInfo.Unix.cs (4)
13
public
DriveType
DriveType
17
DriveType
type;
31
return
DriveType
.NoRootDirectory;
33
return
DriveType
.Unknown;