diff --git a/Lidgren.Network/NetRandom.Implementations.cs b/Lidgren.Network/NetRandom.Implementations.cs
index f97ad21..e0da470 100644
--- a/Lidgren.Network/NetRandom.Implementations.cs
+++ b/Lidgren.Network/NetRandom.Implementations.cs
@@ -8,7 +8,7 @@ namespace Lidgren.Network
///
public class MWCRandom : NetRandom
{
- public static readonly MWCRandom Instance = new MWCRandom();
+ public static new readonly MWCRandom Instance = new MWCRandom();
private uint m_w, m_z;
@@ -45,7 +45,7 @@ namespace Lidgren.Network
///
public sealed class XorShiftRandom : NetRandom
{
- public static readonly XorShiftRandom Instance = new XorShiftRandom();
+ public static new readonly XorShiftRandom Instance = new XorShiftRandom();
private const uint c_x = 123456789;
private const uint c_y = 362436069;
@@ -97,7 +97,7 @@ namespace Lidgren.Network
///
public sealed class MersenneTwisterRandom : NetRandom
{
- public static readonly MersenneTwisterRandom Instance = new MersenneTwisterRandom();
+ public static new readonly MersenneTwisterRandom Instance = new MersenneTwisterRandom();
private const int N = 624;
private const int M = 397;
@@ -184,7 +184,7 @@ namespace Lidgren.Network
///
public class CryptoRandom : NetRandom
{
- public static readonly CryptoRandom Instance = new CryptoRandom();
+ public static new readonly CryptoRandom Instance = new CryptoRandom();
private RandomNumberGenerator m_rnd = new RNGCryptoServiceProvider();
diff --git a/Lidgren.Network/NetRandom.cs b/Lidgren.Network/NetRandom.cs
index 177670a..82550a4 100644
--- a/Lidgren.Network/NetRandom.cs
+++ b/Lidgren.Network/NetRandom.cs
@@ -41,7 +41,7 @@ namespace Lidgren.Network
}
///
- /// Generates a random value that is >= 0 and < Int32.MaxValue
+ /// Generates a random value that is greater or equal than 0 and less than Int32.MaxValue
///
public override int Next()
{
@@ -52,7 +52,7 @@ namespace Lidgren.Network
}
///
- /// Generates a random value >= 0 and <= Int32.MaxValue (inclusively)
+ /// Generates a random value greater or equal than 0 and less or equal than Int32.MaxValue (inclusively)
///
public int NextInt32()
{
@@ -60,7 +60,7 @@ namespace Lidgren.Network
}
///
- /// Returns random value >= 0.0 and < 1.0
+ /// Returns random value larger or equal to 0.0 and less than 1.0
///
public override double NextDouble()
{
@@ -68,7 +68,7 @@ namespace Lidgren.Network
}
///
- /// Returns random value >= 0.0 and < 1.0
+ /// Returns random value is greater or equal than 0.0 and less than 1.0
///
protected override double Sample()
{
@@ -76,7 +76,7 @@ namespace Lidgren.Network
}
///
- /// Returns random value >= 0.0f and < 1.0f
+ /// Returns random value is greater or equal than 0.0f and less than 1.0f
///
public float NextSingle()
{
@@ -87,7 +87,7 @@ namespace Lidgren.Network
}
///
- /// Returns a random value >= 0 and < maxValue
+ /// Returns a random value is greater or equal than 0 and less than maxValue
///
public override int Next(int maxValue)
{
@@ -95,7 +95,7 @@ namespace Lidgren.Network
}
///
- /// Returns a random value >= minValue and < maxValue
+ /// Returns a random value is greater or equal than minValue and less than maxValue
///
public override int Next(int minValue, int maxValue)
{