[Option("-r|--referencepath <path>", "Path to a directory containing dependencies of the assembly that is being decompiled.", CommandOptionType.MultipleValue)]
[Option("-r|--referencepath <path>", "Path to a directory containing dependencies of the assembly that is being decompiled.", CommandOptionType.MultipleValue)]
publicstring[]ReferencePaths{get;}=newstring[0];
publicstring[]ReferencePaths{get;}
[Option("--no-dead-code", "Remove dead code.", CommandOptionType.NoValue)]
[Option("--no-dead-code", "Remove dead code.", CommandOptionType.NoValue)]
publicboolRemoveDeadCode{get;}
publicboolRemoveDeadCode{get;}
@ -100,14 +107,29 @@ Examples:
[Option("--no-dead-stores", "Remove dead stores.", CommandOptionType.NoValue)]
[Option("--no-dead-stores", "Remove dead stores.", CommandOptionType.NoValue)]
publicboolRemoveDeadStores{get;}
publicboolRemoveDeadStores{get;}
[Option("-d|--dump-package", "Dump package assembiles into a folder. This requires the output directory option.", CommandOptionType.NoValue)]
[Option("-d|--dump-package", "Dump package assemblies into a folder. This requires the output directory option.", CommandOptionType.NoValue)]
publicboolDumpPackageFlag{get;}
publicboolDumpPackageFlag{get;}
[Option("--nested-directories", "Use nested directories for namespaces.", CommandOptionType.NoValue)]
[Option("--nested-directories", "Use nested directories for namespaces.", CommandOptionType.NoValue)]
publicboolNestedDirectories{get;}
publicboolNestedDirectories{get;}
privateintOnExecute(CommandLineApplicationapp)
[Option("--disable-updatecheck", "If using ilspycmd in a tight loop or fully automated scenario, you might want to disable the automatic update check.", CommandOptionType.NoValue)]