diff options
author | Rahul Kumar <rahku@microsoft.com> | 2016-11-17 01:31:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-17 01:31:26 +0300 |
commit | ebfbf573b9263063247855811c6671491eb336ac (patch) | |
tree | 00c828579ce14b0e9d71639a7aa128c07b8be0f3 /src/System.Runtime.Extensions/ref | |
parent | cf808541f3e13717ef8b8f99e4f790bbfd58259e (diff) | |
parent | 659ebc86a84b88e17c26baeb613abbe63ae0e547 (diff) |
Merge pull request #13693 from rahku/loaderoptimization
Add System.LoaderOptimizationAttribute
Diffstat (limited to 'src/System.Runtime.Extensions/ref')
-rw-r--r-- | src/System.Runtime.Extensions/ref/System.Runtime.Extensions.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/System.Runtime.Extensions/ref/System.Runtime.Extensions.cs b/src/System.Runtime.Extensions/ref/System.Runtime.Extensions.cs index 585ec44358..29a41ac3e4 100644 --- a/src/System.Runtime.Extensions/ref/System.Runtime.Extensions.cs +++ b/src/System.Runtime.Extensions/ref/System.Runtime.Extensions.cs @@ -697,6 +697,24 @@ namespace System User = 1, Machine = 2, } + public enum LoaderOptimization + { + [System.ObsoleteAttribute("This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202")] + DisallowBindings = 4, + [System.ObsoleteAttribute("This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202")] + DomainMask = 3, + MultiDomain = 2, + MultiDomainHost = 3, + NotSpecified = 0, + SingleDomain = 1, + } + [System.AttributeUsageAttribute(System.AttributeTargets.Method)] + public sealed partial class LoaderOptimizationAttribute : System.Attribute + { + public LoaderOptimizationAttribute(byte value) { } + public LoaderOptimizationAttribute(System.LoaderOptimization value) { } + public System.LoaderOptimization Value { get { throw null; } } + } public static partial class Math { public static decimal Abs(decimal value) { throw null; } |