Skip to content

Commit a3008a8

Browse files
committed
Fix comment and variable name
1 parent 9d1a28f commit a3008a8

File tree

1 file changed

+2
-2
lines changed
  • crates/bindings-csharp/BSATN.Codegen

1 file changed

+2
-2
lines changed

crates/bindings-csharp/BSATN.Codegen/Type.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public abstract string EqualsStatement(
101101
);
102102

103103
/// <summary>
104-
/// Get a statement that declares outVar and assigns assigns the hash code of inVar to it.
104+
/// Get a statement that declares outVar and assigns the hash code of inVar to it.
105105
///
106106
/// This can't be an expression because some types need to use loops.
107107
/// </summary>
@@ -489,7 +489,7 @@ public override string ToString() =>
489489
bsatnDecls
490490
.Select(member =>
491491
{
492-
var hashName = $"hash{member.Name}";
492+
var hashName = $"___hash{member.Name}";
493493
494494
return $"""
495495
case {member.Name}(var inner):

0 commit comments

Comments
 (0)