Removed auto-generated comments.
[mono.git] / mcs / class / corlib / System.Reflection / ParameterAttributes.cs
index 91c54ebe9dbe25b1efd2c7a5def0762d1587037e..eaf409d8b1c10175ed842966c7c6a1195a73d245 100755 (executable)
-// ParameterAttributes.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
-       ///                Defines the attributes that may be associated with\r
-       ///                a parameter. These are defined in CorHdr.h.\r
-       ///             </summary>\r
-       /// <remarks>\r
-       /// <para>To get the <see langword="ParameterAttributes" /> value, \r
-       ///                first get the <see langword="Type" />. From the <see langword="Type" />, get the\r
-       ///             <see langword="ParameterInfo" /> array. The <see langword="ParameterAttributes" /> \r
-       ///             value is within the\r
-       ///             array.</para>\r
-       /// <para>These enumerator values are dependent on optional metadata. Not\r
-       ///                all attributes are available from all compilers. See the appropriate compiler\r
-       ///                instructions to determine which enumerated values are available.</para>\r
-       /// </remarks>\r
-       /// <example>\r
-       /// <code lang="C#">using System;\r
-       ///             using System.Reflection;\r
-       ///             \r
-       ///             class paramatt\r
-       ///             {\r
-       ///                public static void mymethod ([in] string str1, [out] string str2, \r
-       ///                   ref string str3)\r
-       ///                {\r
-       ///                }\r
-       ///                public static int Main(string[] args)\r
-       ///                {\r
-       ///                   Console.WriteLine("\nReflection.ParameterAttributes");\r
-       ///              \r
-       ///                   //Get the Type and the method.\r
-       ///              \r
-       ///                   Type Mytype = Type.GetType("paramatt");\r
-       ///                   MethodBase Mymethodbase = Mytype.GetMethod("mymethod");\r
-       ///              \r
-       ///                   //Display the method\r
-       ///                  Console.Write("\nMymethodbase = " + Mymethodbase);\r
-       ///              \r
-       ///                   //Get the ParameterInfo array\r
-       ///                   ParameterInfo[] Myarray = Mymethodbase.GetParameters();\r
-       ///              \r
-       ///                   //Get and display the attributes for the second parameter\r
-       ///                   ParameterAttributes Myparamattributes = Myarray[1].Attributes;\r
-       ///              \r
-       ///                   Console.Write("\nFor the second parameter:\nMyparamattributes = " \r
-       ///                      + (int) Myparamattributes\r
-       ///                      + ", which is an "\r
-       ///                      + Enum.ToString(Type.GetType("System.Reflection.ParameterAttributes"),\r
-       ///                      Myparamattributes));\r
-       ///              \r
-       ///                   return 0;\r
-       ///                }\r
-       ///             }\r
-       ///             Produces the following output\r
-       ///             \r
-       ///             Reflection.ParameterAttributes\r
-       ///             \r
-       ///             Mymethodbase = Void mymethod (System.String, System.String,\r
-       ///             System.String ByRef)\r
-       ///             \r
-       ///             For the second parameter:\r
-       ///             Myparamattributes = 2, which is an Out\r
-       ///                </code>\r
-       /// </example>\r
-       [Flags]\r
-       public enum ParameterAttributes {\r
-\r
-               /// <summary>\r
-               /// <para>Specifies that there is no parameter attribute.</para>\r
-               /// </summary>\r
-               None = 0,\r
-\r
-               /// <summary>\r
-               /// <para>Specifies that the parameter is an input parameter. </para>\r
-               /// </summary>\r
-               In = 1,\r
-\r
-               /// <summary>\r
-               /// <para>Specifies that the parameter is an output parameter.</para>\r
-               /// </summary>\r
-               Out = 2,\r
-\r
-               /// <summary>\r
-               /// <para>Specifies that the parameter is a locale identifier (lcid).</para>\r
-               /// </summary>\r
-               Lcid = 4,\r
-\r
-               /// <summary>\r
-               /// <para>Specifies that the parameter is a return value.</para>\r
-               /// </summary>\r
-               Retval = 8,\r
-\r
-               /// <summary>\r
-               /// <para>Specifies that the parameter is optional.</para>\r
-               /// </summary>\r
-               Optional = 16,\r
-\r
-               /// <summary>\r
-               /// <para>Specifies that the parameter is reserved.</para>\r
-               /// </summary>\r
-               ReservedMask = 61440,\r
-\r
-               /// <summary>\r
-               /// <para>Specifies that the parameter has a default value.</para>\r
-               /// </summary>\r
-               HasDefault = 4096,\r
-\r
-               /// <summary>\r
-               /// <para>Specifies that the parameter has field marshaling information.</para>\r
-               /// </summary>\r
-               HasFieldMarshal = 8192,\r
-\r
-               /// <summary>\r
-               /// <para>Reserved.</para>\r
-               /// </summary>\r
-               Reserved3 = 16384,\r
-\r
-               /// <summary>\r
-               /// <para>Reserved.</para>\r
-               /// </summary>\r
-               Reserved4 = 32768,\r
-       } // ParameterAttributes\r
-\r
-} // System.Reflection\r
+// ParameterAttributes.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:39:52 UTC
+// Source file: all.xml
+// URL: http://devresource.hp.com/devresource/Docs/TechPapers/CSharp/all.xml
+//
+// (C) 2001 Ximian, Inc.  http://www.ximian.com
+
+
+namespace System.Reflection {
+
+
+       /// <summary>
+       /// </summary>
+       [Flags]
+       public enum ParameterAttributes {
+
+               /// <summary>
+               /// </summary>
+               None = 0,
+
+               /// <summary>
+               /// </summary>
+               In = 1,
+
+               /// <summary>
+               /// </summary>
+               Out = 2,
+
+               /// <summary>
+               /// </summary>
+               Lcid = 4,
+
+               /// <summary>
+               /// </summary>
+               Retval = 8,
+
+               /// <summary>
+               /// </summary>
+               Optional = 16,
+
+               /// <summary>
+               /// </summary>
+               ReservedMask = 61440,
+
+               /// <summary>
+               /// </summary>
+               HasDefault = 4096,
+
+               /// <summary>
+               /// </summary>
+               HasFieldMarshal = 8192,
+
+               /// <summary>
+               /// </summary>
+               Reserved3 = 16384,
+
+               /// <summary>
+               /// </summary>
+               Reserved4 = 32768,
+       } // ParameterAttributes
+
+} // System.Reflection