|
|
|
|
@ -171,6 +171,11 @@ namespace CppSharp.AST
@@ -171,6 +171,11 @@ namespace CppSharp.AST
|
|
|
|
|
var type = (QualifiedType) obj; |
|
|
|
|
return Type.Equals(type.Type) && Qualifiers.Equals(type.Qualifiers); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
@ -201,6 +206,11 @@ namespace CppSharp.AST
@@ -201,6 +206,11 @@ namespace CppSharp.AST
|
|
|
|
|
|
|
|
|
|
return Declaration.Equals(type.Declaration); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
@ -245,6 +255,11 @@ namespace CppSharp.AST
@@ -245,6 +255,11 @@ namespace CppSharp.AST
|
|
|
|
|
|
|
|
|
|
return equals; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
@ -275,6 +290,11 @@ namespace CppSharp.AST
@@ -275,6 +290,11 @@ namespace CppSharp.AST
|
|
|
|
|
|
|
|
|
|
return ReturnType.Equals(type.ReturnType) && Parameters.SequenceEqual(type.Parameters); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
@ -327,6 +347,11 @@ namespace CppSharp.AST
@@ -327,6 +347,11 @@ namespace CppSharp.AST
|
|
|
|
|
return QualifiedPointee.Equals(type.QualifiedPointee) |
|
|
|
|
&& Modifier == type.Modifier; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
@ -353,6 +378,11 @@ namespace CppSharp.AST
@@ -353,6 +378,11 @@ namespace CppSharp.AST
|
|
|
|
|
|
|
|
|
|
return Pointee.Equals(pointer.Pointee); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
@ -380,6 +410,11 @@ namespace CppSharp.AST
@@ -380,6 +410,11 @@ namespace CppSharp.AST
|
|
|
|
|
var t = Declaration.Equals(typedef.Declaration); |
|
|
|
|
return t; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
@ -408,6 +443,11 @@ namespace CppSharp.AST
@@ -408,6 +443,11 @@ namespace CppSharp.AST
|
|
|
|
|
|
|
|
|
|
return Original.Equals(decay.Original); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
@ -475,6 +515,11 @@ namespace CppSharp.AST
@@ -475,6 +515,11 @@ namespace CppSharp.AST
|
|
|
|
|
throw new Exception("Unknowed TemplateArgument Kind"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
@ -507,6 +552,11 @@ namespace CppSharp.AST
@@ -507,6 +552,11 @@ namespace CppSharp.AST
|
|
|
|
|
return Arguments.SequenceEqual(type.Arguments) |
|
|
|
|
&& Template.Equals(type.Template); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
@ -529,6 +579,11 @@ namespace CppSharp.AST
@@ -529,6 +579,11 @@ namespace CppSharp.AST
|
|
|
|
|
|
|
|
|
|
return Parameter.Equals(type.Parameter); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
@ -551,6 +606,11 @@ namespace CppSharp.AST
@@ -551,6 +606,11 @@ namespace CppSharp.AST
|
|
|
|
|
|
|
|
|
|
return Replacement.Equals(type.Replacement); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
@ -576,6 +636,11 @@ namespace CppSharp.AST
@@ -576,6 +636,11 @@ namespace CppSharp.AST
|
|
|
|
|
return TemplateSpecialization.Equals(type.TemplateSpecialization) |
|
|
|
|
&& Class.Equals(type.Class); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
@ -615,6 +680,11 @@ namespace CppSharp.AST
@@ -615,6 +680,11 @@ namespace CppSharp.AST
|
|
|
|
|
|
|
|
|
|
return Type == type.Type; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#region Primitives
|
|
|
|
|
@ -690,6 +760,11 @@ namespace CppSharp.AST
@@ -690,6 +760,11 @@ namespace CppSharp.AST
|
|
|
|
|
|
|
|
|
|
return Type == type.Type; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override int GetHashCode() |
|
|
|
|
{ |
|
|
|
|
return base.GetHashCode(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|