aboutsummaryrefslogtreecommitdiff
path: root/BDInfo/BitVector32.cs
diff options
context:
space:
mode:
Diffstat (limited to 'BDInfo/BitVector32.cs')
-rw-r--r--BDInfo/BitVector32.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/BDInfo/BitVector32.cs b/BDInfo/BitVector32.cs
index 46f15034b..1ac94bfbe 100644
--- a/BDInfo/BitVector32.cs
+++ b/BDInfo/BitVector32.cs
@@ -9,7 +9,6 @@ namespace BDInfo
using System.Diagnostics;
using System.Text;
using System;
- using Microsoft.Win32;
/// <devdoc>
/// <para>Provides a simple light bit vector with easy integer or Boolean access to
@@ -69,11 +68,6 @@ namespace BDInfo
}
set
{
-#if DEBUG
- if ((value & section.Mask) != value) {
- Debug.Fail("Value out of bounds on BitVector32 Section Set!");
- }
-#endif
value <<= section.Offset;
int offsetMask = (0xFFFF & (int)section.Mask) << section.Offset;
data = (data & ~(uint)offsetMask) | ((uint)value & (uint)offsetMask);