mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-25 22:15:57 +00:00
Add the recompiler, Windows runtime, tools and docs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3d73290520
commit
19c9b648d1
558 files changed
+119174
-10
No files matched your search
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
|
||||
namespace Spv.Generator
|
||||
{
|
||||
internal class DeterministicStringKey : IEquatable<DeterministicStringKey>
|
||||
{
|
||||
private readonly string _value;
|
||||
|
||||
public DeterministicStringKey(string value)
|
||||
{
|
||||
_value = value;
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return DeterministicHashCode.GetHashCode(_value);
|
||||
}
|
||||
|
||||
public bool Equals(DeterministicStringKey other)
|
||||
{
|
||||
return _value == other?._value;
|
||||
}
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
return obj is DeterministicStringKey key && Equals(key);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user