Summary
KbdActions<TKey, UClass, VDelegate> enforces a duplicate-registration guard in Add, but the
IEnumerable<UClass> constructor bypasses it entirely. Production code registers a duplicate through
that constructor, which makes a subsequent lookup for that key throw InvalidOperationException.
Environment
(not provided in potential file)
Steps to Reproduce
(not provided in potential file)
Expected Behavior
(not provided in potential file)
Actual Behavior
(not provided in potential file)
Logs / Screenshots
(not provided in potential file)
Impact / Severity
(not provided in potential file)
Source
From: docs/features/potential/2026-08-07-kbdactions-enumerable-ctor-bypasses-duplicate-guard.md
Summary
KbdActions<TKey, UClass, VDelegate>enforces a duplicate-registration guard inAdd, but theIEnumerable<UClass>constructor bypasses it entirely. Production code registers a duplicate throughthat constructor, which makes a subsequent lookup for that key throw
InvalidOperationException.Environment
(not provided in potential file)
Steps to Reproduce
(not provided in potential file)
Expected Behavior
(not provided in potential file)
Actual Behavior
(not provided in potential file)
Logs / Screenshots
(not provided in potential file)
Impact / Severity
(not provided in potential file)
Source
From: docs/features/potential/2026-08-07-kbdactions-enumerable-ctor-bypasses-duplicate-guard.md