Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum System.LoaderOptimization

Assembly: System.Runtime

An enumeration used with the <see cref="T:System.LoaderOptimizationAttribute" /> class to specify loader optimizations for an executable.

Values

NotSpecified
Indicates that no optimizations for sharing internal resources are specified. If the default domain or hosting interface specified an optimization, then the loader uses that; otherwise, the loader uses <see cref="F:System.LoaderOptimization.SingleDomain" /> .
SingleDomain
Indicates that the application will probably have a single domain, and loader must not share internal resources across application domains.
MultiDomain
Indicates that the application will probably have many domains that use the same code, and the loader must share maximal internal resources across application domains.
DomainMask
Do not use. This mask selects the domain-related values, screening out the unused <see cref="F:System.LoaderOptimization.DisallowBindings" /> flag.
MultiDomainHost
Indicates that the application will probably host unique code in multiple domains, and the loader must share resources across application domains only for globally available (strong-named) assemblies that have been added to the global assembly cache.
DisallowBindings
Ignored by the common language runtime.