Skip to content

Commit b6cde45

Browse files
authored
Fix comparer in GUID (#120)
***NO_CI***
1 parent e0a431e commit b6cde45

File tree

1 file changed

+6
-1
lines changed
  • nanoFramework.CoreLibrary/System

1 file changed

+6
-1
lines changed

nanoFramework.CoreLibrary/System/Guid.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,12 @@ private int GetResult(uint me, uint them)
373373
{
374374
return -1;
375375
}
376-
return 1;
376+
else if (me > them)
377+
{
378+
return 1;
379+
}
380+
381+
return 0;
377382
}
378383

379384
/// <summary>

0 commit comments

Comments
 (0)