VS Code
- IL Complete (用于语法高亮和代码片段)
- Code Runner (用于编译和运行)
"code-runner.executorMap": {
"csharp": "cd $dir && csc $fileName && echo =====compile_$fileNameWithoutExt.exe===== && .\\$fileNameWithoutExt.exe && echo =====ildasm_$fileNameWithoutExt.exe.il===== && ildasm /output=$fileNameWithoutExt.exe.il $fileNameWithoutExt.exe",
"il": "cd $dir && ilasm.exe /OUTPUT=$fileName.exe $fileName && echo =====$fileName.exe===== && .\\$fileName.exe"
},
"code-runner.runInTerminal": true
- ilasm & csc 在C:\Windows\Microsoft.NET\Framework<version>\
- ildasm 在 C:\Program Files (x86)\Microsoft SDKs\Windows\vXX.XX\bin\NETFX X.X Tools\
- List of CIL instructions
- OpCodes
- microclr (一个很好的学习IL的入口,可以完全跳过PE结构,metadata等等内容)