示例#1
0
 public void ReplayTo(IILDynamicType target)
 {
     _trueContent = (IILMethodPrivate)target.DefineMethod(_name, _returns, _parameters, _methodAttributes);
     if (_expectedLength >= 0)
     {
         _trueContent.ExpectedLength(_expectedLength);
     }
 }
示例#2
0
            public void ReplayTo(IILDynamicType target)
            {
                var state = ShelveSourceDefinitionBegin(target);

                _trueContent = (IILMethodPrivate)target.DefineMethod(_name, _returns, _parameters, _methodAttributes);
                if (_expectedLength >= 0)
                {
                    _trueContent.ExpectedLength(_expectedLength);
                }
                ShelveSourceDefinitionEnd(state);
            }
示例#3
0
 public void FreeTemps()
 {
     _trueContent = null;
     _ilGen.FreeTemps();
 }