aboutsummaryrefslogtreecommitdiff
path: root/BDInfo/BitVector32.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-10-30 02:36:14 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-10-30 02:36:14 -0400
commitb5673f4e16ca6c05b2efe47b1f18804253fd0f43 (patch)
tree52bad8a507a56f7c7712e93591bdfe801310f458 /BDInfo/BitVector32.cs
parentfd04fddca0c9d5cda336efb5b4e02e117913ce37 (diff)
update bdinfo portable targeting
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);