2006-08-31 Robert Jordan <robertj@gmx.net>
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / LayoutKind.cs
index 3bc49e5df15dab2a8639b093ba51efaa6d6ca3a7..65e49738ed52af13af5ce7b33d79e06e44990bd6 100644 (file)
@@ -1,38 +1,48 @@
-// LayoutKind.cs\r
-//\r
-// This code was automatically generated from\r
-// ECMA CLI XML Library Specification.\r
-// Generator: libgen.xsl\r
-// Source file: AllTypes.xml\r
-// URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml\r
-//\r
-// (C) 2001 Ximian, Inc.  http://www.ximian.com\r
-\r
-\r
-namespace System.Runtime.InteropServices {\r
-\r
-\r
-       /// <summary>\r
-       /// <para> Indicates the physical memory layout of objects exported\r
-       ///       to unmanaged code.</para>\r
-       /// </summary>\r
-       public enum LayoutKind {\r
-\r
-               /// <summary><para> Indicates that object members are laid out sequentially, in the\r
-               ///  order in which they appear in that object's type definition.</para></summary>\r
-               Sequential = 0,\r
-\r
-               /// <summary><para> Indicates that the precise position of each member of an\r
-               ///  object is explicitly controlled in unmanaged memory. Each member of the exported\r
-               ///  class or structure is required to\r
-               ///  use the <see cref="T:System.Runtime.InteropServices.FieldOffsetAttribute" /> to indicate the position of that\r
-               ///  field within the type.</para><para><block subset="none" type="note">See the <see cref="T:System.Runtime.InteropServices.StructLayoutAttribute" /> class overview for an example of\r
-               ///  the use of the <see cref="T:System.Runtime.InteropServices.FieldOffsetAttribute" />.</block></para></summary>\r
-               Explicit = 2,\r
-\r
-               /// <summary><para> Indicates that the appropriate layout of members of an \r
-               ///  object is automatically chosen. <block subset="none" type="note">The layout in this case is implementation defined.</block></para></summary>\r
-               Auto = 3,\r
-       } // LayoutKind\r
-\r
-} // System.Runtime.InteropServices\r
+// LayoutKind.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:48 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.
+//
+
+
+namespace System.Runtime.InteropServices {
+
+#if NET_2_0
+       [ComVisible(true)]
+#endif 
+       [Serializable]
+       public enum LayoutKind {
+               Sequential = 0,
+               Explicit = 2,
+               Auto = 3
+       }
+       
+}