--------------------------------------------------------------------------------
-- <auto-generated>                                                           --
--     This code was generated by a tool.                                     --
--                                                                            --
--     Changes to this file may cause incorrect behavior and will be lost if  --
--     the code is regenerated.                                               --
-- </auto-generated>                                                          --
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--                                                                            --
--    Copyright(c) 2019 Alexander Gamper, All Rights Reserved.                --
--                                                                            --
--    Ada-NetFramework                                                        --
--    Version   : 1.0.0.0                                                     --
--                                                                            --
-- This program is free software: you can redistribute it and / or modify     --
-- it under the terms of the GNU Lesser General Public License as published by--
-- the Free Software Foundation, either version 3 of the License, or          --
-- (at your option) any later version.                                        --
--                                                                            --
-- This program is distributed in the hope that it will be useful,            --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of             --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the               --
-- GNU Lesser General Public License for more details.                        --
--                                                                            --
-- You should have received a copy of the GNU Lesser General Public License   --
-- along with this program.If not, see http://www.gnu.org/licenses            --
--                                                                            --
--------------------------------------------------------------------------------
with NetFrameworkBase.System.Enum;
--------------------------------------------------------------------------------
package NetFrameworkBase.System.Reflection.TypeAttributes is
   
   type Kind_Clr is new NetFrameworkBase.System.Enum.Kind with null record;
   type Kind_Clr_Ptr is access Kind_Clr;
   type Kind_Clr_Array is array(Natural range<>) of Kind_Clr_Ptr;
   type Kind_Clr_Array_Ptr is access all Kind_Clr_Array;
   
   type Kind is (
      NotPublic,
      Public,
      NestedPublic,
      NestedPrivate,
      NestedFamily,
      NestedAssembly,
      NestedFamANDAssem,
      NestedFamORAssem,
      SequentialLayout,
      ExplicitLayout,
      LayoutMask,
      ClassSemanticsMask,
      Abstract_x,
      Sealed,
      SpecialName,
      RTSpecialName,
      Import,
      Serializable,
      WindowsRuntime,
      UnicodeClass,
      AutoClass,
      StringFormatMask,
      HasSecurity,
      ReservedMask,
      BeforeFieldInit,
      CustomFormatMask
   );
   
   for Kind use (
      NotPublic => 0,
      Public => 1,
      NestedPublic => 2,
      NestedPrivate => 3,
      NestedFamily => 4,
      NestedAssembly => 5,
      NestedFamANDAssem => 6,
      NestedFamORAssem => 7,
      SequentialLayout => 8,
      ExplicitLayout => 16,
      LayoutMask => 24,
      ClassSemanticsMask => 32,
      Abstract_x => 128,
      Sealed => 256,
      SpecialName => 1024,
      RTSpecialName => 2048,
      Import => 4096,
      Serializable => 8192,
      WindowsRuntime => 16384,
      UnicodeClass => 65536,
      AutoClass => 131072,
      StringFormatMask => 196608,
      HasSecurity => 262144,
      ReservedMask => 264192,
      BeforeFieldInit => 1048576,
      CustomFormatMask => 12582912
   );
   
   for Kind'Size use 32;
   
   type Kind_Ptr is access Kind;
   type Kind_Array is array(Natural range<>) of Kind_Ptr;
   type Kind_Array_Ptr is access all Kind_Array;
   
   function Instance return NetFrameworkWin32.IType_Ptr;
   
end;
