c61379b8b92ed946f06f9ff0227aba4fd4464c53
Roslyn writes [Nullable] for an anonymous type as if the type was not generic, so its type arguments have no flags. Taking one per argument shifted every annotation after the anonymous type, which showed on the cached lambda fields in <>c, and tripped the dummy-flag assert when the shifted stream landed on a generic struct. [Dynamic] and [TupleElementNames] do have entries for those arguments (checked against what Roslyn emits), so only the nullable index skips them.
Description
My contributions to icsharpcode/ILSpy: 16 commits, 3 merged PRs
202 KiB
0 Stars
1 Watchers
0 Forks
Languages
C#
99.9%