ILSpy IL # Cecil, ICSharpCode.Decompiler. IL "IL AST", , , , .
:
var decompiled = new ILAstBuilder().Build(method, true, new DecompilerContext(module));
var block = new ILBlock(decompiled);
new ILInlining(block).InlineAllVariables();
( Release):
static double F()
{
return Math.Pow(2, Math.Abs(Math.Max(17, "123".GetHashCode())));
}
block :
ret(call(Math::Pow, ldc.r8(2), conv.r8(call(Math::Abs, call(Math::Max, ldc.i4(17), callvirt(object::GetHashCode, ldstr("123")))))));
, ICSharpCode.Decompiler, .