Skip to content

Commit

Permalink
Append "Value" to const field names instead of "Const"
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahStolk committed May 31, 2024
1 parent 64f0830 commit e7f6a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Intellenum/MemberGeneration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public static string GenerateConstValuesIfPossible(VoWorkItem item)
sb.AppendLine();
foreach (var memberProperties in item.MemberProperties)
{
sb.AppendLine($"public const {item.UnderlyingTypeFullName} {memberProperties.FieldName}Const = {memberProperties.ValueAsText};");
sb.AppendLine($"public const {item.UnderlyingTypeFullName} {memberProperties.FieldName}Value = {memberProperties.ValueAsText};");
}

return sb.ToString();
Expand Down

0 comments on commit e7f6a03

Please sign in to comment.