Example #1
0
 internal ConstructorBuilder(TypeBuilder declaringType, string name, MethodAttributes attributes, CallingConventions callingConventions, Type[] parameterTypes)
 {
     _base = new MethodBuilderBase(declaringType, name, attributes, callingConventions);
     SetImplementationFlags(MethodImplAttributes.IL);
     SetParameters(parameterTypes);
 }
Example #2
0
 internal ILGenerator(MethodBuilderBase methodBuilder)
 {
     _methodBuilder = methodBuilder;
 }