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

Commit a3c15bc

Browse files
committed
Weird loop condition
Does the Jit understand that format to optimize?
1 parent 1f09eb4 commit a3c15bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Framework.Logging/Logger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public IDisposable BeginScopeImpl(object state)
117117

118118
var scope = new Scope(loggers.Length);
119119
List<Exception> exceptions = null;
120-
for (var index = 0; index != loggers.Length; index++)
120+
for (var index = 0; index < loggers.Length; index++)
121121
{
122122
try
123123
{

0 commit comments

Comments
 (0)