2 Commits
Author SHA1 Message Date
dualfroz c61379b8b9 Fix #4016: Don't consume nullable flags for anonymous type arguments
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.
2026-10-03 02:29:11 +02:00
upstream 2dc58c945d Upstream icsharpcode/ILSpy state of the touched files before 23d0066f49 2026-10-03 02:29:11 +02:00