diff --git a/ChangeLog b/ChangeLog index 4bb3b6e..d3639ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2016-07-28 Natalia Portillo + + * Modes.cs: + * BlockLimits.cs: + * DensitySupport.cs: + * DiscImageChef.Decoders.csproj: Code re-styling. + 2016-07-28 Natalia Portillo * PMA.cs: diff --git a/DiscImageChef.Decoders.csproj b/DiscImageChef.Decoders.csproj index d95cfe8..87b9970 100644 --- a/DiscImageChef.Decoders.csproj +++ b/DiscImageChef.Decoders.csproj @@ -125,6 +125,8 @@ + + diff --git a/SCSI/Modes.cs b/SCSI/Modes.cs index 80efbf3..cad23cf 100644 --- a/SCSI/Modes.cs +++ b/SCSI/Modes.cs @@ -1810,7 +1810,7 @@ namespace DiscImageChef.Decoders.SCSI break; } - #endregion Multimedia device mode header + #endregion Multimedia device mode header } return sb.ToString(); @@ -2380,7 +2380,7 @@ namespace DiscImageChef.Decoders.SCSI if(page.FirstBurstSize > 0) sb.AppendFormat("\t{0} bytes maximum can be transferred for a command along with the disconnect command", page.FirstBurstSize * 512).AppendLine(); - if(page.DIMM) + if(page.DIMM) sb.AppendLine("\tTarget shall not transfer data for a command during the same interconnect tenancy"); if(page.EMDP) sb.AppendLine("\tTarget is allowed to re-order the data transfer"); diff --git a/SCSI/SSC/BlockLimits.cs b/SCSI/SSC/BlockLimits.cs index 075be42..e4d6125 100644 --- a/SCSI/SSC/BlockLimits.cs +++ b/SCSI/SSC/BlockLimits.cs @@ -89,7 +89,7 @@ namespace DiscImageChef.Decoders.SCSI.SSC if(decoded.Value.granularity > 0) #pragma warning disable IDE0004 // Remove Unnecessary Cast - sb.AppendFormat("Device's needs a block size granularity of 2^{0} ({1}) bytes", decoded.Value.granularity, Math.Pow(2, (double)decoded.Value.granularity)).AppendLine(); + sb.AppendFormat("Device's needs a block size granularity of 2^{0} ({1}) bytes", decoded.Value.granularity, Math.Pow(2, (double)decoded.Value.granularity)).AppendLine(); #pragma warning restore IDE0004 // Remove Unnecessary Cast } diff --git a/SCSI/SSC/DensitySupport.cs b/SCSI/SSC/DensitySupport.cs index f4ab771..380a68a 100644 --- a/SCSI/SSC/DensitySupport.cs +++ b/SCSI/SSC/DensitySupport.cs @@ -169,7 +169,7 @@ namespace DiscImageChef.Decoders.SCSI.SSC #pragma warning disable IDE0004 // Remove Unnecessary Cast descriptor.bpmm, descriptor.tracks, (double)((double)descriptor.width / (double)10)).AppendLine(); #pragma warning restore IDE0004 // Remove Unnecessary Cast - sb.AppendFormat("\tDensity maximum capacity is {0} megabytes", descriptor.capacity).AppendLine(); + sb.AppendFormat("\tDensity maximum capacity is {0} megabytes", descriptor.capacity).AppendLine(); sb.AppendFormat("\tDensity description: {0}", descriptor.description).AppendLine(); sb.AppendLine(); } @@ -261,7 +261,7 @@ namespace DiscImageChef.Decoders.SCSI.SSC #pragma warning disable IDE0004 // Remove Unnecessary Cast descriptor.length, (double)((double)descriptor.width / (double)10)).AppendLine(); #pragma warning restore IDE0004 // Remove Unnecessary Cast - sb.AppendFormat("\tMedium description: {0}", descriptor.description).AppendLine(); + sb.AppendFormat("\tMedium description: {0}", descriptor.description).AppendLine(); sb.AppendLine(); }