From e7f6a03bc9fc6da1237c1fc0f6a842bf7cc349f0 Mon Sep 17 00:00:00 2001 From: Noah Stolk <31079637+NoahStolk@users.noreply.github.com> Date: Thu, 30 May 2024 11:03:45 +0200 Subject: [PATCH] Append "Value" to const field names instead of "Const" --- src/Intellenum/MemberGeneration.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Intellenum/MemberGeneration.cs b/src/Intellenum/MemberGeneration.cs index 29ca4655..d9a7c46d 100644 --- a/src/Intellenum/MemberGeneration.cs +++ b/src/Intellenum/MemberGeneration.cs @@ -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();