mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
Every converter handed back a (Func<ILInstruction>, IType) pair, and the IType was consumed by matchers that ran before the builder. Now that the ILAst instructions carry their own types, InferType() on the built operand answers the same questions, so the type-dependent decisions move into the builders and the pair collapses to the builder alone. Builders that could already fail (ConvertArrayIndex) set the precedent for returning null from inside one; ConvertInstruction propagates that. Assisted-by: Claude:claude-opus-5[1m]:Claude Codepull/4091/head
1 changed files with 442 additions and 362 deletions
Loading…
Reference in new issue