mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Replace built-in type with a keyword.
This commit is contained in:
@@ -68,7 +68,7 @@ namespace DiscImageChef.CommonTypes
|
|||||||
return Start == other.Start && Length == other.Length;
|
return Start == other.Start && Length == other.Length;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Equals(Object obj)
|
public override bool Equals(object obj)
|
||||||
{
|
{
|
||||||
if(obj == null || !(obj is Partition)) return false;
|
if(obj == null || !(obj is Partition)) return false;
|
||||||
else return Equals((Partition)obj);
|
else return Equals((Partition)obj);
|
||||||
|
|||||||
@@ -104,8 +104,8 @@ namespace DiscImageChef.Devices.Windows
|
|||||||
public static extern bool SetupDiGetDeviceInterfaceDetail(SafeFileHandle hDevInfo,
|
public static extern bool SetupDiGetDeviceInterfaceDetail(SafeFileHandle hDevInfo,
|
||||||
ref DeviceInterfaceData deviceInterfaceData,
|
ref DeviceInterfaceData deviceInterfaceData,
|
||||||
IntPtr deviceInterfaceDetailData,
|
IntPtr deviceInterfaceDetailData,
|
||||||
UInt32 deviceInterfaceDetailDataSize,
|
uint deviceInterfaceDetailDataSize,
|
||||||
ref UInt32 requiredSize, IntPtr deviceInfoData);
|
ref uint requiredSize, IntPtr deviceInfoData);
|
||||||
|
|
||||||
[DllImport("setupapi.dll", CharSet = CharSet.Auto, SetLastError = true)]
|
[DllImport("setupapi.dll", CharSet = CharSet.Auto, SetLastError = true)]
|
||||||
public static extern bool SetupDiDestroyDeviceInfoList(SafeFileHandle hDevInfo);
|
public static extern bool SetupDiDestroyDeviceInfoList(SafeFileHandle hDevInfo);
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ namespace DiscImageChef.DiscImages
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The length of the compressed block, in bytes. Little-endian.
|
/// The length of the compressed block, in bytes. Little-endian.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UInt16 length;
|
public ushort length;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The byte value used as RLE escape sequence
|
/// The byte value used as RLE escape sequence
|
||||||
|
|||||||
Reference in New Issue
Block a user