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

View File

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

View File

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