GetHashCode should not reference mutable fields (#5331)
This commit is contained in:
parent
649d372f7d
commit
58907e2c29
7 changed files with 9 additions and 9 deletions
|
@ -8,7 +8,7 @@ namespace Spv.Generator
|
|||
{
|
||||
public OperandType Type => OperandType.String;
|
||||
|
||||
private string _value;
|
||||
private readonly string _value;
|
||||
|
||||
public LiteralString(string value)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue