aboutsummaryrefslogtreecommitdiff
path: root/BDInfo/BitVector32.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-10-30 03:29:27 -0400
committerGitHub <noreply@github.com>2016-10-30 03:29:27 -0400
commitd31b0f7be4b14e4ada999c97e675b856ad68352b (patch)
treea4619513efbb3be62a6204c996526df606cb62c5 /BDInfo/BitVector32.cs
parentb19f75fcae017cb51f1e58eb2d54ca84620b6ee0 (diff)
parent3094cd7ff3e51578808ce1b6f56b141930c18004 (diff)
Merge pull request #2258 from MediaBrowser/dev
Dev
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 46f15034b3..1ac94bfbeb 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);