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;
|
||||
}
|
||||
|
||||
public override bool Equals(Object obj)
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if(obj == null || !(obj is Partition)) return false;
|
||||
else return Equals((Partition)obj);
|
||||
|
||||
@@ -104,8 +104,8 @@ namespace DiscImageChef.Devices.Windows
|
||||
public static extern bool SetupDiGetDeviceInterfaceDetail(SafeFileHandle hDevInfo,
|
||||
ref DeviceInterfaceData deviceInterfaceData,
|
||||
IntPtr deviceInterfaceDetailData,
|
||||
UInt32 deviceInterfaceDetailDataSize,
|
||||
ref UInt32 requiredSize, IntPtr deviceInfoData);
|
||||
uint deviceInterfaceDetailDataSize,
|
||||
ref uint requiredSize, IntPtr deviceInfoData);
|
||||
|
||||
[DllImport("setupapi.dll", CharSet = CharSet.Auto, SetLastError = true)]
|
||||
public static extern bool SetupDiDestroyDeviceInfoList(SafeFileHandle hDevInfo);
|
||||
|
||||
@@ -110,7 +110,7 @@ namespace DiscImageChef.DiscImages
|
||||
/// <summary>
|
||||
/// The length of the compressed block, in bytes. Little-endian.
|
||||
/// </summary>
|
||||
public UInt16 length;
|
||||
public ushort length;
|
||||
|
||||
/// <summary>
|
||||
/// The byte value used as RLE escape sequence
|
||||
|
||||
Reference in New Issue
Block a user