This commit is contained in:
Loretta 2024-07-01 18:32:38 +02:00
parent cae0e8db24
commit ebba26e0bc
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ public sealed class ConstHelper
private static string GetNameByValue(IReadOnlyDictionary<int, string>? namesByValue, int value) private static string GetNameByValue(IReadOnlyDictionary<int, string>? namesByValue, int value)
=> namesByValue != null && namesByValue.TryGetValue(value, out var fieldName) ? $"[{fieldName}:{value}]" : $"...:{value}]"; => namesByValue != null && namesByValue.TryGetValue(value, out var fieldName) ? $"[{fieldName}_{value}]" : $"..._{value}]";
private static Dictionary<int, string>? GetNamesByType(string typeName) private static Dictionary<int, string>? GetNamesByType(string typeName)
{ {