[corlib] Defer TypeInfo instantiation logic in DefinedTypes. Fixes #19082
[mono.git] / mcs / class / corlib / System.Reflection / MethodImplAttributes.cs
index 15be5829d9498a9ae19192ea775cc3a7f5219279..f24c2c68d93afb6f29a5e33df67d74c3893274cd 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
 
 namespace System.Reflection {
 
 
        /// <summary>
        /// </summary>
-       [Flags]
+       [ComVisible (true)]
+       [Serializable]
        public enum MethodImplAttributes {
 
                /// <summary>
@@ -95,7 +97,14 @@ namespace System.Reflection {
 
                /// <summary>
                /// </summary>
-               MaxMethodImplVal = 65535,
-       } // MethodImplAttributes
+               NoOptimization = 64,
 
-} // System.Reflection
+               /// <summary>
+               /// </summary>
+               MaxMethodImplVal = 65535,
+               
+#if NET_4_5
+               AggressiveInlining = 256
+#endif
+       }
+}