﻿<?xml version="1.0" encoding="utf-8"?><Type Name="LoaderOptimizationAttribute" FullName="System.LoaderOptimizationAttribute"><TypeSignature Maintainer="auto" Language="C#" Value="public sealed class LoaderOptimizationAttribute : Attribute" /><TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit LoaderOptimizationAttribute extends System.Attribute" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Attribute</BaseTypeName></Base><Interfaces /><Attributes><Attribute><AttributeName>System.AttributeUsage(System.AttributeTargets.Method)</AttributeName></Attribute><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.LoaderOptimizationAttribute" /> can only be set on the main method for an executable application and is ignored on all other methods.</para><para>The <see cref="T:System.LoaderOptimizationAttribute" /> attribute is specified with a <see cref="T:System.LoaderOptimization" /> enumeration value, which tells the loader what type of application to optimize for: SingleDomain, MultiDomain, or MultiDomainHost.</para><para>This attribute is only a hint to the loader and does not affect program behavior.</para><block subset="none" type="note"><para>If custom code access security policy is set for the <see cref="T:System.AppDomain" />, by using the <see cref="M:System.AppDomain.SetAppDomainPolicy(System.Security.Policy.PolicyLevel)" /> property, and the <see cref="T:System.AppDomain" /> is created using the <see cref="F:System.LoaderOptimization.MultiDomain" /> flag, the effect is the same as specifying the <see cref="F:System.LoaderOptimization.MultiDomainHost" /> flag; that is, only assemblies in the GAC are shared. When this occurs, the loader does not throw an exception and the application does not experience the performance gains associated with the <see cref="F:System.LoaderOptimization.MultiDomain" /> flag.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Used to set the default loader optimization policy for the main method of an executable application.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public LoaderOptimizationAttribute (byte value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(unsigned int8 value) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="value" Type="System.Byte" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.LoaderOptimizationAttribute" /> class to the specified value.</para></summary><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />A value equivalent to a <see cref="T:System.LoaderOptimization" /> constant. </param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public LoaderOptimizationAttribute (LoaderOptimization value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.LoaderOptimization value) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="value" Type="System.LoaderOptimization" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.LoaderOptimizationAttribute" /> class to the specified value.</para></summary><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.LoaderOptimization" /> constant. </param></Docs></Member><Member MemberName="Value"><MemberSignature Language="C#" Value="public LoaderOptimization Value { get; }" /><MemberSignature Language="ILAsm" Value=".property instance valuetype System.LoaderOptimization Value" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.LoaderOptimization</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'LoaderOptimization'</value><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the current <see cref="T:System.LoaderOptimization" /> value for this instance.</para></summary></Docs></Member></Members></Type>