mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-26 16:37:11 +02:00
GetHashCode should not reference mutable fields (#5331)
This commit is contained in:
parent
402e0f236d
commit
68f231e714
7 changed files with 9 additions and 9 deletions
|
@ -5,7 +5,7 @@ namespace Spv.Generator
|
|||
{
|
||||
internal struct ConstantKey : IEquatable<ConstantKey>
|
||||
{
|
||||
private Instruction _constant;
|
||||
private readonly Instruction _constant;
|
||||
|
||||
public ConstantKey(Instruction constant)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue