mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 04:48:53 +00:00
22 lines
No EOL
525 B
C#
22 lines
No EOL
525 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Reflection;
|
|
using Indy.IL2CPU.Assembler;
|
|
|
|
namespace Indy.IL2CPU.Compiler
|
|
{
|
|
public class FieldInfoComparer : IComparer<FieldInfo>
|
|
{
|
|
#region IComparer<FieldInfo> Members
|
|
|
|
public int Compare(FieldInfo x,
|
|
FieldInfo y)
|
|
{
|
|
return DataMember.GetStaticFieldName(x).CompareTo(DataMember.GetStaticFieldName(y));
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
} |