2
0

ModuleBuilder.cs 531 B

123456789101112131415161718
  1. using System;
  2. using System.Reflection;
  3. using System.Runtime.CompilerServices;
  4. namespace System.Reflection.Emit {
  5. public class ModuleBuilder : Module {
  6. private IntPtr _impl;
  7. public override string FullyQualifiedName {get { return "FIXME: bah";}}
  8. [MethodImplAttribute(MethodImplOptions.InternalCall)]
  9. private static extern TypeBuilder defineType (ModuleBuilder mb, string name, TypeAttributes attr);
  10. public TypeBuilder DefineType( string name, TypeAttributes attr) {
  11. return defineType (this, name, attr);
  12. }
  13. }
  14. }