internal DynamicResolver(DynamicILGenerator ilGenerator) { this.m_stackSize = ilGenerator.GetMaxStackSize(); this.m_exceptions = ilGenerator.GetExceptions(); this.m_code = ilGenerator.BakeByteArray(); this.m_localSignature = ilGenerator.m_localSignature.InternalGetSignatureArray(); this.m_scope = ilGenerator.m_scope; this.m_method = (DynamicMethod) ilGenerator.m_methodBuilder; this.m_method.m_resolver = this; }
internal DynamicResolver(DynamicILGenerator ilGenerator) { this.m_stackSize = ilGenerator.GetMaxStackSize(); this.m_exceptions = ilGenerator.GetExceptions(); this.m_code = ilGenerator.BakeByteArray(); this.m_localSignature = ilGenerator.m_localSignature.InternalGetSignatureArray(); this.m_scope = ilGenerator.m_scope; this.m_method = (DynamicMethod)ilGenerator.m_methodBuilder; this.m_method.m_resolver = this; }