mirror of https://github.com/mono/CppSharp.git
4 changed files with 44 additions and 19 deletions
@ -1,18 +0,0 @@ |
|||||||
using System.Collections.Generic; |
|
||||||
using CppSharp.AST; |
|
||||||
|
|
||||||
namespace CppSharp.Utils |
|
||||||
{ |
|
||||||
public class ParameterTypeComparer : IEqualityComparer<Parameter> |
|
||||||
{ |
|
||||||
public bool Equals(Parameter x, Parameter y) |
|
||||||
{ |
|
||||||
return x.QualifiedType == y.QualifiedType; |
|
||||||
} |
|
||||||
|
|
||||||
public int GetHashCode(Parameter obj) |
|
||||||
{ |
|
||||||
return obj.Type.GetHashCode(); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
Loading…
Reference in new issue