Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Commit a5d1d06

Browse files
committed
ifdef comments on own line
1 parent 650e6e7 commit a5d1d06

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/Microsoft.AspNet.Server.Kestrel/Infrastructure/MemoryPoolIterator2.cs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ public unsafe int Seek(ref Vector<byte> byte0Vector)
241241
array = block.Array;
242242
while (following > 0)
243243
{
244-
#if !DEBUG // Need unit tests to test Vector path
244+
#if !DEBUG
245+
// Need unit tests to test Vector path
245246
// Check will be Jitted away https://github.com/dotnet/coreclr/issues/1079
246247
if (Vector.IsHardwareAccelerated)
247248
{
@@ -261,7 +262,8 @@ public unsafe int Seek(ref Vector<byte> byte0Vector)
261262
_index = index + FindFirstEqualByte(ref byte0Equals);
262263
return byte0;
263264
}
264-
#if !DEBUG // Need unit tests to test Vector path
265+
#if !DEBUG
266+
// Need unit tests to test Vector path
265267
}
266268
#endif
267269
fixed (byte* ptr = &block.Array[index])
@@ -322,7 +324,8 @@ public unsafe int Seek(ref Vector<byte> byte0Vector, ref Vector<byte> byte1Vecto
322324
while (following > 0)
323325
{
324326

325-
#if !DEBUG // Need unit tests to test Vector path
327+
#if !DEBUG
328+
// Need unit tests to test Vector path
326329
// Check will be Jitted away https://github.com/dotnet/coreclr/issues/1079
327330
if (Vector.IsHardwareAccelerated)
328331
{
@@ -360,7 +363,8 @@ public unsafe int Seek(ref Vector<byte> byte0Vector, ref Vector<byte> byte1Vecto
360363
_index = index + byte1Index;
361364
return byte1;
362365
}
363-
#if !DEBUG // Need unit tests to test Vector path
366+
#if !DEBUG
367+
// Need unit tests to test Vector path
364368
}
365369
#endif
366370
fixed (byte* ptr = &block.Array[index])
@@ -428,7 +432,8 @@ public unsafe int Seek(ref Vector<byte> byte0Vector, ref Vector<byte> byte1Vecto
428432
array = block.Array;
429433
while (following > 0)
430434
{
431-
#if !DEBUG // Need unit tests to test Vector path
435+
#if !DEBUG
436+
// Need unit tests to test Vector path
432437
// Check will be Jitted away https://github.com/dotnet/coreclr/issues/1079
433438
if (Vector.IsHardwareAccelerated)
434439
{
@@ -493,7 +498,8 @@ public unsafe int Seek(ref Vector<byte> byte0Vector, ref Vector<byte> byte1Vecto
493498
_index = index + toMove;
494499
return toReturn;
495500
}
496-
#if !DEBUG // Need unit tests to test Vector path
501+
#if !DEBUG
502+
// Need unit tests to test Vector path
497503
}
498504
#endif
499505
fixed (byte* ptr = &block.Array[index])

0 commit comments

Comments
 (0)