Moved ProviderCollectionTest.cs from System assembly to System.Configuration.
[mono.git] / mcs / class / corlib / System.Reflection / CallingConventions.cs
old mode 100755 (executable)
new mode 100644 (file)
index fa8152b..cc0a633
@@ -1,68 +1,70 @@
-// CallingConventions.cs\r
-//\r
-// This code was automatically generated from\r
-// ECMA CLI XML Library Specification.\r
-// Generator: libgen.xsl\r
-// Source file: all.xml\r
-// URL: http://devresource.hp.com/devresource/Docs/TechPapers/CSharp/all.xml\r
-//\r
-// (C) 2001 Ximian, Inc.  http://www.ximian.com\r
-\r
-\r
-namespace System.Reflection {\r
-\r
-\r
-       /// <summary>\r
-       /// <para>\r
-       ///                   Defines the valid calling conventions for an enumeration.\r
-       ///                </para>\r
-       /// </summary>\r
-       /// <remarks>\r
-       /// <para>\r
-       ///                   The "native calling convention" is\r
-       ///                   the set of rules governing the order and layout of arguments\r
-       ///                   passed to compiled methods. It also governs how the return value is passed,\r
-       ///                   what registers are used for arguments, and whether the called or the calling method removes\r
-       ///                   arguments from the stack.\r
-       ///                </para>\r
-       /// </remarks>\r
-       [Flags]\r
-       public enum CallingConventions {\r
-\r
-               /// <summary>\r
-               /// <para>Specifies the default calling convention as determined by the Common Language Runtime.</para>\r
-               /// </summary>\r
-               Standard = 1,\r
-\r
-               /// <summary>\r
-               /// <para>\r
-               ///                   Specifies the calling convention for methods with variable arguments.\r
-               ///                </para>\r
-               /// </summary>\r
-               VarArgs = 2,\r
-\r
-               /// <summary>\r
-               /// <para>\r
-               ///                   Specifies that either the Standard or the VarArgs calling convention may be\r
-               ///                   used.\r
-               ///                </para>\r
-               /// </summary>\r
-               Any = 3,\r
-\r
-               /// <summary>\r
-               /// <para>\r
-               ///                   Specifies the calling convention for a non-static method or field.\r
-               ///                </para>\r
-               /// </summary>\r
-               HasThis = 32,\r
-\r
-               /// <summary>\r
-               /// <para>\r
-               ///                   Specifies that the <see langword="this" /> pointer is included in the argument\r
-               ///                   list of a non-static method. Required only for function pointers.\r
-               ///                </para>\r
-               /// </summary>\r
-               ExplicitThis = 64,\r
-       } // CallingConventions\r
-\r
-} // System.Reflection\r
+// CallingConventions.cs
+//
+// This code was automatically generated from
+// ECMA CLI XML Library Specification.
+// Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)]
+// Created: Wed, 5 Sep 2001 06:38:43 UTC
+// Source file: all.xml
+// URL: http://devresource.hp.com/devresource/Docs/TechPapers/CSharp/all.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.Reflection {
+
+
+       /// <summary>
+       /// </summary>
+#if NET_2_0
+       [ComVisible (true)]
+       [Serializable]
+#endif
+       [Flags]
+       public enum CallingConventions {
+
+               /// <summary>
+               /// </summary>
+               Standard = 1,
+
+               /// <summary>
+               /// </summary>
+               VarArgs = 2,
+
+               /// <summary>
+               /// </summary>
+               Any = 3,
+
+               /// <summary>
+               /// </summary>
+               HasThis = 32,
+
+               /// <summary>
+               /// </summary>
+               ExplicitThis = 64,
+       } // CallingConventions
+
+} // System.Reflection