Skip to content

Commit

Permalink
Update Source/DafnyCore/Compilers/Compiler-Csharp.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Fabio Madge <fabio@madge.me>
  • Loading branch information
RustanLeino and fabiomadge authored Nov 29, 2022
1 parent dda06c7 commit ddbf743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/DafnyCore/Compilers/Compiler-Csharp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ protected void DeclareField(string name, bool isPublic, bool isStatic, bool isCo
if (isPublic) {
if (isConst) {
cw.InstanceMemberWriter.Write(
$"{publik}{konst} {virtuall} {typeName} {name} {{get;}}");
$"{publik}{konst}{virtuall} {typeName} {name} {{get;}}");
} else {
cw.InstanceMemberWriter.Write(
$"{publik}{virtuall} {typeName} {name} {{get; set;}}");
Expand Down

0 comments on commit ddbf743

Please sign in to comment.