diff options
author | jfrijters <jfrijters> | 2011-03-06 09:48:05 +0300 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-03-06 09:48:05 +0300 |
commit | 5e23dfb451881d3d4f4ca209b0fb8a1bc0930e02 (patch) | |
tree | 048005b5aea5b418805253310de0574c9569d80b /reflect/Metadata | |
parent | 4abfc87c83c58a7fc08670e4467f90e743b8f041 (diff) |
Use stable sort for DeclSecurity, MethodSemantics and GenericParamConstraint tables (if STABLE_SORT is defined).
Diffstat (limited to 'reflect/Metadata')
-rw-r--r-- | reflect/Metadata/Tables.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/reflect/Metadata/Tables.cs b/reflect/Metadata/Tables.cs index 93fc5a98..d857ccd5 100644 --- a/reflect/Metadata/Tables.cs +++ b/reflect/Metadata/Tables.cs @@ -1302,7 +1302,7 @@ namespace IKVM.Reflection.Metadata } records[i].Parent = token; } - Array.Sort(records, 0, rowCount, this); + Sort(this); } int IComparer<Record>.Compare(Record x, Record y) @@ -1725,7 +1725,7 @@ namespace IKVM.Reflection.Metadata } records[i].Association = token; } - Array.Sort(records, 0, rowCount, this); + Sort(this); } int IComparer<Record>.Compare(Record x, Record y) @@ -2592,7 +2592,7 @@ namespace IKVM.Reflection.Metadata { records[i].Owner = fixups[records[i].Owner - 1] + 1; } - Array.Sort(records, 0, rowCount, this); + Sort(this); } int IComparer<Record>.Compare(Record x, Record y) |