Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

mono weirdness

why oh why would it give a build error on a DEBUG build with Conditional Attribute?
  • Loading branch information...
commit d102a3b38d480983560803a02cf0980dd56491c4 1 parent 6635977
@gregoryyoung gregoryyoung authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/EventStore/EventStore.Core/Bus/QueueStatsCollector.cs
View
4 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
}
- }
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.