mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 12:58:39 +00:00
22 lines
No EOL
515 B
C#
22 lines
No EOL
515 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Reflection;
|
|
|
|
namespace Indy.IL2CPU.Compiler
|
|
{
|
|
public class AssemblyEqualityComparer : IEqualityComparer<Assembly>
|
|
{
|
|
public bool Equals(Assembly x,
|
|
Assembly y)
|
|
{
|
|
return x.FullName.Equals(y.FullName);
|
|
}
|
|
|
|
public int GetHashCode(Assembly obj)
|
|
{
|
|
return obj.FullName.GetHashCode();
|
|
}
|
|
}
|
|
} |