// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== using System; namespace System.Runtime.CompilerServices { // This Enum matches the miImpl flags defined in corhdr.h. It is used to specify // certain method properties. //| [Flags] public enum MethodImplOptions { //| Unmanaged = 0x0004, //| ForwardRef = 0x0010, //| InternalCall = 0x1000, //| Synchronized = 0x0020, //| NoInlining = 0x0008, } // Custom attribute to specify additional method properties. //| [AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, Inherited = false)] sealed public class MethodImplAttribute : Attribute { //| public MethodImplAttribute(MethodImplOptions methodImplOptions); //| public MethodImplAttribute(short value); //| public MethodImplAttribute(); } }