58 base(declaringType, name, sig, method, returnType, parameterTypes,
modifiers, flags)
61 Debug.Assert(method ==
null || method.DeclaringType.IsInterface);
62 this.ghostMethod = ghostMethod;
69 ilgen.Emit(OpCodes.Call, defaultImpl);
72 protected override void CallvirtImpl(
CodeEmitter ilgen)
74 ilgen.Emit(OpCodes.Call, ghostMethod);
79#if !IMPORTER && !EXPORTER && !FIRST_PASS
82 internal override object Invoke(
object obj,
object[] args)
91 this.defaultImpl = impl;
101 internal void SetGhostMethod(MethodBuilder mb)
103 this.ghostMethod = mb;
106 internal MethodBuilder GetGhostMethod()
108 return (MethodBuilder)ghostMethod;