28 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 (10)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.MountPoints.FormatInfo.cs (10)
17
System.Diagnostics.Debug.Assert(GetDriveType(name) !=
DriveType
.Unknown,
73
internal static Error GetDriveTypeForMountPoint(string name, out
DriveType
type)
76
type = error == Error.SUCCESS ? GetDriveType(format) :
DriveType
.Unknown;
90
private static
DriveType
GetDriveType(string fileSystemName)
107
return
DriveType
.CDRom;
210
return
DriveType
.Fixed;
269
return
DriveType
.Network;
329
return
DriveType
.Ram;
336
return
DriveType
.Removable;
341
return
DriveType
.Unknown;
System.IO.FileSystem.DriveInfo (14)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.MountPoints.FormatInfo.cs (10)
17
System.Diagnostics.Debug.Assert(GetDriveType(name) !=
DriveType
.Unknown,
73
internal static Error GetDriveTypeForMountPoint(string name, out
DriveType
type)
76
type = error == Error.SUCCESS ? GetDriveType(format) :
DriveType
.Unknown;
90
private static
DriveType
GetDriveType(string fileSystemName)
107
return
DriveType
.CDRom;
210
return
DriveType
.Fixed;
269
return
DriveType
.Network;
329
return
DriveType
.Ram;
336
return
DriveType
.Removable;
341
return
DriveType
.Unknown;
System\IO\DriveInfo.Unix.cs (4)
13
public
DriveType
DriveType
17
DriveType
type;
31
return
DriveType
.NoRootDirectory;
33
return
DriveType
.Unknown;