nesper icon indicating copy to clipboard operation
nesper copied to clipboard

Bug report, NEsper.Compiler

Open TimeWanderer opened this issue 1 year ago • 0 comments

Hello NEsper,

In [email protected]'s CompareTo method, the following line causes a null exception when that.Namespace is null and none of the previous if conditions are stepped into.

else if (that.Namespace.StartsWith("System.")) {

I am not sure, but I think this code should be added at line 201 to fix the issue:

else if (that.Namespace == null) { nameComparison = 1; }

Kind regards

TimeWanderer avatar Dec 11 '23 19:12 TimeWanderer