Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.49 KB

File metadata and controls

47 lines (34 loc) · 1.49 KB

Samples

This folder contains three small starter samples plus one larger inspector demo.

Run

Fast traversal:

dotnet run --project samples/FastTraversalSample -- <assembly-path>

Rich decoding:

dotnet run --project samples/RichDecodingSample -- <assembly-path> [full-type-name]

Cross assembly resolution:

dotnet run --project samples/ResolutionSample -- <entry-assembly-path> [search-path...]

Full end to end inspection:

dotnet run --project samples/InspectorSample -- <assembly-path> [--type <full-type-name>] [--search <directory>]...

When using InspectorSample, pass real dependency directories with --search if you want the resolution section to bind framework and external references cleanly.

Sample Map

  • FastTraversalSample: stay on the fast tier and use contexts and struct enumerators for cheap traversal.
  • RichDecodingSample: decode signatures and custom attributes into richer object graphs when readability matters more than raw traversal cost.
  • ResolutionSample: load a dependency closure and resolve type and member references across assemblies.
  • InspectorSample: a fuller tool style sample that mixes fast traversal, selective rich decoding, raw PEReader access, and optional cross assembly resolution in one flow. Treat this as a demo tool or reference sample, not as the first sample to read.