diff --git a/src/Adaptive.Agrona/Concurrent/UnsafeBuffer.cs b/src/Adaptive.Agrona/Concurrent/UnsafeBuffer.cs index 4042addc..cc1a1b68 100644 --- a/src/Adaptive.Agrona/Concurrent/UnsafeBuffer.cs +++ b/src/Adaptive.Agrona/Concurrent/UnsafeBuffer.cs @@ -288,13 +288,12 @@ public IntPtr BufferPointer [MethodImpl(MethodImplOptions.AggressiveInlining)] get { return new IntPtr(_pBuffer); } } +#endif public byte[] ByteArray { get; private set; } public ByteBuffer ByteBuffer { get; private set; } -#endif - #if DEBUG public virtual int Capacity { get; private set; } #else