internal ILBody Load()
        {
            _body = new ILBody();
            _body.MaxStackSize = _rawBody.MaxStackSize;
            _body.InitLocals   = _rawBody.InitLocals;

            LoadInstructions();
            LoadExceptionHandlers();
            LoadLocalVariables();
            LoadBranches();

            return(_body);
        }
Esempio n. 2
0
 internal ILBuilder(ILBody body)
 {
     _body = body;
 }
Esempio n. 3
0
 public StackSizeCalculator(ILBody body, MethodDeclaration method)
 {
     _body   = body;
     _method = method;
 }