Skip to content

Commit

Permalink
BUGFIX: Use SignatureComparer in runtime type manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
Washi1337 committed Mar 20, 2024
1 parent ce8ddfe commit c77651d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Collections.Concurrent;
using System.Collections.Generic;
using AsmResolver.DotNet;
using AsmResolver.DotNet.Signatures;

namespace Echo.Platforms.AsmResolver.Emulation.Runtime;

Expand All @@ -12,7 +13,7 @@ public sealed class RuntimeTypeManager
private readonly CilVirtualMachine _machine;

private readonly ConcurrentDictionary<ITypeDescriptor, TypeInitialization> _initializations
= new(EqualityComparer<ITypeDescriptor>.Default);
= new(SignatureComparer.Default);

/// <summary>
/// Creates a new runtime type manager.
Expand Down

0 comments on commit c77651d

Please sign in to comment.