Files
Dec2017-Script-Dump/mscorlib/System/_AppDomain.cs
T
2026-06-04 11:42:34 +02:00

515 lines
42 KiB
C#

using System;
using System.Globalization;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.InteropServices;
using System.Runtime.Remoting;
using System.Security;
using System.Security.Policy;
using System.Security.Principal;
namespace System
{
/// <summary>Exposes the public members of the <see cref="T:System.AppDomain" /> class to unmanaged code.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x020006C2 RID: 1730
[Guid("05F696DC-2B29-3663-AD8B-C4389CF2A713")]
[ComVisible(true)]
[CLSCompliant(false)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface _AppDomain
{
/// <summary>Provides COM objects with version-independent access to the <see cref="E:System.AppDomain.AssemblyLoad" /> event.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x14000010 RID: 16
// (add) Token: 0x06004141 RID: 16705
// (remove) Token: 0x06004142 RID: 16706
event AssemblyLoadEventHandler AssemblyLoad;
/// <summary>Provides COM objects with version-independent access to the <see cref="E:System.AppDomain.AssemblyResolve" /> event.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x14000011 RID: 17
// (add) Token: 0x06004143 RID: 16707
// (remove) Token: 0x06004144 RID: 16708
event ResolveEventHandler AssemblyResolve;
/// <summary>Provides COM objects with version-independent access to the <see cref="E:System.AppDomain.DomainUnload" /> event.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x14000012 RID: 18
// (add) Token: 0x06004145 RID: 16709
// (remove) Token: 0x06004146 RID: 16710
event EventHandler DomainUnload;
/// <summary>Provides COM objects with version-independent access to the <see cref="E:System.AppDomain.ProcessExit" /> event.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x14000013 RID: 19
// (add) Token: 0x06004147 RID: 16711
// (remove) Token: 0x06004148 RID: 16712
event EventHandler ProcessExit;
/// <summary>Provides COM objects with version-independent access to the <see cref="E:System.AppDomain.ResourceResolve" /> event.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x14000014 RID: 20
// (add) Token: 0x06004149 RID: 16713
// (remove) Token: 0x0600414A RID: 16714
event ResolveEventHandler ResourceResolve;
/// <summary>Provides COM objects with version-independent access to the <see cref="E:System.AppDomain.TypeResolve" /> event.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x14000015 RID: 21
// (add) Token: 0x0600414B RID: 16715
// (remove) Token: 0x0600414C RID: 16716
event ResolveEventHandler TypeResolve;
/// <summary>Provides COM objects with version-independent access to the <see cref="E:System.AppDomain.UnhandledException" /> event.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x14000016 RID: 22
// (add) Token: 0x0600414D RID: 16717
// (remove) Token: 0x0600414E RID: 16718
event UnhandledExceptionEventHandler UnhandledException;
/// <summary>Provides COM objects with version-independent access to the <see cref="P:System.AppDomain.BaseDirectory" /> property.</summary>
/// <returns>The base directory that the assembly resolver uses to probe for assemblies.</returns>
/// <filterpriority>2</filterpriority>
// Token: 0x17000C0D RID: 3085
// (get) Token: 0x0600414F RID: 16719
string BaseDirectory { get; }
/// <summary>Provides COM objects with version-independent access to the <see cref="P:System.AppDomain.DynamicDirectory" /> property.</summary>
/// <returns>Get the directory that the assembly resolver uses to probe for dynamically-created assemblies.</returns>
/// <filterpriority>2</filterpriority>
// Token: 0x17000C0E RID: 3086
// (get) Token: 0x06004150 RID: 16720
string DynamicDirectory { get; }
/// <summary>Provides COM objects with version-independent access to the <see cref="P:System.AppDomain.Evidence" /> property.</summary>
/// <returns>Gets the <see cref="T:System.Security.Policy.Evidence" /> associated with this application domain that is used as input to the security policy.</returns>
/// <filterpriority>2</filterpriority>
// Token: 0x17000C0F RID: 3087
// (get) Token: 0x06004151 RID: 16721
Evidence Evidence { get; }
/// <summary>Provides COM objects with version-independent access to the <see cref="P:System.AppDomain.FriendlyName" /> property.</summary>
/// <returns>The friendly name of this application domain.</returns>
/// <filterpriority>2</filterpriority>
// Token: 0x17000C10 RID: 3088
// (get) Token: 0x06004152 RID: 16722
string FriendlyName { get; }
/// <summary>Provides COM objects with version-independent access to the <see cref="P:System.AppDomain.RelativeSearchPath" /> property.</summary>
/// <returns>The path under the base directory where the assembly resolver should probe for private assemblies.</returns>
/// <filterpriority>2</filterpriority>
// Token: 0x17000C11 RID: 3089
// (get) Token: 0x06004153 RID: 16723
string RelativeSearchPath { get; }
/// <summary>Provides COM objects with version-independent access to the <see cref="P:System.AppDomain.ShadowCopyFiles" /> property.</summary>
/// <returns>true if the application domain is configured to shadow copy files; otherwise, false.</returns>
/// <filterpriority>2</filterpriority>
// Token: 0x17000C12 RID: 3090
// (get) Token: 0x06004154 RID: 16724
bool ShadowCopyFiles { get; }
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.AppendPrivatePath(System.String)" /> method.</summary>
/// <param name="path">The name of the directory to be appended to the private path. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004155 RID: 16725
void AppendPrivatePath(string path);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.ClearPrivatePath" /> method.</summary>
/// <filterpriority>2</filterpriority>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="ControlAppDomain" />
/// </PermissionSet>
// Token: 0x06004156 RID: 16726
void ClearPrivatePath();
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.ClearShadowCopyPath" /> method.</summary>
/// <filterpriority>2</filterpriority>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="ControlAppDomain" />
/// </PermissionSet>
// Token: 0x06004157 RID: 16727
void ClearShadowCopyPath();
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.CreateInstance(System.String,System.String)" /> method.</summary>
/// <returns>An object that is a wrapper for the new instance specified by <paramref name="typeName" />. The return value needs to be unwrapped to access the real object.</returns>
/// <param name="assemblyName">The display name of the assembly. See <see cref="P:System.Reflection.Assembly.FullName" />.</param>
/// <param name="typeName">The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the <see cref="P:System.Type.FullName" /> property. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004158 RID: 16728
ObjectHandle CreateInstance(string assemblyName, string typeName);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.CreateInstance(System.String,System.String,System.Object[])" /> method overload.</summary>
/// <returns>An object that is a wrapper for the new instance specified by <paramref name="typeName" />. The return value needs to be unwrapped to access the real object.</returns>
/// <param name="assemblyName">The display name of the assembly. See <see cref="P:System.Reflection.Assembly.FullName" />.</param>
/// <param name="typeName">The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the <see cref="P:System.Type.FullName" /> property. </param>
/// <param name="activationAttributes">An array of one or more attributes that can participate in activation. Typically, an array that contains a single <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" /> object. The <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" /> specifies the URL that is required to activate a remote object. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004159 RID: 16729
ObjectHandle CreateInstance(string assemblyName, string typeName, object[] activationAttributes);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.CreateInstance(System.String,System.String,System.Boolean,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo,System.Object[],System.Security.Policy.Evidence)" /> method overload.</summary>
/// <returns>An object that is a wrapper for the new instance specified by <paramref name="typeName" />. The return value needs to be unwrapped to access the real object.</returns>
/// <param name="assemblyName">The display name of the assembly. See <see cref="P:System.Reflection.Assembly.FullName" />.</param>
/// <param name="typeName">The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the <see cref="P:System.Type.FullName" /> property. </param>
/// <param name="ignoreCase">A Boolean value specifying whether to perform a case-sensitive search or not. </param>
/// <param name="bindingAttr">A combination of zero or more bit flags that affect the search for the <paramref name="typeName" /> constructor. If <paramref name="bindingAttr" /> is zero, a case-sensitive search for public constructors is conducted. </param>
/// <param name="binder">An object that enables the binding, coercion of argument types, invocation of members, and retrieval of <see cref="T:System.Reflection.MemberInfo" /> objects using reflection. If <paramref name="binder" /> is null, the default binder is used. </param>
/// <param name="args">The arguments to pass to the constructor. This array of arguments must match in number, order, and type the parameters of the constructor to invoke. If the default constructor is preferred, <paramref name="args" /> must be an empty array or null. </param>
/// <param name="culture">Culture-specific information that governs the coercion of <paramref name="args" /> to the formal types declared for the <paramref name="typeName" /> constructor. If <paramref name="culture" /> is null, the <see cref="T:System.Globalization.CultureInfo" /> for the current thread is used. </param>
/// <param name="activationAttributes">An array of one or more attributes that can participate in activation. Typically, an array that contains a single <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" /> object. The <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" /> specifies the URL that is required to activate a remote object. </param>
/// <param name="securityAttributes">Information used to authorize creation of <paramref name="typeName" />. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x0600415A RID: 16730
ObjectHandle CreateInstance(string assemblyName, string typeName, bool ignoreCase, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture, object[] activationAttributes, Evidence securityAttributes);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.CreateInstanceFrom(System.String,System.String)" /> method overload.</summary>
/// <returns>An object that is a wrapper for the new instance, or null if <paramref name="typeName" /> is not found. The return value needs to be unwrapped to access the real object.</returns>
/// <param name="assemblyFile">The name, including the path, of a file that contains an assembly that defines the requested type. The assembly is loaded using the <see cref="M:System.Reflection.Assembly.LoadFrom(System.String)" /> method.</param>
/// <param name="typeName">The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the <see cref="P:System.Type.FullName" /> property. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x0600415B RID: 16731
ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.CreateInstanceFrom(System.String,System.String,System.Object[])" /> method overload.</summary>
/// <returns>An object that is a wrapper for the new instance, or null if <paramref name="typeName" /> is not found. The return value needs to be unwrapped to access the real object.</returns>
/// <param name="assemblyFile">The name, including the path, of a file that contains an assembly that defines the requested type. The assembly is loaded using the <see cref="M:System.Reflection.Assembly.LoadFrom(System.String)" /> method. </param>
/// <param name="typeName">The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the <see cref="P:System.Type.FullName" /> property. </param>
/// <param name="activationAttributes">An array of one or more attributes that can participate in activation. Typically, an array that contains a single <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" /> object. The <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" /> specifies the URL that is required to activate a remote object. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x0600415C RID: 16732
ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName, object[] activationAttributes);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.CreateInstanceFrom(System.String,System.String,System.Boolean,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo,System.Object[],System.Security.Policy.Evidence)" /> method overload.</summary>
/// <returns>An object that is a wrapper for the new instance, or null if <paramref name="typeName" /> is not found. The return value needs to be unwrapped to access the real object.</returns>
/// <param name="assemblyFile">The name, including the path, of a file that contains an assembly that defines the requested type. The assembly is loaded using the <see cref="M:System.Reflection.Assembly.LoadFrom(System.String)" /> method.</param>
/// <param name="typeName">The fully qualified name of the requested type, including the namespace but not the assembly, as returned by the <see cref="P:System.Type.FullName" /> property. </param>
/// <param name="ignoreCase">A Boolean value specifying whether to perform a case-sensitive search or not. </param>
/// <param name="bindingAttr">A combination of zero or more bit flags that affect the search for the <paramref name="typeName" /> constructor. If <paramref name="bindingAttr" /> is zero, a case-sensitive search for public constructors is conducted. </param>
/// <param name="binder">An object that enables the binding, coercion of argument types, invocation of members, and retrieval of <see cref="T:System.Reflection.MemberInfo" /> objects through reflection. If <paramref name="binder" /> is null, the default binder is used. </param>
/// <param name="args">The arguments to pass to the constructor. This array of arguments must match in number, order, and type the parameters of the constructor to invoke. If the default constructor is preferred, <paramref name="args" /> must be an empty array or null. </param>
/// <param name="culture">Culture-specific information that governs the coercion of <paramref name="args" /> to the formal types declared for the <paramref name="typeName" /> constructor. If <paramref name="culture" /> is null, the <see cref="T:System.Globalization.CultureInfo" /> for the current thread is used. </param>
/// <param name="activationAttributes">An array of one or more attributes that can participate in activation. Typically, an array that contains a single <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" /> object. The <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" /> specifies the URL that is required to activate a remote object. </param>
/// <param name="securityAttributes">Information used to authorize creation of <paramref name="typeName" />. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x0600415D RID: 16733
ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName, bool ignoreCase, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture, object[] activationAttributes, Evidence securityAttributes);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess)" /> method overload.</summary>
/// <returns>Represents the dynamic assembly created.</returns>
/// <param name="name">The unique identity of the dynamic assembly. </param>
/// <param name="access">The access mode for the dynamic assembly. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x0600415E RID: 16734
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.Security.Policy.Evidence)" /> method overload.</summary>
/// <returns>Represents the dynamic assembly created.</returns>
/// <param name="name">The unique identity of the dynamic assembly. </param>
/// <param name="access">The mode in which the dynamic assembly will be accessed. </param>
/// <param name="evidence">The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x0600415F RID: 16735
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, Evidence evidence);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String)" /> method overload.</summary>
/// <returns>Represents the dynamic assembly created.</returns>
/// <param name="name">The unique identity of the dynamic assembly. </param>
/// <param name="access">The mode in which the dynamic assembly will be accessed. </param>
/// <param name="dir">The name of the directory where the assembly will be saved. If <paramref name="dir" /> is null, the directory defaults to the current directory. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004160 RID: 16736
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, string dir);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String,System.Security.Policy.Evidence)" /> method overload.</summary>
/// <returns>Represents the dynamic assembly created.</returns>
/// <param name="name">The unique identity of the dynamic assembly. </param>
/// <param name="access">The mode in which the dynamic assembly will be accessed. </param>
/// <param name="dir">The name of the directory where the assembly will be saved. If <paramref name="dir" /> is null, the directory defaults to the current directory. </param>
/// <param name="evidence">The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004161 RID: 16737
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, string dir, Evidence evidence);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet)" /> method overload.</summary>
/// <returns>Represents the dynamic assembly created.</returns>
/// <param name="name">The unique identity of the dynamic assembly. </param>
/// <param name="access">The mode in which the dynamic assembly will be accessed. </param>
/// <param name="requiredPermissions">The required permissions request. </param>
/// <param name="optionalPermissions">The optional permissions request. </param>
/// <param name="refusedPermissions">The refused permissions request. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004162 RID: 16738
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.Security.Policy.Evidence,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet)" /> method overload.</summary>
/// <returns>Represents the dynamic assembly created.</returns>
/// <param name="name">The unique identity of the dynamic assembly. </param>
/// <param name="access">The mode in which the dynamic assembly will be accessed. </param>
/// <param name="evidence">The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution. </param>
/// <param name="requiredPermissions">The required permissions request. </param>
/// <param name="optionalPermissions">The optional permissions request. </param>
/// <param name="refusedPermissions">The refused permissions request. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004163 RID: 16739
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet)" /> method overload.</summary>
/// <returns>Represents the dynamic assembly created.</returns>
/// <param name="name">The unique identity of the dynamic assembly. </param>
/// <param name="access">The mode in which the dynamic assembly will be accessed. </param>
/// <param name="dir">The name of the directory where the assembly will be saved. If <paramref name="dir" /> is null, the directory defaults to the current directory. </param>
/// <param name="requiredPermissions">The required permissions request. </param>
/// <param name="optionalPermissions">The optional permissions request. </param>
/// <param name="refusedPermissions">The refused permissions request. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004164 RID: 16740
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, string dir, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String,System.Security.Policy.Evidence,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet)" /> method overload.</summary>
/// <returns>Represents the dynamic assembly created.</returns>
/// <param name="name">The unique identity of the dynamic assembly. </param>
/// <param name="access">The mode in which the dynamic assembly will be accessed. </param>
/// <param name="dir">The name of the directory where the assembly will be saved. If <paramref name="dir" /> is null, the directory defaults to the current directory. </param>
/// <param name="evidence">The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution. </param>
/// <param name="requiredPermissions">The required permissions request. </param>
/// <param name="optionalPermissions">The optional permissions request. </param>
/// <param name="refusedPermissions">The refused permissions request. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004165 RID: 16741
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, string dir, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess,System.String,System.Security.Policy.Evidence,System.Security.PermissionSet,System.Security.PermissionSet,System.Security.PermissionSet,System.Boolean)" /> method overload.</summary>
/// <returns>Represents the dynamic assembly created.</returns>
/// <param name="name">The unique identity of the dynamic assembly. </param>
/// <param name="access">The mode in which the dynamic assembly will be accessed. </param>
/// <param name="dir">The name of the directory where the dynamic assembly will be saved. If <paramref name="dir" /> is null, the directory defaults to the current directory. </param>
/// <param name="evidence">The evidence supplied for the dynamic assembly. The evidence is used unaltered as the final set of evidence used for policy resolution. </param>
/// <param name="requiredPermissions">The required permissions request. </param>
/// <param name="optionalPermissions">The optional permissions request. </param>
/// <param name="refusedPermissions">The refused permissions request. </param>
/// <param name="isSynchronized">true to synchronize the creation of modules, types, and members in the dynamic assembly; otherwise, false. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004166 RID: 16742
AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, string dir, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions, bool isSynchronized);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.DoCallBack(System.CrossAppDomainDelegate)" /> method. </summary>
/// <param name="theDelegate">A delegate that specifies a method to call.</param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004167 RID: 16743
void DoCallBack(CrossAppDomainDelegate theDelegate);
/// <summary>Provides COM objects with version-independent access to the inherited <see cref="M:System.Object.Equals(System.Object)" /> method.</summary>
/// <returns>true if the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Object" />; otherwise, false.</returns>
/// <param name="other">The <see cref="T:System.Object" /> to compare to the current <see cref="T:System.Object" />. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004168 RID: 16744
bool Equals(object other);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.ExecuteAssembly(System.String)" /> method overload.</summary>
/// <returns>The value returned by the entry point of the assembly.</returns>
/// <param name="assemblyFile">The name of the file that contains the assembly to execute. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004169 RID: 16745
int ExecuteAssembly(string assemblyFile);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.ExecuteAssembly(System.String,System.Security.Policy.Evidence)" /> method overload.</summary>
/// <returns>The value returned by the entry point of the assembly.</returns>
/// <param name="assemblyFile">The name of the file that contains the assembly to execute. </param>
/// <param name="assemblySecurity">Evidence for loading the assembly. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x0600416A RID: 16746
int ExecuteAssembly(string assemblyFile, Evidence assemblySecurity);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.ExecuteAssembly(System.String,System.Security.Policy.Evidence,System.String[])" /> method overload.</summary>
/// <returns>The value returned by the entry point of the assembly.</returns>
/// <param name="assemblyFile">The name of the file that contains the assembly to execute. </param>
/// <param name="assemblySecurity">The supplied evidence for the assembly. </param>
/// <param name="args">The arguments to the entry point of the assembly. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x0600416B RID: 16747
int ExecuteAssembly(string assemblyFile, Evidence assemblySecurity, string[] args);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.GetAssemblies" /> method.</summary>
/// <returns>An array of assemblies in this application domain.</returns>
/// <filterpriority>2</filterpriority>
// Token: 0x0600416C RID: 16748
Assembly[] GetAssemblies();
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.GetData(System.String)" /> method.</summary>
/// <returns>The value of the <paramref name="name" /> property.</returns>
/// <param name="name">The name of a predefined application domain property, or the name of an application domain property you have defined. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x0600416D RID: 16749
object GetData(string name);
/// <summary>Provides COM objects with version-independent access to the inherited <see cref="M:System.Object.GetHashCode" /> method.</summary>
/// <returns>A hash code for the current <see cref="T:System.Object" />.</returns>
/// <filterpriority>2</filterpriority>
// Token: 0x0600416E RID: 16750
int GetHashCode();
/// <summary>Provides COM objects with version-independent access to the inherited <see cref="M:System.MarshalByRefObject.GetLifetimeService" /> method.</summary>
/// <returns>An object of type <see cref="T:System.Runtime.Remoting.Lifetime.ILease" /> used to control the lifetime policy for this instance.</returns>
/// <filterpriority>2</filterpriority>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="Infrastructure" />
/// </PermissionSet>
// Token: 0x0600416F RID: 16751
object GetLifetimeService();
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.GetType" /> method.</summary>
/// <returns>A <see cref="T:System.Type" /> representing the type of the current instance.</returns>
/// <filterpriority>2</filterpriority>
// Token: 0x06004170 RID: 16752
Type GetType();
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.InitializeLifetimeService" /> method.</summary>
/// <returns>Always null.</returns>
/// <filterpriority>2</filterpriority>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="Infrastructure" />
/// </PermissionSet>
// Token: 0x06004171 RID: 16753
object InitializeLifetimeService();
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.Load(System.Reflection.AssemblyName)" /> method overload.</summary>
/// <returns>The loaded assembly.</returns>
/// <param name="assemblyRef">An object that describes the assembly to load. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004172 RID: 16754
Assembly Load(AssemblyName assemblyRef);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.Load(System.Byte[])" /> method overload.</summary>
/// <returns>The loaded assembly.</returns>
/// <param name="rawAssembly">An array of type byte that is a COFF-based image containing an emitted assembly. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004173 RID: 16755
Assembly Load(byte[] rawAssembly);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.Load(System.String)" /> method overload.</summary>
/// <returns>The loaded assembly.</returns>
/// <param name="assemblyString">The display name of the assembly. See <see cref="P:System.Reflection.Assembly.FullName" />.</param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004174 RID: 16756
Assembly Load(string assemblyString);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.Load(System.Reflection.AssemblyName,System.Security.Policy.Evidence)" /> method overload.</summary>
/// <returns>The loaded assembly.</returns>
/// <param name="assemblyRef">An object that describes the assembly to load. </param>
/// <param name="assemblySecurity">Evidence for loading the assembly. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004175 RID: 16757
Assembly Load(AssemblyName assemblyRef, Evidence assemblySecurity);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.Load(System.Byte[],System.Byte[])" /> method overload.</summary>
/// <returns>The loaded assembly.</returns>
/// <param name="rawAssembly">An array of type byte that is a COFF-based image containing an emitted assembly. </param>
/// <param name="rawSymbolStore">An array of type byte containing the raw bytes representing the symbols for the assembly. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004176 RID: 16758
Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.Load(System.String,System.Security.Policy.Evidence)" /> method overload.</summary>
/// <returns>The loaded assembly.</returns>
/// <param name="assemblyString">The display name of the assembly. See <see cref="P:System.Reflection.Assembly.FullName" />.</param>
/// <param name="assemblySecurity">Evidence for loading the assembly. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004177 RID: 16759
Assembly Load(string assemblyString, Evidence assemblySecurity);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.Load(System.Byte[],System.Byte[],System.Security.Policy.Evidence)" /> method overload.</summary>
/// <returns>The loaded assembly.</returns>
/// <param name="rawAssembly">An array of type byte that is a COFF-based image containing an emitted assembly. </param>
/// <param name="rawSymbolStore">An array of type byte containing the raw bytes representing the symbols for the assembly. </param>
/// <param name="securityEvidence">Evidence for loading the assembly. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x06004178 RID: 16760
Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore, Evidence securityEvidence);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.SetAppDomainPolicy(System.Security.Policy.PolicyLevel)" /> method.</summary>
/// <param name="domainPolicy">The security policy level. </param>
/// <filterpriority>2</filterpriority>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="ControlDomainPolicy" />
/// </PermissionSet>
// Token: 0x06004179 RID: 16761
void SetAppDomainPolicy(PolicyLevel domainPolicy);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.SetCachePath(System.String)" /> method.</summary>
/// <param name="s">The fully qualified path to the shadow copy location. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x0600417A RID: 16762
void SetCachePath(string s);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.SetData(System.String,System.Object)" /> method.</summary>
/// <param name="name">The name of a user-defined application domain property to create or change. </param>
/// <param name="data">The value of the property. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x0600417B RID: 16763
void SetData(string name, object data);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.SetPrincipalPolicy(System.Security.Principal.PrincipalPolicy)" /> method.</summary>
/// <param name="policy">One of the <see cref="T:System.Security.Principal.PrincipalPolicy" /> values that specifies the type of the principal object to attach to threads. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x0600417C RID: 16764
void SetPrincipalPolicy(PrincipalPolicy policy);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.SetShadowCopyPath(System.String)" /> method.</summary>
/// <param name="s">A list of directory names, where each name is separated by a semicolon. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x0600417D RID: 16765
void SetShadowCopyPath(string s);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.SetThreadPrincipal(System.Security.Principal.IPrincipal)" /> method.</summary>
/// <param name="principal">The principal object to attach to threads. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x0600417E RID: 16766
void SetThreadPrincipal(IPrincipal principal);
/// <summary>Provides COM objects with version-independent access to the <see cref="M:System.AppDomain.ToString" /> method.</summary>
/// <returns>A string formed by concatenating the literal string "Name:", the friendly name of the application domain, and either string representations of the context policies or the string "There are no context policies." </returns>
/// <filterpriority>2</filterpriority>
// Token: 0x0600417F RID: 16767
string ToString();
/// <summary>Maps a set of names to a corresponding set of dispatch identifiers.</summary>
/// <param name="riid">Reserved for future use. Must be IID_NULL.</param>
/// <param name="rgszNames">Passed-in array of names to be mapped.</param>
/// <param name="cNames">Count of the names to be mapped.</param>
/// <param name="lcid">The locale context in which to interpret the names.</param>
/// <param name="rgDispId">Caller-allocated array which receives the IDs corresponding to the names.</param>
/// <exception cref="T:System.NotImplementedException">The method is called late-bound using the COM IDispatch interface.</exception>
// Token: 0x06004180 RID: 16768
void GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
/// <summary>Retrieves the type information for an object, which can then be used to get the type information for an interface.</summary>
/// <param name="iTInfo">The type information to return.</param>
/// <param name="lcid">The locale identifier for the type information.</param>
/// <param name="ppTInfo">Receives a pointer to the requested type information object.</param>
/// <exception cref="T:System.NotImplementedException">The method is called late-bound using the COM IDispatch interface.</exception>
// Token: 0x06004181 RID: 16769
void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
/// <summary>Retrieves the number of type information interfaces that an object provides (either 0 or 1).</summary>
/// <param name="pcTInfo">Points to a location that receives the number of type information interfaces provided by the object.</param>
/// <exception cref="T:System.NotImplementedException">The method is called late-bound using the COM IDispatch interface.</exception>
// Token: 0x06004182 RID: 16770
void GetTypeInfoCount(out uint pcTInfo);
/// <summary>Provides access to properties and methods exposed by an object.</summary>
/// <param name="dispIdMember">Identifies the member.</param>
/// <param name="riid">Reserved for future use. Must be IID_NULL.</param>
/// <param name="lcid">The locale context in which to interpret arguments.</param>
/// <param name="wFlags">Flags describing the context of the call.</param>
/// <param name="pDispParams">Pointer to a structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays.</param>
/// <param name="pVarResult">Pointer to the location where the result is to be stored.</param>
/// <param name="pExcepInfo">Pointer to a structure that contains exception information.</param>
/// <param name="puArgErr">The index of the first argument that has an error.</param>
/// <exception cref="T:System.NotImplementedException">The method is called late-bound using the COM IDispatch interface.</exception>
// Token: 0x06004183 RID: 16771
void Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
}
}