mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
18 lines
431 B
C#
18 lines
431 B
C#
using System.Collections.Generic;
|
|
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
|
|
|
namespace Robust.Serialization.Generator;
|
|
|
|
public sealed class DataDefinitionComparer : IEqualityComparer<TypeDeclarationSyntax>
|
|
{
|
|
public bool Equals(TypeDeclarationSyntax x, TypeDeclarationSyntax y)
|
|
{
|
|
return x.Equals(y);
|
|
}
|
|
|
|
public int GetHashCode(TypeDeclarationSyntax type)
|
|
{
|
|
return type.GetHashCode();
|
|
}
|
|
}
|