mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
GetChild/GetChildren/SetChild take a typed CSharpSlotInfo<T> and infer the child type from the slot, delegating to the existing kind-based lookups. Call sites can pass a node's static slot (e.g. node.GetChild(PropertyDeclaration.GetterSlot)) instead of an explicit type argument plus a SlotKind. Assisted-by: Claude:claude-opus-4-8:Claude Codepull/3807/head
1 changed files with 12 additions and 0 deletions
Loading…
Reference in new issue