PageRenderTime 244ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/mcs/class/corlib/System.Runtime.CompilerServices/MethodImplOptions.cs

http://github.com/mono/mono
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
  1. // MethodImplOptions.cs
  2. //
  3. // This code was automatically generated from
  4. // ECMA CLI XML Library Specification.
  5. // Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)]
  6. // Created: Fri, 7 Sep 2001 16:33:23 UTC
  7. // Source file: AllTypes.xml
  8. // URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
  9. //
  10. // (C) 2001 Ximian, Inc. http://www.ximian.com
  11. //
  12. // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
  13. //
  14. // Permission is hereby granted, free of charge, to any person obtaining
  15. // a copy of this software and associated documentation files (the
  16. // "Software"), to deal in the Software without restriction, including
  17. // without limitation the rights to use, copy, modify, merge, publish,
  18. // distribute, sublicense, and/or sell copies of the Software, and to
  19. // permit persons to whom the Software is furnished to do so, subject to
  20. // the following conditions:
  21. //
  22. // The above copyright notice and this permission notice shall be
  23. // included in all copies or substantial portions of the Software.
  24. //
  25. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  26. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  27. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  28. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  29. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  30. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  31. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  32. //
  33. using System.Runtime.InteropServices;
  34. namespace System.Runtime.CompilerServices {
  35. /// <summary>
  36. /// </summary>
  37. [Flags]
  38. [ComVisible (true)]
  39. [Serializable]
  40. public enum MethodImplOptions {
  41. /// <summary>
  42. /// </summary>
  43. Unmanaged = 4,
  44. /// <summary>
  45. /// </summary>
  46. ForwardRef = 16,
  47. /// <summary>
  48. /// </summary>
  49. InternalCall = 4096,
  50. /// <summary>
  51. /// </summary>
  52. Synchronized = 32,
  53. /// <summary>
  54. /// </summary>
  55. NoInlining = 8,
  56. /// <summary>
  57. /// </summary>
  58. PreserveSig = 128,
  59. NoOptimization = 64,
  60. #if NET_4_5
  61. AggressiveInlining = 256,
  62. #endif
  63. } // MethodImplOptions
  64. } // System.Runtime.CompilerServices