Does NOT have to be in this PR but I think we should maybe just have a readonly struct instead of an allocated dictionary? _Originally posted by @rainersigwald in https://github.com/dotnet/msbuild/pull/11543#discussion_r2229683349_