Some fixes and some implementation bits. More classes.
[mono.git] / mcs / class / corlib / System / AppDomain.cs
1 using System;
2 using System.Reflection;
3 using System.Reflection.Emit;
4 using System.Runtime.CompilerServices;
5
6 namespace System {
7         public interface _AppDomain {
8         }
9         public sealed class AppDomain /* : MarshalByRefObject , _AppDomain, IEvidenceFactory */ {
10
11                 [MethodImplAttribute(MethodImplOptions.InternalCall)]
12                 private static extern AppDomain getCurDomain ();
13                 
14                 public static AppDomain CurrentDomain {
15                         get { return getCurDomain ();}
16                 }
17                 [MethodImplAttribute(MethodImplOptions.InternalCall)]
18                 private static extern AssemblyBuilder defineAssembly (AppDomain domain, AssemblyName name, AssemblyBuilderAccess access);
19                 public AssemblyBuilder DefineDynamicAssembly( AssemblyName name, AssemblyBuilderAccess access) {
20                         return defineAssembly (this, name, access);
21                 }
22
23
24         
25         }
26
27
28 }