apache/logging-log4net

System.NullReferenceException when comparing with a null Level

FreeAndNil opened this issue · 1 comments

  Level? left = null;
  Level? right = null;
  Assert.IsFalse(left < right);

leads to

System.NullReferenceException : Object reference not set to an instance of an object.

Stack Trace: 
Level.op_LessThan(Level l, Level r) line 346
LevelTest.LevelCompare() line 37

Fixed in 3.0.0-Preview.3