1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 22:56:30 +09:00

FxCop issues fixed; dead code removed

This commit is contained in:
lidgren
2013-02-24 13:40:30 +00:00
parent 84f892c1f0
commit 14f20ace0e
9 changed files with 20 additions and 785 deletions

View File

@@ -12,7 +12,7 @@ namespace Lidgren.Network
internal class NetBigInteger
{
private const long IMASK = 0xffffffffL;
private static readonly ulong UIMASK = (ulong)IMASK;
private const ulong UIMASK = (ulong)IMASK;
private static readonly int[] ZeroMagnitude = new int[0];
private static readonly byte[] ZeroEncoding = new byte[0];
@@ -23,15 +23,15 @@ namespace Lidgren.Network
public static readonly NetBigInteger Three = createUValueOf(3);
public static readonly NetBigInteger Ten = createUValueOf(10);
private static readonly int chunk2 = 1;
private const int chunk2 = 1;
private static readonly NetBigInteger radix2 = ValueOf(2);
private static readonly NetBigInteger radix2E = radix2.Pow(chunk2);
private static readonly int chunk10 = 19;
private const int chunk10 = 19;
private static readonly NetBigInteger radix10 = ValueOf(10);
private static readonly NetBigInteger radix10E = radix10.Pow(chunk10);
private static readonly int chunk16 = 16;
private const int chunk16 = 16;
private static readonly NetBigInteger radix16 = ValueOf(16);
private static readonly NetBigInteger radix16E = radix16.Pow(chunk16);