/mcs/class/corlib/System.Runtime.CompilerServices/MethodImplOptions.cs
C# | 78 lines | 18 code | 14 blank | 46 comment | 0 complexity | a0f5823769b14ff2f0e31615091f2c14 MD5 | raw file
Possible License(s): GPL-2.0, CC-BY-SA-3.0, LGPL-2.0, MPL-2.0-no-copyleft-exception, LGPL-2.1, Unlicense, Apache-2.0
- // MethodImplOptions.cs
- //
- // This code was automatically generated from
- // ECMA CLI XML Library Specification.
- // Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)]
- // Created: Fri, 7 Sep 2001 16:33:23 UTC
- // Source file: AllTypes.xml
- // URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
- //
- // (C) 2001 Ximian, Inc. http://www.ximian.com
- //
- // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
- //
- // Permission is hereby granted, free of charge, to any person obtaining
- // a copy of this software and associated documentation files (the
- // "Software"), to deal in the Software without restriction, including
- // without limitation the rights to use, copy, modify, merge, publish,
- // distribute, sublicense, and/or sell copies of the Software, and to
- // permit persons to whom the Software is furnished to do so, subject to
- // the following conditions:
- //
- // The above copyright notice and this permission notice shall be
- // included in all copies or substantial portions of the Software.
- //
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- //
- using System.Runtime.InteropServices;
- namespace System.Runtime.CompilerServices {
- /// <summary>
- /// </summary>
- [Flags]
- [ComVisible (true)]
- [Serializable]
- public enum MethodImplOptions {
- /// <summary>
- /// </summary>
- Unmanaged = 4,
- /// <summary>
- /// </summary>
- ForwardRef = 16,
- /// <summary>
- /// </summary>
- InternalCall = 4096,
- /// <summary>
- /// </summary>
- Synchronized = 32,
- /// <summary>
- /// </summary>
- NoInlining = 8,
- /// <summary>
- /// </summary>
- PreserveSig = 128,
-
- NoOptimization = 64,
- #if NET_4_5
- AggressiveInlining = 256,
- #endif
- } // MethodImplOptions
- } // System.Runtime.CompilerServices