REFACTOR: Replace built-in type with a keyword.

This commit is contained in:
2017-12-21 02:42:18 +00:00
parent 7261e5ed8e
commit d51f3f1988
3 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -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