ModuleBuilder.cs 684 B

12345678910111213141516171819202122232425262728
  1. //
  2. // System.Reflection.Emit/ModuleBuilder.cs
  3. //
  4. // Author:
  5. // Paolo Molaro ([email protected])
  6. //
  7. // (C) 2001 Ximian, Inc. http://www.ximian.com
  8. //
  9. using System;
  10. using System.Reflection;
  11. using System.Runtime.CompilerServices;
  12. namespace System.Reflection.Emit {
  13. public class ModuleBuilder : Module {
  14. private IntPtr _impl;
  15. public override string FullyQualifiedName {get { return "FIXME: bah";}}
  16. [MethodImplAttribute(MethodImplOptions.InternalCall)]
  17. private static extern TypeBuilder defineType (ModuleBuilder mb, string name, TypeAttributes attr);
  18. public TypeBuilder DefineType( string name, TypeAttributes attr) {
  19. return defineType (this, name, attr);
  20. }
  21. }
  22. }