public void RegisterWith(IEmittableOperandProvider emittableOperandProvider, MutableMethodInfo method) { ArgumentUtility.CheckNotNull("emittableOperandProvider", emittableOperandProvider); ArgumentUtility.CheckNotNull("method", method); emittableOperandProvider.AddMapping(method, _methodBuilder); }
public void RegisterWith(IEmittableOperandProvider emittableOperandProvider, MutableConstructorInfo constructor) { ArgumentUtility.CheckNotNull("emittableOperandProvider", emittableOperandProvider); ArgumentUtility.CheckNotNull("constructor", constructor); emittableOperandProvider.AddMapping(constructor, _constructorBuilder); }
public void RegisterWith(IEmittableOperandProvider emittableOperandProvider, MutableFieldInfo field) { ArgumentUtility.CheckNotNull("emittableOperandProvider", emittableOperandProvider); ArgumentUtility.CheckNotNull("field", field); emittableOperandProvider.AddMapping(field, _fieldBuilder); }
public void RegisterWith(IEmittableOperandProvider emittableOperandProvider, MutableGenericParameter genericParameter) { ArgumentUtility.CheckNotNull("emittableOperandProvider", emittableOperandProvider); ArgumentUtility.CheckNotNull("genericParameter", genericParameter); emittableOperandProvider.AddMapping(genericParameter, _genericTypeParameterBuilder); }
public void RegisterWith(IEmittableOperandProvider emittableOperandProvider, MutableType type) { ArgumentUtility.CheckNotNull("emittableOperandProvider", emittableOperandProvider); ArgumentUtility.CheckNotNull("type", type); emittableOperandProvider.AddMapping(type, _typeBuilder); }
public void AddMapping(MutableType mappedType, Type emittableType) { _emittableOperandProvider.AddMapping(mappedType, emittableType); }