public void ReplayTo(IILDynamicType target) { _trueContent = target.DefineConstructor(_parameters); if (_expectedLength >= 0) { _trueContent.ExpectedLength(_expectedLength); } }
public void ReplayTo(IILDynamicType target) { var state = ShelveSourceDefinitionBegin(target); _trueContent = target.DefineConstructor(_parameters); if (_expectedLength >= 0) { _trueContent.ExpectedLength(_expectedLength); } ShelveSourceDefinitionEnd(state); }