Fix CA1852

This commit is contained in:
RoosterDragon
2023-03-13 18:49:21 +00:00
committed by Pavel Penev
parent 277699cbd5
commit f4af5c1764
310 changed files with 510 additions and 507 deletions

View File

@@ -200,7 +200,7 @@ namespace OpenRA.Mods.Common.FileFormats
}
}
class BitReader
sealed class BitReader
{
readonly Stream stream;
byte bitBuffer = 0;
@@ -242,7 +242,7 @@ namespace OpenRA.Mods.Common.FileFormats
* codes. Those tables are the number of codes of each length, and the symbols
* sorted by length, retaining their original order within each length.
*/
class Huffman
sealed class Huffman
{
public short[] Count; // number of symbols of each length
public short[] Symbol; // canonically ordered symbols

View File

@@ -242,7 +242,7 @@ namespace OpenRA.Mods.Common.FileFormats
}
}
class CabExtracter
sealed class CabExtracter
{
readonly FileDescriptor file;
readonly Dictionary<int, Stream> volumes;

View File

@@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.FileFormats
{
public sealed class MSCabCompression
{
class CabFolder
sealed class CabFolder
{
public readonly uint BlockOffset;
public readonly ushort BlockCount;
@@ -34,7 +34,7 @@ namespace OpenRA.Mods.Common.FileFormats
}
}
class CabFile
sealed class CabFile
{
public readonly string FileName;
public readonly uint DecompressedLength;