mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
Structural recognition of compiler-generated code needs method bodies as ILAst decompiled with a fixed set of settings, so that recognition does not depend on user-visible options. RecordDecompiler had this pipeline as a private helper; hoist it to CSharpDecompiler so other recognizers can share it, deriving the generic context from the method's declaring type instead of a captured type definition. Assisted-by: Claude:claude-fable-5:Claude Code Claude-Session: https://claude.ai/code/session_01Btdypgm8utyxqt1Etn2BDipull/3889/head
2 changed files with 52 additions and 37 deletions
Loading…
Reference in new issue