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:
authorTijoy Tom Kalathiparambil <tijoytk@microsoft.com>2017-09-21 19:29:12 +0300
committerTijoy Tom Kalathiparambil <tijoytk@microsoft.com>2017-09-21 19:29:12 +0300
commit3efdcc8aaa79447c7f5070f09db6fc03867ef180 (patch)
treed05d851635e5f5711757f00368c63d58e17de1f2 /src/ILCompiler.Compiler
parenteaa0916ceb3fe84f74ef2e05d2320c160e33cd2c (diff)
Debug data method RID was sorted in decending order and the VS assert was firing. Change it to sort ascending.
[tfs-changeset: 1675237]
Diffstat (limited to 'src/ILCompiler.Compiler')
-rw-r--r--src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/WindowsDebugMethodMapSection.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/WindowsDebugMethodMapSection.cs b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/WindowsDebugMethodMapSection.cs
index 4a86c7104..57d29e640 100644
--- a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/WindowsDebugMethodMapSection.cs
+++ b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/WindowsDebugMethodMapSection.cs
@@ -48,9 +48,9 @@ namespace ILCompiler.DependencyAnalysis
int IComparable<EmittedMethodWithILToken>.CompareTo(EmittedMethodWithILToken other)
{
- if (other.IlTokenRid == IlTokenRid)
+ if (IlTokenRid == other.IlTokenRid)
return 0;
- if (other.IlTokenRid < IlTokenRid)
+ if (IlTokenRid < other.IlTokenRid)
return -1;
return 1;
}