Fix StyleCop warnings in OpenRA.Game
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
|
||||
namespace OpenRA.FileFormats
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Static class that uses a lookup table to calculates CRC32
|
||||
/// checksums of input strings.
|
||||
@@ -104,6 +103,7 @@ namespace OpenRA.FileFormats
|
||||
crc ^= polynomial;
|
||||
return crc;
|
||||
}
|
||||
|
||||
public static uint Calculate(byte[] data)
|
||||
{
|
||||
return Calculate(data, 0xFFFFFFFF);
|
||||
@@ -125,6 +125,7 @@ namespace OpenRA.FileFormats
|
||||
crc ^= polynomial;
|
||||
return crc;
|
||||
}
|
||||
|
||||
public static unsafe uint Calculate(byte* data, uint len)
|
||||
{
|
||||
return Calculate(data, len, 0xFFFFFFFF);
|
||||
|
||||
Reference in New Issue
Block a user