mirror of
https://github.com/icsharpcode/ILSpy.git
synced 2026-10-12 02:15:58 +00:00
Decompiling one method or property previously required decompiling its whole type and searching the output, which is wasteful for scripted and agent-driven use against large assemblies. The new -m|--member option accepts an XML documentation id string (the syntax of compiler-generated documentation files and of the UI's --navigateto option) or a metadata token in 0x06000005 form, resolves it against the main module (with a bounds check for tokens and distinct error messages for malformed ids, unknown members, and members of other modules), and prints just that member through the engine's single-member decompilation path. The tests seed a new ICSharpCode.ILSpyCmd.Tests project (part of the XPlat and Desktop solution filters and of the per-project CI test steps), driving the real Main in-process via InternalsVisibleTo, so future ilspycmd features have a dedicated home for CLI tests. Assisted-by: Claude:claude-fable-5:Claude Code
19 lines
700 B
Plaintext
19 lines
700 B
Plaintext
{
|
|
"solution": {
|
|
"path": "ILSpy.sln",
|
|
"projects": [
|
|
"ICSharpCode.BamlDecompiler\\ICSharpCode.BamlDecompiler.csproj",
|
|
"ICSharpCode.Decompiler.TestRunner\\ICSharpCode.Decompiler.TestRunner.csproj",
|
|
"ICSharpCode.Decompiler.Tests\\ICSharpCode.Decompiler.Tests.csproj",
|
|
"ICSharpCode.ILSpyCmd.Tests\\ICSharpCode.ILSpyCmd.Tests.csproj",
|
|
"ICSharpCode.Decompiler\\ICSharpCode.Decompiler.csproj",
|
|
"ICSharpCode.ILSpyX\\ICSharpCode.ILSpyX.csproj",
|
|
"ILSpy.BamlDecompiler.Tests\\ILSpy.BamlDecompiler.Tests.csproj",
|
|
"ILSpy.ReadyToRun\\ILSpy.ReadyToRun.csproj",
|
|
"ILSpy.Tests.Windows\\ILSpy.Tests.Windows.csproj",
|
|
"ILSpy.Tests\\ILSpy.Tests.csproj",
|
|
"ILSpy\\ILSpy.csproj"
|
|
]
|
|
}
|
|
}
|