Permalink
Browse files

mono weirdness

why oh why would it give a build error on a DEBUG build with Conditional Attribute?
  • Loading branch information...
gregoryyoung committed Feb 28, 2014
1 parent 6635977 commit d102a3b38d480983560803a02cf0980dd56491c4
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/EventStore/EventStore.Core/Bus/QueueStatsCollector.cs
@@ -278,8 +278,10 @@ public void Enqueued()
[Conditional("DEBUG")]
public void Dequeued()
{
+#if DEBUG
Interlocked.Decrement(ref _length);
+#endif
}
- }
+ }
}

0 comments on commit d102a3b

Please sign in to comment.