Removed flags from field search

This commit is contained in:
barelyprofessional
2025-10-18 11:33:17 -05:00
parent e770136ca9
commit 3a8df5c76b

View File

@@ -16,7 +16,7 @@ public static class BuiltIn
await using var db = new ApplicationDbContext(); await using var db = new ApplicationDbContext();
logger.Info("Enumerating through fields in the Keys class"); logger.Info("Enumerating through fields in the Keys class");
var keysType = typeof(Keys); var keysType = typeof(Keys);
var fields = keysType.GetFields(BindingFlags.Public | BindingFlags.Instance); var fields = keysType.GetFields();
logger.Info($"Got {fields.Length} fields"); logger.Info($"Got {fields.Length} fields");
foreach (var field in fields) foreach (var field in fields)
{ {