Add MethodImplAttributes.AggressiveOptimization (dotnet/coreclr#20274)
authorKoundinya Veluri <kouvel@users.noreply.github.com>
Sat, 20 Oct 2018 15:51:41 +0000 (08:51 -0700)
committerGitHub <noreply@github.com>
Sat, 20 Oct 2018 15:51:41 +0000 (08:51 -0700)
API review: https://github.com/dotnet/corefx/issues/32628

Commit migrated from https://github.com/dotnet/coreclr/commit/292c215a4eb7182599634e128c9e2518f7def7db

src/libraries/System.Private.CoreLib/src/System/Reflection/MethodImplAttributes.cs

index a1ed326..b16f4a4 100644 (file)
@@ -31,6 +31,7 @@ namespace System.Reflection
         NoInlining = 0x0008,   // Method may not be inlined.
         AggressiveInlining = 0x0100,   // Method should be inlined if possible.
         NoOptimization = 0x0040,   // Method may not be optimized.
+        AggressiveOptimization = 0x0200, // Method may contain hot code and should be aggressively optimized.
 
         MaxMethodImplVal = 0xffff,
     }