Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/CompilerComparer.cs')
-rw-r--r--src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/CompilerComparer.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/CompilerComparer.cs b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/CompilerComparer.cs
index 2a564335e..250b32707 100644
--- a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/CompilerComparer.cs
+++ b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/CompilerComparer.cs
@@ -10,9 +10,9 @@ using Internal.TypeSystem;
namespace ILCompiler.DependencyAnalysis
{
- public class CompilerComparer : TypeSystemComparer, IComparer<ISortableSymbolNode>
+ public class CompilerComparer : TypeSystemComparer, IComparer<ISortableNode>
{
- public int Compare(ISortableSymbolNode x, ISortableSymbolNode y)
+ public int Compare(ISortableNode x, ISortableNode y)
{
if (x == y)
{
@@ -35,7 +35,7 @@ namespace ILCompiler.DependencyAnalysis
else
{
Debug.Assert(x.GetType() != y.GetType());
- return codeX > codeY ? -1 : 1;
+ return codeY > codeX ? -1 : 1;
}
}
}