diff --git a/Modules.Packed/Dummy.pas b/Modules.Packed/Dummy.pas
index 0d60b0dc..db665402 100644
--- a/Modules.Packed/Dummy.pas
+++ b/Modules.Packed/Dummy.pas
@@ -95,8 +95,10 @@   Multichoise2 = record
   
   {$region Подпрограммы ядра}
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   dum = static class
     
@@ -1127,8 +1129,10 @@   Multichoise2 = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   dyn = sealed partial class
     public constructor(loader: DummyLoader);
diff --git a/Modules.Packed/OpenCL.pas b/Modules.Packed/OpenCL.pas
index 740e0d0b..924a95cb 100644
--- a/Modules.Packed/OpenCL.pas
+++ b/Modules.Packed/OpenCL.pas
@@ -6262,8 +6262,10 @@   cl_queue_family_properties = record
   
   {$region Подпрограммы ядра}
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   cl = static class
     
@@ -13543,8 +13545,10 @@   cl_queue_family_properties = record
   
   {$region Подпрограммы расширений}
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clLoaderInfo = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -13648,8 +13652,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clLoaderLayers = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -13726,8 +13732,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_amd_device_attribute_query';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clContextLoggingFunctionsAPPLE = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -13783,8 +13791,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSetMemObjectDestructorAPPLE = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -13813,8 +13823,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_arm_get_core_id';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clImportMemoryARM = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -13863,8 +13875,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_arm_scheduling_controls';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharedVirtualMemoryARM = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -14207,8 +14221,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_ext_cxx_for_opencl';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clDeviceFissionEXT = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -14297,8 +14313,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_ext_image_raw10_raw12';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clImageRequirementsInfoEXT = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -14414,8 +14432,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clMigrateMemobjectEXT = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -14530,8 +14550,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_img_cached_allocations';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clGenerateMipmapIMG = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -14714,8 +14736,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_img_mem_properties';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clUseGrallocPtrIMG = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -14926,8 +14950,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_img_yuv_image';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clAcceleratorINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15011,8 +15037,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_intel_command_queue_families';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCreateBufferWithPropertiesINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15066,8 +15094,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_intel_driver_diagnostics';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clDx9MediaSharingINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15332,8 +15362,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_intel_planar_yuv';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clProgramScopeHostPipeINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15518,8 +15550,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_intel_sharing_format_query';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryD3d10INTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15547,8 +15581,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryD3d11INTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15576,8 +15612,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryDx9INTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15605,8 +15643,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryGlINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15634,8 +15674,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryVaApiINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15668,8 +15710,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_intel_simultaneous_sharing';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clUnifiedSharedMemoryINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15909,8 +15953,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clVaApiMediaSharingINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -16135,8 +16181,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCommandBufferKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -16769,8 +16817,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCommandBufferMultiDeviceKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -16834,8 +16884,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCommandBufferMutableDispatchKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -16998,8 +17050,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCreateCommandQueueKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -17028,8 +17082,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clD3d10SharingKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -17264,8 +17320,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clD3d11SharingKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -17510,8 +17568,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_khr_device_uuid';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clDx9MediaSharingKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -17748,8 +17808,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clEglEventKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -17768,8 +17830,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clEglImageKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -17995,8 +18059,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_khr_extended_versioning';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clExternalMemoryKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -18222,8 +18288,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_khr_external_memory_win32';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clExternalSemaphoreKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -18255,8 +18323,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_khr_external_semaphore_opaque_fd';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clExternalSemaphoreSyncFdKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -18300,8 +18370,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_khr_fp64';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clGLSharingKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -18658,8 +18730,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_khr_gl_depth_images';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clGLEventKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -18683,8 +18757,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_khr_gl_msaa_sharing';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clIcdKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -18724,8 +18800,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clIlProgramKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -18784,8 +18862,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_khr_priority_hints';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSemaphoreKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -19274,8 +19354,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_khr_subgroup_named_barrier';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSubgroupsKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -19408,8 +19490,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSuggestedLocalWorkSizeKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -19471,8 +19555,10 @@   cl_queue_family_properties = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clTerminateContextKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -19501,8 +19587,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_nv_device_attribute_query';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clContentSizePOCL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -19526,8 +19614,10 @@   cl_queue_family_properties = record
     public const ExtensionString = 'cl_qcom_android_native_buffer_host_ptr';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clExtHostPtrQCOM = sealed partial class
     public constructor(pl: cl_platform_id);
diff --git a/Modules.Packed/OpenGL.pas b/Modules.Packed/OpenGL.pas
index 35583849..69db665d 100644
--- a/Modules.Packed/OpenGL.pas
+++ b/Modules.Packed/OpenGL.pas
@@ -27541,8 +27541,10 @@   gdi_pixel_format_descriptor = record
   
   {$region Подпрограммы ядра}
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   gl = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -35201,8 +35203,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -39200,8 +39204,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   gdi = static class
     
@@ -39280,8 +39286,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glx = static class
     
@@ -39681,8 +39689,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wgl = static class
     
@@ -39885,8 +39895,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_3DFX_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTbuffer3DFX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -39919,8 +39931,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_AMD_conservative_depth';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugOutputAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -39980,8 +39994,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_AMD_depth_clamp_separate';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffersBlendAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40014,8 +40030,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferMultisampleAdvancedAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40038,8 +40056,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferSamplePositionsAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40113,8 +40133,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_AMD_gpu_shader_int16';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShaderInt64AMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40499,8 +40521,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInterleavedElementsAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40518,8 +40542,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiDrawIndirectAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40542,8 +40568,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glNameGenDeleteAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40591,8 +40619,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glOcclusionQueryEventAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40610,8 +40640,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPerformanceMonitorAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40764,8 +40796,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_AMD_query_buffer_object';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSamplePositionsAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40833,8 +40867,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_AMD_shader_trinary_minmax';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSparseTextureAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40857,8 +40893,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStencilOperationExtendedAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40901,8 +40939,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_AMD_vertex_shader_layer';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexShaderTessellatorAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40940,8 +40980,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_APPLE_client_storage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glElementArrayAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41019,8 +41061,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFenceAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41098,8 +41142,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_APPLE_float_pixels';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFlushBufferRangeAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41122,8 +41168,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glObjectPurgeableAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41169,8 +41217,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_APPLE_specular_vector';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureRangeAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41201,8 +41251,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_APPLE_transform_hint';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayObjectAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41255,8 +41307,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayRangeAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41284,8 +41338,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexProgramEvaluatorsAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41383,8 +41439,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_arrays_of_arrays';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBaseInstanceARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41412,8 +41470,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindlessTextureARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41539,8 +41599,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendFuncExtendedARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41581,8 +41643,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBufferStorageARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41612,8 +41676,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClearBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41660,8 +41726,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClearTextureARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41684,8 +41752,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClEventARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41723,8 +41793,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClipControlARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41742,8 +41814,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glColorBufferFloatARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41771,8 +41845,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_compressed_texture_pixel_storage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glComputeShaderARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41795,8 +41871,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glComputeVariableGroupSizeARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41824,8 +41902,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_conservative_depth';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCopyBufferARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41843,8 +41923,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCopyImageARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41867,8 +41949,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_cull_distance';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugOutputARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41943,8 +42027,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_derivative_control';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDirectStateAccessARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -42827,8 +42913,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffersARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -42856,8 +42944,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffersBlendARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -42890,8 +42980,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawElementsBaseVertexARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -42965,8 +43057,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawIndirectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -42989,8 +43083,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawInstancedARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43018,8 +43114,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_enhanced_layouts';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glES2CompatibilityARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43076,8 +43174,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glES31CompatibilityARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43095,8 +43195,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glES32CompatibilityARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43139,8 +43241,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_fragment_layer_viewport';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentProgramARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43359,8 +43463,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_fragment_shader_interlock';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferNoAttachmentsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43386,8 +43492,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43551,8 +43659,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGeometryShader4ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43585,8 +43695,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGetProgramBinaryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43623,8 +43735,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGetTextureSubImageARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43647,8 +43761,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGlSpirvARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43738,8 +43854,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_gpu_shader5';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShaderFp64ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44011,8 +44129,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShaderInt64ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44423,8 +44543,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_half_float_vertex';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glImagingARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44677,8 +44799,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glIndirectParametersARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44701,8 +44825,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInstancedArraysARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44720,8 +44846,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInternalformatQueryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44742,8 +44870,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInternalformatQuery2ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44764,8 +44894,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInvalidateSubdataARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44833,8 +44965,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_map_buffer_alignment';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMapBufferRangeARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44857,8 +44991,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMatrixPaletteARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44926,8 +45062,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiBindARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45094,8 +45232,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiDrawIndirectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45118,8 +45258,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultisampleARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45137,8 +45279,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultitextureARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45517,8 +45661,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glOcclusionQueryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45605,8 +45751,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_occlusion_query2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glParallelShaderCompileARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45634,8 +45782,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_pixel_buffer_object';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPointParametersARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45673,8 +45823,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_point_sprite';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPolygonOffsetClampARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45697,8 +45849,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_post_depth_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glProgramInterfaceQueryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45823,8 +45977,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glProvokingVertexARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45852,8 +46008,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_robust_buffer_access_behavior';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRobustnessARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -46004,8 +46162,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_robustness_isolation';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSampleLocationsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -46053,8 +46213,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSamplerObjectsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -46209,8 +46371,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSampleShadingARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -46238,8 +46402,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_seamless_cubemap_per_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSeparateShaderObjectsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47047,8 +47213,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_shader_atomic_counter_ops';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderAtomicCountersARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47094,8 +47262,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_shader_group_vote';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderImageLoadStoreARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47123,8 +47293,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_shader_image_size';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderObjectsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47576,8 +47748,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_shader_stencil_export';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderStorageBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47595,8 +47769,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderSubroutineARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47717,8 +47893,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_shading_language_420pack';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShadingLanguageIncludeARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47903,8 +48081,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_shadow_ambient';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSparseBufferARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47932,8 +48112,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSparseTextureARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47971,8 +48153,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_stencil_texturing';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSyncARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48032,8 +48216,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTessellationShaderARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48066,8 +48252,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBarrierARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48090,8 +48278,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_texture_border_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48114,8 +48304,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_texture_buffer_object_rgb32';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBufferRangeARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48133,8 +48325,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureCompressionARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48252,8 +48446,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_texture_mirrored_repeat';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureMultisampleARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48324,8 +48520,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_texture_stencil8';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureStorageARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48353,8 +48551,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureStorageMultisampleARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48382,8 +48582,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_texture_swizzle';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureViewARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48401,8 +48603,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTimerQueryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48436,8 +48640,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedback2ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48505,8 +48711,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedback3ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48542,8 +48750,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedbackInstancedARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48571,8 +48781,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_transform_feedback_overflow_query';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransposeMatrixARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48645,8 +48857,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glUniformBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48811,8 +49025,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_vertex_array_bgra';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48865,8 +49081,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttrib64bitARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48981,8 +49199,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttribBindingARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -49025,8 +49245,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexBlendARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -49169,8 +49391,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -49300,8 +49524,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexProgramARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -50022,8 +50248,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexShaderARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -50612,8 +50840,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ARB_vertex_type_10f_11f_11f_rev';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexType2101010RevARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51006,8 +51236,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glViewportArrayARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51146,8 +51378,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glWindowPosARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51344,8 +51578,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffersATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51373,8 +51609,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glElementArrayATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51402,8 +51640,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glEnvmapBumpmapATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51462,8 +51702,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentShaderATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51556,8 +51798,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMapObjectBufferATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51590,8 +51834,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ATI_pixel_format_float';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPnTrianglesATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51614,8 +51860,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSeparateStencilATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51658,8 +51906,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_ATI_texture_mirror_once';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayObjectATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51750,8 +52000,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttribArrayObjectATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51785,8 +52037,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexStreamsATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52300,8 +52554,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_bgra';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindableUniformEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52329,8 +52585,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendColorEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52348,8 +52606,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendEquationSeparateEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52367,8 +52627,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendFuncSeparateEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52391,8 +52653,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_blend_logic_op';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendMinmaxEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52425,8 +52689,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_cmyka';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glColorSubtableEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52449,8 +52715,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCompiledVertexArrayEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52473,8 +52741,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConvolutionEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52578,8 +52848,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCoordinateFrameEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52832,8 +53104,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCopyTextureEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52871,8 +53145,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCullVertexEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52915,8 +53191,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugLabelEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52951,8 +53229,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugMarkerEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52998,8 +53278,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDepthBoundsTestEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -53017,8 +53299,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDirectStateAccessEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55266,8 +55550,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffers2EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55316,8 +55602,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawInstancedEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55340,8 +55628,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawRangeElementsEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55359,8 +55649,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glEGLImageStorageEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55408,8 +55700,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_EGL_sync';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glExternalBufferEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55432,8 +55726,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFogCoordEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55491,8 +55787,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferBlitEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55510,8 +55808,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferBlitLayersEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55534,8 +55834,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferMultisampleEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55558,8 +55860,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_framebuffer_multisample_blit_scaled';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55708,8 +56012,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGeometryShader4EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55727,8 +56033,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuProgramParametersEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55777,8 +56085,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShader4EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56187,8 +56497,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glHistogramEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56268,8 +56580,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_index_array_formats';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glIndexFuncEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56287,8 +56601,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glIndexMaterialEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56311,8 +56627,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_index_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glLightTextureEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56340,8 +56658,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56488,8 +56808,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryObjectFdEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56507,8 +56829,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryObjectWin32EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56536,8 +56860,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_misc_attribute';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiDrawArraysEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56601,8 +56927,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultisampleEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56655,8 +56983,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_packed_pixels';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPalettedTextureEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56700,8 +57030,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_pixel_buffer_object';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPixelTransformEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56775,8 +57107,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_pixel_transform_color_table';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPointParametersEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56809,8 +57143,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPolygonOffsetEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56828,8 +57164,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPolygonOffsetClampEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56852,8 +57190,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_post_depth_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glProvokingVertexEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56871,8 +57211,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRasterMultisampleEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56895,8 +57237,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_rescale_normal';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSecondaryColorEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57098,8 +57442,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSemaphoreEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57280,8 +57626,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSemaphoreFdEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57299,8 +57647,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSemaphoreWin32EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57323,8 +57673,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSeparateShaderObjectsEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57371,8 +57723,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_shader_framebuffer_fetch';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderFramebufferFetchNonCoherentEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57395,8 +57749,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_shader_image_load_formatted';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderImageLoadStoreEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57444,8 +57800,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_sparse_texture2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStencilClearTagEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57463,8 +57821,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStencilTwoSideEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57487,8 +57847,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_stencil_wrap';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSubtextureEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57516,8 +57878,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTexture3DEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57540,8 +57904,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureArrayEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57559,8 +57925,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBufferObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57623,8 +57991,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_texture_filter_minmax';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureIntegerEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57703,8 +58073,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_texture_mirror_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57809,8 +58181,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTexturePerturbNormalEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57863,8 +58237,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_texture_sRGB_RG8';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureStorageEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57912,8 +58288,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_texture_swizzle';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTimerQueryEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57942,8 +58320,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedbackEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58041,8 +58421,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58118,8 +58500,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_EXT_vertex_array_bgra';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttrib64bitEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58234,8 +58618,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexShaderEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58568,8 +58954,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexWeightingEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58607,8 +58995,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glWin32KeyedMutexEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58631,8 +59021,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glWindowRectanglesEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58660,8 +59052,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glX11SyncObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58679,8 +59073,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFrameTerminatorGREMEDY = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58698,8 +59094,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStringMarkerGREMEDY = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58722,8 +59120,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_HP_convolution_border_modes';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glImageTransformHP = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58807,8 +59207,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_IBM_cull_vertex';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultimodeDrawArraysIBM = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58919,8 +59321,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_IBM_rasterpos_clip';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStaticDataIBM = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58943,8 +59347,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_IBM_texture_mirrored_repeat';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayListsIBM = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59105,8 +59511,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendFuncSeparateINGR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59149,8 +59557,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_INTEL_fragment_shader_ordering';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferCMAAINTEL = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59168,8 +59578,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMapTextureINTEL = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59218,8 +59630,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glParallelArraysINTEL = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59292,8 +59706,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPerformanceQueryINTEL = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59402,8 +59818,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendEquationAdvancedKHR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59431,8 +59849,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_KHR_context_flush_control';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugKHR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59563,8 +59983,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_KHR_no_error';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glParallelShaderCompileKHR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59587,8 +60009,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_KHR_robust_buffer_access_behavior';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRobustnessKHR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59660,8 +60084,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_MESA_framebuffer_flip_x';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferFlipYMESA = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59702,8 +60128,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_MESA_program_binary_formats';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glResizeBuffersMESA = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59731,8 +60159,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_MESA_tile_raster_order';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glWindowPosMESA = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60031,8 +60461,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_MESAX_texture_stack';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glAlphaToCoverageDitherControlNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60050,8 +60482,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindlessMultiDrawIndirectNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60074,8 +60508,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindlessMultiDrawIndirectCountNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60098,8 +60534,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindlessTextureNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60197,8 +60635,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendEquationAdvancedNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60236,8 +60676,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_blend_square';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClipSpaceWScalingNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60255,8 +60697,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCommandListNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60692,8 +61136,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_compute_shader_derivatives';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConditionalRenderNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60716,8 +61162,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConservativeRasterNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60735,8 +61183,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConservativeRasterDilateNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60759,8 +61209,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_conservative_raster_pre_snap';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConservativeRasterPreSnapTrianglesNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60788,8 +61240,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_copy_depth_to_color';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCopyImageNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60812,8 +61266,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_deep_texture3D';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDepthBufferFloatNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60846,8 +61302,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_depth_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawTextureNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60865,8 +61323,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawVulkanImageNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60913,8 +61373,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glEvaluatorsNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61004,8 +61466,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glExplicitMultisampleNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61036,8 +61500,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFenceNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61123,8 +61589,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_fog_distance';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentCoverageToColorNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61142,8 +61610,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentProgramNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61369,8 +61839,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_fragment_shader_interlock';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferMixedSamplesNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61416,8 +61888,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferMultisampleCoverageNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61435,8 +61909,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGeometryProgram4NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61479,8 +61955,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_geometry_shader_passthrough';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuMulticastNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61603,8 +62081,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuProgram4NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61813,8 +62293,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuProgram5NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61855,8 +62337,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_gpu_program5_mem_extended';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShader5NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -62233,8 +62717,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glHalfFloatNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -62727,8 +63213,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInternalformatSampleQueryNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -62754,8 +63242,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_light_max_exponent';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryAttachmentNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -62801,8 +63291,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryObjectSparseNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -62835,8 +63327,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMeshShaderNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -62879,8 +63373,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_multisample_filter_hint';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glOcclusionQueryNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -62959,8 +63455,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_packed_depth_stencil';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glParameterBufferObjectNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -63023,8 +63521,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_parameter_buffer_object2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPathRenderingNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -63872,8 +64372,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_path_rendering_shared_edge';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPixelDataRangeNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -63896,8 +64398,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPointSpriteNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -63930,8 +64434,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPresentVideoNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -63986,8 +64492,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPrimitiveRestartNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64015,8 +64523,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_primitive_shading_rate';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glQueryResourceNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64044,8 +64554,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glQueryResourceTagNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64102,8 +64614,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRegisterCombinersNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64219,8 +64733,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRegisterCombiners2NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64266,8 +64782,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_robustness_video_memory_purge';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSampleLocationsNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64320,8 +64838,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_sample_mask_override_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glScissorExclusiveNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64379,8 +64899,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_shader_atomic_int64';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderBufferLoadNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64525,8 +65047,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_shader_thread_shuffle';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShadingRateImageNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64620,8 +65144,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_texgen_reflection';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBarrierNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64654,8 +65180,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_texture_expand_normal';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureMultisampleNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64723,8 +65251,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_texture_shader3';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTimelineSemaphoreNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64775,8 +65305,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedbackNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64931,8 +65463,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedback2NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -65010,8 +65544,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_uniform_buffer_unified_memory';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVdpauInteropNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -65134,8 +65670,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVdpauInterop2NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -65163,8 +65701,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayRangeNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -65192,8 +65732,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_vertex_array_range2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttribInteger64bitNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -65405,8 +65947,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexBufferUnifiedMemoryNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -65482,8 +66026,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexProgramNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -66303,8 +66849,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_vertex_program3';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexProgram4NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -66588,8 +67136,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVideoCaptureNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -66730,8 +67280,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NV_viewport_array2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glViewportSwizzleNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -66754,8 +67306,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NVX_blend_equation_advanced_multi_draw_buffers';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConditionalRenderNVX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -66783,8 +67337,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_NVX_gpu_memory_info';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuMulticast2NVX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -67009,8 +67565,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glLinkedGpuMulticastNVX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -67038,8 +67596,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glProgressFenceNVX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -67135,8 +67695,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glByteCoordinatesOES = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -67401,8 +67963,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_OES_compressed_paletted_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFixedPointOES = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68374,8 +68938,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glQueryMatrixOES = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68419,8 +68985,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_OES_read_format';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSinglePrecisionOES = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68491,8 +69059,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_OML_subsample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiviewOVR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68515,8 +69085,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_OVR_multiview2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMiscHintsPGI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68554,8 +69126,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SGI_color_matrix';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glColorTableSGI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68640,8 +69214,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SGI_texture_color_table';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDetailTextureSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68677,8 +69253,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFogFunctionSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68719,8 +69297,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SGIS_generate_mipmap';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultisampleSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68743,8 +69323,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPixelTextureSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68818,8 +69400,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SGIS_point_line_texgen';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPointParametersSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68852,8 +69436,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSharpenTextureSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68889,8 +69475,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTexture4DSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68918,8 +69506,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SGIS_texture_border_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureColorMaskSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68942,8 +69532,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SGIS_texture_edge_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureFilter4SGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68989,8 +69581,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SGIS_texture_select';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glAsyncSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69093,8 +69687,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SGIX_depth_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFlushRasterSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69117,8 +69713,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SGIX_fog_offset';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentLightingSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69293,8 +69891,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramezoomSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69312,8 +69912,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glIglooInterfaceSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69331,8 +69933,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInstrumentsSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69405,8 +70009,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SGIX_ir_instrument1';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glListPrioritySGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69475,8 +70081,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPixelTextureSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69499,8 +70107,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SGIX_pixel_tiles';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPolynomialFfdSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69553,8 +70163,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glReferencePlaneSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69602,8 +70214,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SGIX_shadow_ambient';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSpriteSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69661,8 +70275,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SGIX_subsample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTagSampleBufferSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69730,8 +70346,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SUN_convolution_border_modes';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGlobalAlphaSUN = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69784,8 +70402,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMeshArraySUN = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69808,8 +70428,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GL_SUN_slice_accum';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTriangleListSUN = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69897,8 +70519,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexSUN = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -70571,8 +71195,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConstantDataSUNX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -70605,8 +71231,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GLX_3DFX_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxGpuAssociationAMD = sealed class
     public constructor := exit;
@@ -70682,8 +71310,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GLX_ARB_context_flush_control';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCreateContextARB = sealed class
     public constructor := exit;
@@ -70736,8 +71366,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GLX_ARB_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxGetProcAddressARB = sealed class
     public constructor := exit;
@@ -70819,8 +71451,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GLX_EXT_get_drawable_type';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxImportContextEXT = sealed class
     public constructor := exit;
@@ -70883,8 +71517,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GLX_EXT_stereo_tree';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapControlEXT = sealed class
     public constructor := exit;
@@ -70907,8 +71543,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GLX_EXT_swap_control_tear';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxTextureFromPixmapEXT = sealed class
     public constructor := exit;
@@ -70956,8 +71594,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GLX_INTEL_swap_event';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxAgpOffsetMESA = sealed class
     public constructor := exit;
@@ -70975,8 +71615,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCopySubBufferMESA = sealed class
     public constructor := exit;
@@ -70994,8 +71636,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxPixmapColormapMESA = sealed class
     public constructor := exit;
@@ -71013,8 +71657,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxQueryRendererMESA = sealed class
     public constructor := exit;
@@ -71067,8 +71713,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxReleaseBuffersMESA = sealed class
     public constructor := exit;
@@ -71086,8 +71734,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSet3dfxModeMESA = sealed class
     public constructor := exit;
@@ -71105,8 +71755,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapControlMESA = sealed class
     public constructor := exit;
@@ -71129,8 +71781,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCopyBufferNV = sealed class
     public constructor := exit;
@@ -71153,8 +71807,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCopyImageNV = sealed class
     public constructor := exit;
@@ -71172,8 +71828,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxDelayBeforeSwapNV = sealed class
     public constructor := exit;
@@ -71206,8 +71864,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GLX_NV_multisample_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxPresentVideoNV = sealed class
     public constructor := exit;
@@ -71255,8 +71915,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GLX_NV_robustness_video_memory_purge';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapGroupNV = sealed class
     public constructor := exit;
@@ -71349,8 +72011,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoCaptureNV = sealed class
     public constructor := exit;
@@ -71408,8 +72072,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoOutNV = sealed class
     public constructor := exit;
@@ -71479,8 +72145,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GLX_OML_swap_method';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSyncControlOML = sealed class
     public constructor := exit;
@@ -71628,8 +72296,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCushionSGI = sealed class
     public constructor := exit;
@@ -71647,8 +72317,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxMakeCurrentReadSGI = sealed class
     public constructor := exit;
@@ -71671,8 +72343,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapControlSGI = sealed class
     public constructor := exit;
@@ -71690,8 +72364,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoSyncSGI = sealed class
     public constructor := exit;
@@ -71742,8 +72418,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GLX_SGIS_shared_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxDmbufferSGIX = sealed class
     public constructor := exit;
@@ -71771,8 +72449,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxFbconfigSGIX = sealed class
     public constructor := exit;
@@ -71838,8 +72518,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxHyperpipeSGIX = sealed class
     public constructor := exit;
@@ -71901,8 +72583,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxPbufferSGIX = sealed class
     public constructor := exit;
@@ -71963,8 +72647,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapBarrierSGIX = sealed class
     public constructor := exit;
@@ -71997,8 +72683,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapGroupSGIX = sealed class
     public constructor := exit;
@@ -72016,8 +72704,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoResizeSGIX = sealed class
     public constructor := exit;
@@ -72215,8 +72905,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoSourceSGIX = sealed class
     public constructor := exit;
@@ -72244,8 +72936,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'GLX_SGIX_visual_select_group';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxGetTransparentIndexSUN = sealed class
     public constructor := exit;
@@ -72271,8 +72965,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'WGL_3DFX_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglStereoControl3DL = sealed class
     public constructor := exit;
@@ -72290,8 +72986,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglGpuAssociationAMD = sealed class
     public constructor := exit;
@@ -72362,8 +73060,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglBufferRegionARB = sealed class
     public constructor := exit;
@@ -72401,8 +73101,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'WGL_ARB_context_flush_control';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglCreateContextARB = sealed class
     public constructor := exit;
@@ -72445,8 +73147,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'WGL_ARB_create_context_robustness';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglExtensionsStringARB = sealed class
     public constructor := exit;
@@ -72469,8 +73173,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'WGL_ARB_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglMakeCurrentReadARB = sealed class
     public constructor := exit;
@@ -72498,8 +73204,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'WGL_ARB_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPbufferARB = sealed class
     public constructor := exit;
@@ -72557,8 +73265,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPixelFormatARB = sealed class
     public constructor := exit;
@@ -72719,8 +73429,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'WGL_ARB_pixel_format_float';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglRenderTextureARB = sealed class
     public constructor := exit;
@@ -72798,8 +73510,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'WGL_EXT_depth_float';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglDisplayColorTableEXT = sealed class
     public constructor := exit;
@@ -72842,8 +73556,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglExtensionsStringEXT = sealed class
     public constructor := exit;
@@ -72866,8 +73582,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'WGL_EXT_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglMakeCurrentReadEXT = sealed class
     public constructor := exit;
@@ -72895,8 +73613,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'WGL_EXT_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPbufferEXT = sealed class
     public constructor := exit;
@@ -72954,8 +73674,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPixelFormatEXT = sealed class
     public constructor := exit;
@@ -73088,8 +73810,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'WGL_EXT_pixel_format_packed_float';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSwapControlEXT = sealed class
     public constructor := exit;
@@ -73117,8 +73841,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'WGL_EXT_swap_control_tear';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglDigitalVideoControlI3D = sealed class
     public constructor := exit;
@@ -73154,8 +73880,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglGammaI3D = sealed class
     public constructor := exit;
@@ -73262,8 +73990,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglGenlockI3D = sealed class
     public constructor := exit;
@@ -73378,8 +74108,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglImageBufferI3D = sealed class
     public constructor := exit;
@@ -73463,8 +74195,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSwapFrameLockI3D = sealed class
     public constructor := exit;
@@ -73517,8 +74251,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSwapFrameUsageI3D = sealed class
     public constructor := exit;
@@ -73595,8 +74331,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglCopyImageNV = sealed class
     public constructor := exit;
@@ -73614,8 +74352,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglDelayBeforeSwapNV = sealed class
     public constructor := exit;
@@ -73633,8 +74373,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglDXInteropNV = sealed class
     public constructor := exit;
@@ -73717,8 +74459,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'WGL_NV_float_buffer';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglGpuAffinityNV = sealed class
     public constructor := exit;
@@ -73806,8 +74550,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'WGL_NV_multisample_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPresentVideoNV = sealed class
     public constructor := exit;
@@ -73875,8 +74621,10 @@   gdi_pixel_format_descriptor = record
     public const ExtensionString = 'WGL_NV_render_texture_rectangle';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSwapGroupNV = sealed class
     public constructor := exit;
@@ -73969,8 +74717,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglVertexArrayRangeNV = sealed class
     public constructor := exit;
@@ -73993,8 +74743,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglVideoCaptureNV = sealed class
     public constructor := exit;
@@ -74052,8 +74804,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglVideoOutputNV = sealed class
     public constructor := exit;
@@ -74118,8 +74872,10 @@   gdi_pixel_format_descriptor = record
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSyncControlOML = sealed class
     public constructor := exit;
diff --git a/Packing/Descriptions/Dummy.predoc b/Packing/Descriptions/Dummy.predoc
index 69ef3667..b481fb37 100644
--- a/Packing/Descriptions/Dummy.predoc
+++ b/Packing/Descriptions/Dummy.predoc
@@ -92,8 +92,10 @@ type
   
   {$region Подпрограммы ядра}
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   dum = static class
     
@@ -1124,8 +1126,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   dyn = sealed partial class
     public constructor(loader: DummyLoader);
diff --git a/Packing/Descriptions/OpenCL.predoc b/Packing/Descriptions/OpenCL.predoc
index 97a3870e..b73480a9 100644
--- a/Packing/Descriptions/OpenCL.predoc
+++ b/Packing/Descriptions/OpenCL.predoc
@@ -6258,8 +6258,10 @@ type
   
   {$region Подпрограммы ядра}
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   cl = static class
     
@@ -13539,8 +13541,10 @@ type
   
   {$region Подпрограммы расширений}
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clLoaderInfo = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -13644,8 +13648,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clLoaderLayers = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -13722,8 +13728,10 @@ type
     public const ExtensionString = 'cl_amd_device_attribute_query';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clContextLoggingFunctionsAPPLE = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -13779,8 +13787,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSetMemObjectDestructorAPPLE = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -13809,8 +13819,10 @@ type
     public const ExtensionString = 'cl_arm_get_core_id';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clImportMemoryARM = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -13859,8 +13871,10 @@ type
     public const ExtensionString = 'cl_arm_scheduling_controls';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharedVirtualMemoryARM = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -14203,8 +14217,10 @@ type
     public const ExtensionString = 'cl_ext_cxx_for_opencl';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clDeviceFissionEXT = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -14293,8 +14309,10 @@ type
     public const ExtensionString = 'cl_ext_image_raw10_raw12';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clImageRequirementsInfoEXT = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -14410,8 +14428,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clMigrateMemobjectEXT = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -14526,8 +14546,10 @@ type
     public const ExtensionString = 'cl_img_cached_allocations';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clGenerateMipmapIMG = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -14710,8 +14732,10 @@ type
     public const ExtensionString = 'cl_img_mem_properties';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clUseGrallocPtrIMG = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -14922,8 +14946,10 @@ type
     public const ExtensionString = 'cl_img_yuv_image';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clAcceleratorINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15007,8 +15033,10 @@ type
     public const ExtensionString = 'cl_intel_command_queue_families';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCreateBufferWithPropertiesINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15062,8 +15090,10 @@ type
     public const ExtensionString = 'cl_intel_driver_diagnostics';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clDx9MediaSharingINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15328,8 +15358,10 @@ type
     public const ExtensionString = 'cl_intel_planar_yuv';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clProgramScopeHostPipeINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15514,8 +15546,10 @@ type
     public const ExtensionString = 'cl_intel_sharing_format_query';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryD3d10INTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15543,8 +15577,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryD3d11INTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15572,8 +15608,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryDx9INTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15601,8 +15639,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryGlINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15630,8 +15670,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryVaApiINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15664,8 +15706,10 @@ type
     public const ExtensionString = 'cl_intel_simultaneous_sharing';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clUnifiedSharedMemoryINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -15905,8 +15949,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clVaApiMediaSharingINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -16131,8 +16177,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCommandBufferKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -16765,8 +16813,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCommandBufferMultiDeviceKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -16830,8 +16880,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCommandBufferMutableDispatchKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -16994,8 +17046,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCreateCommandQueueKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -17024,8 +17078,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clD3d10SharingKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -17260,8 +17316,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clD3d11SharingKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -17506,8 +17564,10 @@ type
     public const ExtensionString = 'cl_khr_device_uuid';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clDx9MediaSharingKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -17744,8 +17804,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clEglEventKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -17764,8 +17826,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clEglImageKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -17991,8 +18055,10 @@ type
     public const ExtensionString = 'cl_khr_extended_versioning';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clExternalMemoryKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -18218,8 +18284,10 @@ type
     public const ExtensionString = 'cl_khr_external_memory_win32';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clExternalSemaphoreKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -18251,8 +18319,10 @@ type
     public const ExtensionString = 'cl_khr_external_semaphore_opaque_fd';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clExternalSemaphoreSyncFdKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -18296,8 +18366,10 @@ type
     public const ExtensionString = 'cl_khr_fp64';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clGLSharingKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -18654,8 +18726,10 @@ type
     public const ExtensionString = 'cl_khr_gl_depth_images';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clGLEventKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -18679,8 +18753,10 @@ type
     public const ExtensionString = 'cl_khr_gl_msaa_sharing';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clIcdKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -18720,8 +18796,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clIlProgramKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -18780,8 +18858,10 @@ type
     public const ExtensionString = 'cl_khr_priority_hints';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSemaphoreKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -19270,8 +19350,10 @@ type
     public const ExtensionString = 'cl_khr_subgroup_named_barrier';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSubgroupsKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -19404,8 +19486,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSuggestedLocalWorkSizeKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -19467,8 +19551,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clTerminateContextKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -19497,8 +19583,10 @@ type
     public const ExtensionString = 'cl_nv_device_attribute_query';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clContentSizePOCL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -19522,8 +19610,10 @@ type
     public const ExtensionString = 'cl_qcom_android_native_buffer_host_ptr';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clExtHostPtrQCOM = sealed partial class
     public constructor(pl: cl_platform_id);
diff --git a/Packing/Descriptions/OpenGL.predoc b/Packing/Descriptions/OpenGL.predoc
index 9b2a628e..877e4497 100644
--- a/Packing/Descriptions/OpenGL.predoc
+++ b/Packing/Descriptions/OpenGL.predoc
@@ -27530,8 +27530,10 @@ type
   
   {$region Подпрограммы ядра}
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   gl = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -35190,8 +35192,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -39189,8 +39193,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   gdi = static class
     
@@ -39269,8 +39275,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glx = static class
     
@@ -39670,8 +39678,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wgl = static class
     
@@ -39874,8 +39884,10 @@ type
     public const ExtensionString = 'GL_3DFX_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTbuffer3DFX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -39908,8 +39920,10 @@ type
     public const ExtensionString = 'GL_AMD_conservative_depth';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugOutputAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -39969,8 +39983,10 @@ type
     public const ExtensionString = 'GL_AMD_depth_clamp_separate';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffersBlendAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40003,8 +40019,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferMultisampleAdvancedAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40027,8 +40045,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferSamplePositionsAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40102,8 +40122,10 @@ type
     public const ExtensionString = 'GL_AMD_gpu_shader_int16';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShaderInt64AMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40488,8 +40510,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInterleavedElementsAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40507,8 +40531,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiDrawIndirectAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40531,8 +40557,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glNameGenDeleteAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40580,8 +40608,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glOcclusionQueryEventAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40599,8 +40629,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPerformanceMonitorAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40753,8 +40785,10 @@ type
     public const ExtensionString = 'GL_AMD_query_buffer_object';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSamplePositionsAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40822,8 +40856,10 @@ type
     public const ExtensionString = 'GL_AMD_shader_trinary_minmax';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSparseTextureAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40846,8 +40882,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStencilOperationExtendedAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40890,8 +40928,10 @@ type
     public const ExtensionString = 'GL_AMD_vertex_shader_layer';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexShaderTessellatorAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40929,8 +40969,10 @@ type
     public const ExtensionString = 'GL_APPLE_client_storage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glElementArrayAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41008,8 +41050,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFenceAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41087,8 +41131,10 @@ type
     public const ExtensionString = 'GL_APPLE_float_pixels';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFlushBufferRangeAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41111,8 +41157,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glObjectPurgeableAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41158,8 +41206,10 @@ type
     public const ExtensionString = 'GL_APPLE_specular_vector';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureRangeAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41190,8 +41240,10 @@ type
     public const ExtensionString = 'GL_APPLE_transform_hint';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayObjectAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41244,8 +41296,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayRangeAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41273,8 +41327,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexProgramEvaluatorsAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41372,8 +41428,10 @@ type
     public const ExtensionString = 'GL_ARB_arrays_of_arrays';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBaseInstanceARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41401,8 +41459,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindlessTextureARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41528,8 +41588,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendFuncExtendedARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41570,8 +41632,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBufferStorageARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41601,8 +41665,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClearBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41649,8 +41715,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClearTextureARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41673,8 +41741,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClEventARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41712,8 +41782,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClipControlARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41731,8 +41803,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glColorBufferFloatARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41760,8 +41834,10 @@ type
     public const ExtensionString = 'GL_ARB_compressed_texture_pixel_storage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glComputeShaderARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41784,8 +41860,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glComputeVariableGroupSizeARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41813,8 +41891,10 @@ type
     public const ExtensionString = 'GL_ARB_conservative_depth';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCopyBufferARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41832,8 +41912,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCopyImageARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41856,8 +41938,10 @@ type
     public const ExtensionString = 'GL_ARB_cull_distance';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugOutputARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -41932,8 +42016,10 @@ type
     public const ExtensionString = 'GL_ARB_derivative_control';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDirectStateAccessARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -42816,8 +42902,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffersARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -42845,8 +42933,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffersBlendARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -42879,8 +42969,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawElementsBaseVertexARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -42954,8 +43046,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawIndirectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -42978,8 +43072,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawInstancedARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43007,8 +43103,10 @@ type
     public const ExtensionString = 'GL_ARB_enhanced_layouts';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glES2CompatibilityARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43065,8 +43163,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glES31CompatibilityARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43084,8 +43184,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glES32CompatibilityARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43128,8 +43230,10 @@ type
     public const ExtensionString = 'GL_ARB_fragment_layer_viewport';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentProgramARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43348,8 +43452,10 @@ type
     public const ExtensionString = 'GL_ARB_fragment_shader_interlock';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferNoAttachmentsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43375,8 +43481,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43540,8 +43648,10 @@ type
     public const ExtensionString = 'GL_ARB_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGeometryShader4ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43574,8 +43684,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGetProgramBinaryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43612,8 +43724,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGetTextureSubImageARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43636,8 +43750,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGlSpirvARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -43727,8 +43843,10 @@ type
     public const ExtensionString = 'GL_ARB_gpu_shader5';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShaderFp64ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44000,8 +44118,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShaderInt64ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44412,8 +44532,10 @@ type
     public const ExtensionString = 'GL_ARB_half_float_vertex';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glImagingARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44666,8 +44788,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glIndirectParametersARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44690,8 +44814,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInstancedArraysARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44709,8 +44835,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInternalformatQueryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44731,8 +44859,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInternalformatQuery2ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44753,8 +44883,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInvalidateSubdataARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44822,8 +44954,10 @@ type
     public const ExtensionString = 'GL_ARB_map_buffer_alignment';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMapBufferRangeARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44846,8 +44980,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMatrixPaletteARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -44915,8 +45051,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiBindARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45083,8 +45221,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiDrawIndirectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45107,8 +45247,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultisampleARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45126,8 +45268,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultitextureARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45506,8 +45650,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glOcclusionQueryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45594,8 +45740,10 @@ type
     public const ExtensionString = 'GL_ARB_occlusion_query2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glParallelShaderCompileARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45623,8 +45771,10 @@ type
     public const ExtensionString = 'GL_ARB_pixel_buffer_object';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPointParametersARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45662,8 +45812,10 @@ type
     public const ExtensionString = 'GL_ARB_point_sprite';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPolygonOffsetClampARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45686,8 +45838,10 @@ type
     public const ExtensionString = 'GL_ARB_post_depth_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glProgramInterfaceQueryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45812,8 +45966,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glProvokingVertexARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45841,8 +45997,10 @@ type
     public const ExtensionString = 'GL_ARB_robust_buffer_access_behavior';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRobustnessARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -45993,8 +46151,10 @@ type
     public const ExtensionString = 'GL_ARB_robustness_isolation';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSampleLocationsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -46042,8 +46202,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSamplerObjectsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -46198,8 +46360,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSampleShadingARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -46227,8 +46391,10 @@ type
     public const ExtensionString = 'GL_ARB_seamless_cubemap_per_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSeparateShaderObjectsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47036,8 +47202,10 @@ type
     public const ExtensionString = 'GL_ARB_shader_atomic_counter_ops';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderAtomicCountersARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47083,8 +47251,10 @@ type
     public const ExtensionString = 'GL_ARB_shader_group_vote';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderImageLoadStoreARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47112,8 +47282,10 @@ type
     public const ExtensionString = 'GL_ARB_shader_image_size';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderObjectsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47565,8 +47737,10 @@ type
     public const ExtensionString = 'GL_ARB_shader_stencil_export';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderStorageBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47584,8 +47758,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderSubroutineARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47706,8 +47882,10 @@ type
     public const ExtensionString = 'GL_ARB_shading_language_420pack';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShadingLanguageIncludeARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47892,8 +48070,10 @@ type
     public const ExtensionString = 'GL_ARB_shadow_ambient';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSparseBufferARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47921,8 +48101,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSparseTextureARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -47960,8 +48142,10 @@ type
     public const ExtensionString = 'GL_ARB_stencil_texturing';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSyncARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48021,8 +48205,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTessellationShaderARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48055,8 +48241,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBarrierARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48079,8 +48267,10 @@ type
     public const ExtensionString = 'GL_ARB_texture_border_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48103,8 +48293,10 @@ type
     public const ExtensionString = 'GL_ARB_texture_buffer_object_rgb32';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBufferRangeARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48122,8 +48314,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureCompressionARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48241,8 +48435,10 @@ type
     public const ExtensionString = 'GL_ARB_texture_mirrored_repeat';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureMultisampleARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48313,8 +48509,10 @@ type
     public const ExtensionString = 'GL_ARB_texture_stencil8';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureStorageARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48342,8 +48540,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureStorageMultisampleARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48371,8 +48571,10 @@ type
     public const ExtensionString = 'GL_ARB_texture_swizzle';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureViewARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48390,8 +48592,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTimerQueryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48425,8 +48629,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedback2ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48494,8 +48700,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedback3ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48531,8 +48739,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedbackInstancedARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48560,8 +48770,10 @@ type
     public const ExtensionString = 'GL_ARB_transform_feedback_overflow_query';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransposeMatrixARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48634,8 +48846,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glUniformBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48800,8 +49014,10 @@ type
     public const ExtensionString = 'GL_ARB_vertex_array_bgra';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48854,8 +49070,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttrib64bitARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -48970,8 +49188,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttribBindingARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -49014,8 +49234,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexBlendARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -49158,8 +49380,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -49289,8 +49513,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexProgramARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -50011,8 +50237,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexShaderARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -50601,8 +50829,10 @@ type
     public const ExtensionString = 'GL_ARB_vertex_type_10f_11f_11f_rev';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexType2101010RevARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -50995,8 +51225,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glViewportArrayARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51135,8 +51367,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glWindowPosARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51333,8 +51567,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffersATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51362,8 +51598,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glElementArrayATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51391,8 +51629,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glEnvmapBumpmapATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51451,8 +51691,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentShaderATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51545,8 +51787,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMapObjectBufferATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51579,8 +51823,10 @@ type
     public const ExtensionString = 'GL_ATI_pixel_format_float';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPnTrianglesATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51603,8 +51849,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSeparateStencilATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51647,8 +51895,10 @@ type
     public const ExtensionString = 'GL_ATI_texture_mirror_once';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayObjectATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51739,8 +51989,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttribArrayObjectATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -51774,8 +52026,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexStreamsATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52289,8 +52543,10 @@ type
     public const ExtensionString = 'GL_EXT_bgra';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindableUniformEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52318,8 +52574,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendColorEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52337,8 +52595,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendEquationSeparateEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52356,8 +52616,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendFuncSeparateEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52380,8 +52642,10 @@ type
     public const ExtensionString = 'GL_EXT_blend_logic_op';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendMinmaxEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52414,8 +52678,10 @@ type
     public const ExtensionString = 'GL_EXT_cmyka';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glColorSubtableEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52438,8 +52704,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCompiledVertexArrayEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52462,8 +52730,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConvolutionEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52567,8 +52837,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCoordinateFrameEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52821,8 +53093,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCopyTextureEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52860,8 +53134,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCullVertexEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52904,8 +53180,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugLabelEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52940,8 +53218,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugMarkerEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -52987,8 +53267,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDepthBoundsTestEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -53006,8 +53288,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDirectStateAccessEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55255,8 +55539,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffers2EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55305,8 +55591,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawInstancedEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55329,8 +55617,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawRangeElementsEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55348,8 +55638,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glEGLImageStorageEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55397,8 +55689,10 @@ type
     public const ExtensionString = 'GL_EXT_EGL_sync';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glExternalBufferEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55421,8 +55715,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFogCoordEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55480,8 +55776,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferBlitEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55499,8 +55797,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferBlitLayersEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55523,8 +55823,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferMultisampleEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55547,8 +55849,10 @@ type
     public const ExtensionString = 'GL_EXT_framebuffer_multisample_blit_scaled';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55697,8 +56001,10 @@ type
     public const ExtensionString = 'GL_EXT_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGeometryShader4EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55716,8 +56022,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuProgramParametersEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -55766,8 +56074,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShader4EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56176,8 +56486,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glHistogramEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56257,8 +56569,10 @@ type
     public const ExtensionString = 'GL_EXT_index_array_formats';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glIndexFuncEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56276,8 +56590,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glIndexMaterialEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56300,8 +56616,10 @@ type
     public const ExtensionString = 'GL_EXT_index_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glLightTextureEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56329,8 +56647,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56477,8 +56797,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryObjectFdEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56496,8 +56818,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryObjectWin32EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56525,8 +56849,10 @@ type
     public const ExtensionString = 'GL_EXT_misc_attribute';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiDrawArraysEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56590,8 +56916,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultisampleEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56644,8 +56972,10 @@ type
     public const ExtensionString = 'GL_EXT_packed_pixels';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPalettedTextureEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56689,8 +57019,10 @@ type
     public const ExtensionString = 'GL_EXT_pixel_buffer_object';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPixelTransformEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56764,8 +57096,10 @@ type
     public const ExtensionString = 'GL_EXT_pixel_transform_color_table';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPointParametersEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56798,8 +57132,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPolygonOffsetEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56817,8 +57153,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPolygonOffsetClampEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56841,8 +57179,10 @@ type
     public const ExtensionString = 'GL_EXT_post_depth_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glProvokingVertexEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56860,8 +57200,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRasterMultisampleEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -56884,8 +57226,10 @@ type
     public const ExtensionString = 'GL_EXT_rescale_normal';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSecondaryColorEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57087,8 +57431,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSemaphoreEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57269,8 +57615,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSemaphoreFdEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57288,8 +57636,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSemaphoreWin32EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57312,8 +57662,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSeparateShaderObjectsEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57360,8 +57712,10 @@ type
     public const ExtensionString = 'GL_EXT_shader_framebuffer_fetch';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderFramebufferFetchNonCoherentEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57384,8 +57738,10 @@ type
     public const ExtensionString = 'GL_EXT_shader_image_load_formatted';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderImageLoadStoreEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57433,8 +57789,10 @@ type
     public const ExtensionString = 'GL_EXT_sparse_texture2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStencilClearTagEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57452,8 +57810,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStencilTwoSideEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57476,8 +57836,10 @@ type
     public const ExtensionString = 'GL_EXT_stencil_wrap';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSubtextureEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57505,8 +57867,10 @@ type
     public const ExtensionString = 'GL_EXT_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTexture3DEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57529,8 +57893,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureArrayEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57548,8 +57914,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBufferObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57612,8 +57980,10 @@ type
     public const ExtensionString = 'GL_EXT_texture_filter_minmax';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureIntegerEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57692,8 +58062,10 @@ type
     public const ExtensionString = 'GL_EXT_texture_mirror_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57798,8 +58170,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTexturePerturbNormalEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57852,8 +58226,10 @@ type
     public const ExtensionString = 'GL_EXT_texture_sRGB_RG8';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureStorageEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57901,8 +58277,10 @@ type
     public const ExtensionString = 'GL_EXT_texture_swizzle';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTimerQueryEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -57931,8 +58309,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedbackEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58030,8 +58410,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58107,8 +58489,10 @@ type
     public const ExtensionString = 'GL_EXT_vertex_array_bgra';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttrib64bitEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58223,8 +58607,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexShaderEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58557,8 +58943,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexWeightingEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58596,8 +58984,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glWin32KeyedMutexEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58620,8 +59010,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glWindowRectanglesEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58649,8 +59041,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glX11SyncObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58668,8 +59062,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFrameTerminatorGREMEDY = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58687,8 +59083,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStringMarkerGREMEDY = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58711,8 +59109,10 @@ type
     public const ExtensionString = 'GL_HP_convolution_border_modes';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glImageTransformHP = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58796,8 +59196,10 @@ type
     public const ExtensionString = 'GL_IBM_cull_vertex';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultimodeDrawArraysIBM = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58908,8 +59310,10 @@ type
     public const ExtensionString = 'GL_IBM_rasterpos_clip';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStaticDataIBM = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -58932,8 +59336,10 @@ type
     public const ExtensionString = 'GL_IBM_texture_mirrored_repeat';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayListsIBM = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59094,8 +59500,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendFuncSeparateINGR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59138,8 +59546,10 @@ type
     public const ExtensionString = 'GL_INTEL_fragment_shader_ordering';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferCMAAINTEL = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59157,8 +59567,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMapTextureINTEL = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59207,8 +59619,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glParallelArraysINTEL = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59281,8 +59695,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPerformanceQueryINTEL = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59391,8 +59807,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendEquationAdvancedKHR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59420,8 +59838,10 @@ type
     public const ExtensionString = 'GL_KHR_context_flush_control';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugKHR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59552,8 +59972,10 @@ type
     public const ExtensionString = 'GL_KHR_no_error';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glParallelShaderCompileKHR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59576,8 +59998,10 @@ type
     public const ExtensionString = 'GL_KHR_robust_buffer_access_behavior';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRobustnessKHR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59649,8 +60073,10 @@ type
     public const ExtensionString = 'GL_MESA_framebuffer_flip_x';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferFlipYMESA = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59691,8 +60117,10 @@ type
     public const ExtensionString = 'GL_MESA_program_binary_formats';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glResizeBuffersMESA = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -59720,8 +60148,10 @@ type
     public const ExtensionString = 'GL_MESA_tile_raster_order';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glWindowPosMESA = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60020,8 +60450,10 @@ type
     public const ExtensionString = 'GL_MESAX_texture_stack';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glAlphaToCoverageDitherControlNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60039,8 +60471,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindlessMultiDrawIndirectNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60063,8 +60497,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindlessMultiDrawIndirectCountNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60087,8 +60523,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindlessTextureNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60186,8 +60624,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendEquationAdvancedNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60225,8 +60665,10 @@ type
     public const ExtensionString = 'GL_NV_blend_square';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClipSpaceWScalingNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60244,8 +60686,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCommandListNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60681,8 +61125,10 @@ type
     public const ExtensionString = 'GL_NV_compute_shader_derivatives';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConditionalRenderNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60705,8 +61151,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConservativeRasterNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60724,8 +61172,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConservativeRasterDilateNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60748,8 +61198,10 @@ type
     public const ExtensionString = 'GL_NV_conservative_raster_pre_snap';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConservativeRasterPreSnapTrianglesNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60777,8 +61229,10 @@ type
     public const ExtensionString = 'GL_NV_copy_depth_to_color';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCopyImageNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60801,8 +61255,10 @@ type
     public const ExtensionString = 'GL_NV_deep_texture3D';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDepthBufferFloatNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60835,8 +61291,10 @@ type
     public const ExtensionString = 'GL_NV_depth_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawTextureNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60854,8 +61312,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawVulkanImageNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60902,8 +61362,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glEvaluatorsNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -60993,8 +61455,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glExplicitMultisampleNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61025,8 +61489,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFenceNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61112,8 +61578,10 @@ type
     public const ExtensionString = 'GL_NV_fog_distance';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentCoverageToColorNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61131,8 +61599,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentProgramNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61358,8 +61828,10 @@ type
     public const ExtensionString = 'GL_NV_fragment_shader_interlock';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferMixedSamplesNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61405,8 +61877,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferMultisampleCoverageNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61424,8 +61898,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGeometryProgram4NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61468,8 +61944,10 @@ type
     public const ExtensionString = 'GL_NV_geometry_shader_passthrough';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuMulticastNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61592,8 +62070,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuProgram4NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61802,8 +62282,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuProgram5NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -61844,8 +62326,10 @@ type
     public const ExtensionString = 'GL_NV_gpu_program5_mem_extended';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShader5NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -62222,8 +62706,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glHalfFloatNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -62716,8 +63202,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInternalformatSampleQueryNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -62743,8 +63231,10 @@ type
     public const ExtensionString = 'GL_NV_light_max_exponent';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryAttachmentNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -62790,8 +63280,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryObjectSparseNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -62824,8 +63316,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMeshShaderNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -62868,8 +63362,10 @@ type
     public const ExtensionString = 'GL_NV_multisample_filter_hint';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glOcclusionQueryNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -62948,8 +63444,10 @@ type
     public const ExtensionString = 'GL_NV_packed_depth_stencil';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glParameterBufferObjectNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -63012,8 +63510,10 @@ type
     public const ExtensionString = 'GL_NV_parameter_buffer_object2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPathRenderingNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -63861,8 +64361,10 @@ type
     public const ExtensionString = 'GL_NV_path_rendering_shared_edge';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPixelDataRangeNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -63885,8 +64387,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPointSpriteNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -63919,8 +64423,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPresentVideoNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -63975,8 +64481,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPrimitiveRestartNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64004,8 +64512,10 @@ type
     public const ExtensionString = 'GL_NV_primitive_shading_rate';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glQueryResourceNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64033,8 +64543,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glQueryResourceTagNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64091,8 +64603,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRegisterCombinersNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64208,8 +64722,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRegisterCombiners2NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64255,8 +64771,10 @@ type
     public const ExtensionString = 'GL_NV_robustness_video_memory_purge';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSampleLocationsNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64309,8 +64827,10 @@ type
     public const ExtensionString = 'GL_NV_sample_mask_override_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glScissorExclusiveNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64368,8 +64888,10 @@ type
     public const ExtensionString = 'GL_NV_shader_atomic_int64';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderBufferLoadNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64514,8 +65036,10 @@ type
     public const ExtensionString = 'GL_NV_shader_thread_shuffle';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShadingRateImageNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64609,8 +65133,10 @@ type
     public const ExtensionString = 'GL_NV_texgen_reflection';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBarrierNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64643,8 +65169,10 @@ type
     public const ExtensionString = 'GL_NV_texture_expand_normal';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureMultisampleNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64712,8 +65240,10 @@ type
     public const ExtensionString = 'GL_NV_texture_shader3';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTimelineSemaphoreNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64764,8 +65294,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedbackNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64920,8 +65452,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedback2NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -64999,8 +65533,10 @@ type
     public const ExtensionString = 'GL_NV_uniform_buffer_unified_memory';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVdpauInteropNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -65123,8 +65659,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVdpauInterop2NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -65152,8 +65690,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayRangeNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -65181,8 +65721,10 @@ type
     public const ExtensionString = 'GL_NV_vertex_array_range2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttribInteger64bitNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -65394,8 +65936,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexBufferUnifiedMemoryNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -65471,8 +66015,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexProgramNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -66292,8 +66838,10 @@ type
     public const ExtensionString = 'GL_NV_vertex_program3';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexProgram4NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -66577,8 +67125,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVideoCaptureNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -66719,8 +67269,10 @@ type
     public const ExtensionString = 'GL_NV_viewport_array2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glViewportSwizzleNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -66743,8 +67295,10 @@ type
     public const ExtensionString = 'GL_NVX_blend_equation_advanced_multi_draw_buffers';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConditionalRenderNVX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -66772,8 +67326,10 @@ type
     public const ExtensionString = 'GL_NVX_gpu_memory_info';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuMulticast2NVX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -66998,8 +67554,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glLinkedGpuMulticastNVX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -67027,8 +67585,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glProgressFenceNVX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -67124,8 +67684,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glByteCoordinatesOES = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -67390,8 +67952,10 @@ type
     public const ExtensionString = 'GL_OES_compressed_paletted_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFixedPointOES = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68363,8 +68927,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glQueryMatrixOES = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68408,8 +68974,10 @@ type
     public const ExtensionString = 'GL_OES_read_format';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSinglePrecisionOES = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68480,8 +69048,10 @@ type
     public const ExtensionString = 'GL_OML_subsample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiviewOVR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68504,8 +69074,10 @@ type
     public const ExtensionString = 'GL_OVR_multiview2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMiscHintsPGI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68543,8 +69115,10 @@ type
     public const ExtensionString = 'GL_SGI_color_matrix';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glColorTableSGI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68629,8 +69203,10 @@ type
     public const ExtensionString = 'GL_SGI_texture_color_table';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDetailTextureSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68666,8 +69242,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFogFunctionSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68708,8 +69286,10 @@ type
     public const ExtensionString = 'GL_SGIS_generate_mipmap';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultisampleSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68732,8 +69312,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPixelTextureSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68807,8 +69389,10 @@ type
     public const ExtensionString = 'GL_SGIS_point_line_texgen';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPointParametersSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68841,8 +69425,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSharpenTextureSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68878,8 +69464,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTexture4DSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68907,8 +69495,10 @@ type
     public const ExtensionString = 'GL_SGIS_texture_border_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureColorMaskSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68931,8 +69521,10 @@ type
     public const ExtensionString = 'GL_SGIS_texture_edge_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureFilter4SGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -68978,8 +69570,10 @@ type
     public const ExtensionString = 'GL_SGIS_texture_select';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glAsyncSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69082,8 +69676,10 @@ type
     public const ExtensionString = 'GL_SGIX_depth_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFlushRasterSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69106,8 +69702,10 @@ type
     public const ExtensionString = 'GL_SGIX_fog_offset';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentLightingSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69282,8 +69880,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramezoomSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69301,8 +69901,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glIglooInterfaceSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69320,8 +69922,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInstrumentsSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69394,8 +69998,10 @@ type
     public const ExtensionString = 'GL_SGIX_ir_instrument1';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glListPrioritySGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69464,8 +70070,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPixelTextureSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69488,8 +70096,10 @@ type
     public const ExtensionString = 'GL_SGIX_pixel_tiles';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPolynomialFfdSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69542,8 +70152,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glReferencePlaneSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69591,8 +70203,10 @@ type
     public const ExtensionString = 'GL_SGIX_shadow_ambient';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSpriteSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69650,8 +70264,10 @@ type
     public const ExtensionString = 'GL_SGIX_subsample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTagSampleBufferSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69719,8 +70335,10 @@ type
     public const ExtensionString = 'GL_SUN_convolution_border_modes';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGlobalAlphaSUN = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69773,8 +70391,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMeshArraySUN = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69797,8 +70417,10 @@ type
     public const ExtensionString = 'GL_SUN_slice_accum';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTriangleListSUN = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -69886,8 +70508,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexSUN = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -70560,8 +71184,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConstantDataSUNX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -70594,8 +71220,10 @@ type
     public const ExtensionString = 'GLX_3DFX_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxGpuAssociationAMD = sealed class
     public constructor := exit;
@@ -70671,8 +71299,10 @@ type
     public const ExtensionString = 'GLX_ARB_context_flush_control';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCreateContextARB = sealed class
     public constructor := exit;
@@ -70725,8 +71355,10 @@ type
     public const ExtensionString = 'GLX_ARB_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxGetProcAddressARB = sealed class
     public constructor := exit;
@@ -70808,8 +71440,10 @@ type
     public const ExtensionString = 'GLX_EXT_get_drawable_type';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxImportContextEXT = sealed class
     public constructor := exit;
@@ -70872,8 +71506,10 @@ type
     public const ExtensionString = 'GLX_EXT_stereo_tree';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapControlEXT = sealed class
     public constructor := exit;
@@ -70896,8 +71532,10 @@ type
     public const ExtensionString = 'GLX_EXT_swap_control_tear';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxTextureFromPixmapEXT = sealed class
     public constructor := exit;
@@ -70945,8 +71583,10 @@ type
     public const ExtensionString = 'GLX_INTEL_swap_event';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxAgpOffsetMESA = sealed class
     public constructor := exit;
@@ -70964,8 +71604,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCopySubBufferMESA = sealed class
     public constructor := exit;
@@ -70983,8 +71625,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxPixmapColormapMESA = sealed class
     public constructor := exit;
@@ -71002,8 +71646,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxQueryRendererMESA = sealed class
     public constructor := exit;
@@ -71056,8 +71702,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxReleaseBuffersMESA = sealed class
     public constructor := exit;
@@ -71075,8 +71723,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSet3dfxModeMESA = sealed class
     public constructor := exit;
@@ -71094,8 +71744,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapControlMESA = sealed class
     public constructor := exit;
@@ -71118,8 +71770,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCopyBufferNV = sealed class
     public constructor := exit;
@@ -71142,8 +71796,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCopyImageNV = sealed class
     public constructor := exit;
@@ -71161,8 +71817,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxDelayBeforeSwapNV = sealed class
     public constructor := exit;
@@ -71195,8 +71853,10 @@ type
     public const ExtensionString = 'GLX_NV_multisample_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxPresentVideoNV = sealed class
     public constructor := exit;
@@ -71244,8 +71904,10 @@ type
     public const ExtensionString = 'GLX_NV_robustness_video_memory_purge';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapGroupNV = sealed class
     public constructor := exit;
@@ -71338,8 +72000,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoCaptureNV = sealed class
     public constructor := exit;
@@ -71397,8 +72061,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoOutNV = sealed class
     public constructor := exit;
@@ -71468,8 +72134,10 @@ type
     public const ExtensionString = 'GLX_OML_swap_method';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSyncControlOML = sealed class
     public constructor := exit;
@@ -71617,8 +72285,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCushionSGI = sealed class
     public constructor := exit;
@@ -71636,8 +72306,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxMakeCurrentReadSGI = sealed class
     public constructor := exit;
@@ -71660,8 +72332,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapControlSGI = sealed class
     public constructor := exit;
@@ -71679,8 +72353,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoSyncSGI = sealed class
     public constructor := exit;
@@ -71731,8 +72407,10 @@ type
     public const ExtensionString = 'GLX_SGIS_shared_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxDmbufferSGIX = sealed class
     public constructor := exit;
@@ -71760,8 +72438,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxFbconfigSGIX = sealed class
     public constructor := exit;
@@ -71827,8 +72507,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxHyperpipeSGIX = sealed class
     public constructor := exit;
@@ -71890,8 +72572,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxPbufferSGIX = sealed class
     public constructor := exit;
@@ -71952,8 +72636,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapBarrierSGIX = sealed class
     public constructor := exit;
@@ -71986,8 +72672,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapGroupSGIX = sealed class
     public constructor := exit;
@@ -72005,8 +72693,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoResizeSGIX = sealed class
     public constructor := exit;
@@ -72204,8 +72894,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoSourceSGIX = sealed class
     public constructor := exit;
@@ -72233,8 +72925,10 @@ type
     public const ExtensionString = 'GLX_SGIX_visual_select_group';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxGetTransparentIndexSUN = sealed class
     public constructor := exit;
@@ -72260,8 +72954,10 @@ type
     public const ExtensionString = 'WGL_3DFX_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglStereoControl3DL = sealed class
     public constructor := exit;
@@ -72279,8 +72975,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglGpuAssociationAMD = sealed class
     public constructor := exit;
@@ -72351,8 +73049,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglBufferRegionARB = sealed class
     public constructor := exit;
@@ -72390,8 +73090,10 @@ type
     public const ExtensionString = 'WGL_ARB_context_flush_control';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglCreateContextARB = sealed class
     public constructor := exit;
@@ -72434,8 +73136,10 @@ type
     public const ExtensionString = 'WGL_ARB_create_context_robustness';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglExtensionsStringARB = sealed class
     public constructor := exit;
@@ -72458,8 +73162,10 @@ type
     public const ExtensionString = 'WGL_ARB_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglMakeCurrentReadARB = sealed class
     public constructor := exit;
@@ -72487,8 +73193,10 @@ type
     public const ExtensionString = 'WGL_ARB_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPbufferARB = sealed class
     public constructor := exit;
@@ -72546,8 +73254,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPixelFormatARB = sealed class
     public constructor := exit;
@@ -72708,8 +73418,10 @@ type
     public const ExtensionString = 'WGL_ARB_pixel_format_float';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglRenderTextureARB = sealed class
     public constructor := exit;
@@ -72787,8 +73499,10 @@ type
     public const ExtensionString = 'WGL_EXT_depth_float';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglDisplayColorTableEXT = sealed class
     public constructor := exit;
@@ -72831,8 +73545,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglExtensionsStringEXT = sealed class
     public constructor := exit;
@@ -72855,8 +73571,10 @@ type
     public const ExtensionString = 'WGL_EXT_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglMakeCurrentReadEXT = sealed class
     public constructor := exit;
@@ -72884,8 +73602,10 @@ type
     public const ExtensionString = 'WGL_EXT_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPbufferEXT = sealed class
     public constructor := exit;
@@ -72943,8 +73663,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPixelFormatEXT = sealed class
     public constructor := exit;
@@ -73077,8 +73799,10 @@ type
     public const ExtensionString = 'WGL_EXT_pixel_format_packed_float';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSwapControlEXT = sealed class
     public constructor := exit;
@@ -73106,8 +73830,10 @@ type
     public const ExtensionString = 'WGL_EXT_swap_control_tear';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglDigitalVideoControlI3D = sealed class
     public constructor := exit;
@@ -73143,8 +73869,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglGammaI3D = sealed class
     public constructor := exit;
@@ -73251,8 +73979,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglGenlockI3D = sealed class
     public constructor := exit;
@@ -73367,8 +74097,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglImageBufferI3D = sealed class
     public constructor := exit;
@@ -73452,8 +74184,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSwapFrameLockI3D = sealed class
     public constructor := exit;
@@ -73506,8 +74240,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSwapFrameUsageI3D = sealed class
     public constructor := exit;
@@ -73584,8 +74320,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglCopyImageNV = sealed class
     public constructor := exit;
@@ -73603,8 +74341,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglDelayBeforeSwapNV = sealed class
     public constructor := exit;
@@ -73622,8 +74362,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglDXInteropNV = sealed class
     public constructor := exit;
@@ -73706,8 +74448,10 @@ type
     public const ExtensionString = 'WGL_NV_float_buffer';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglGpuAffinityNV = sealed class
     public constructor := exit;
@@ -73795,8 +74539,10 @@ type
     public const ExtensionString = 'WGL_NV_multisample_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPresentVideoNV = sealed class
     public constructor := exit;
@@ -73864,8 +74610,10 @@ type
     public const ExtensionString = 'WGL_NV_render_texture_rectangle';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSwapGroupNV = sealed class
     public constructor := exit;
@@ -73958,8 +74706,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglVertexArrayRangeNV = sealed class
     public constructor := exit;
@@ -73982,8 +74732,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglVideoCaptureNV = sealed class
     public constructor := exit;
@@ -74041,8 +74793,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglVideoOutputNV = sealed class
     public constructor := exit;
@@ -74107,8 +74861,10 @@ type
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSyncControlOML = sealed class
     public constructor := exit;
diff --git a/Packing/Template/LowLvl/CodeContainerItems.pas b/Packing/Template/LowLvl/CodeContainerItems.pas
index 774ff8e0..e3fe9da9 100644
--- a/Packing/Template/LowLvl/CodeContainerItems.pas
+++ b/Packing/Template/LowLvl/CodeContainerItems.pas
@@ -2349,8 +2349,10 @@   RequiredList = record
         {$region WriteAPI}
         var WriteAPI := procedure(api_funcs: sequence of Func; add_ver, depr_ver: Func->string)->
         begin
-          intr_wr += '  [PCUNotRestore]'#10;
+          intr_wr += '  {$ifndef DEBUG}'#10;
           intr_wr += '  [System.Security.SuppressUnmanagedCodeSecurity]'#10;
+          intr_wr += '  {$endif DEBUG}'#10;
+          intr_wr += '  [PCUNotRestore]'#10;
           intr_wr += '  ///'#10;
           intr_wr += '  ';
           intr_wr += api;
@@ -2533,8 +2535,10 @@             impl_wr += class_type;
       
       if any_funcs then
       begin
-        intr_wr += '  [PCUNotRestore]'#10;
+        intr_wr += '  {$ifndef DEBUG}'#10;
         intr_wr += '  [System.Security.SuppressUnmanagedCodeSecurity]'#10;
+        intr_wr += '  {$endif DEBUG}'#10;
+        intr_wr += '  [PCUNotRestore]'#10;
       end;
       
       intr_wr += '  ///'#10;
diff --git a/Packing/Template/LowLvl/Dummy/Feature.Interface.template b/Packing/Template/LowLvl/Dummy/Feature.Interface.template
index d19823af..834ea14a 100644
--- a/Packing/Template/LowLvl/Dummy/Feature.Interface.template
+++ b/Packing/Template/LowLvl/Dummy/Feature.Interface.template
@@ -1,8 +1,10 @@
   
   
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   dum = static class
     
@@ -1033,8 +1035,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   dyn = sealed partial class
     public constructor(loader: DummyLoader);
diff --git a/Packing/Template/LowLvl/OpenCL/Extension.Interface.template b/Packing/Template/LowLvl/OpenCL/Extension.Interface.template
index 42226df0..8993f625 100644
--- a/Packing/Template/LowLvl/OpenCL/Extension.Interface.template
+++ b/Packing/Template/LowLvl/OpenCL/Extension.Interface.template
@@ -1,8 +1,10 @@
   
   
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clLoaderInfo = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -106,8 +108,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clLoaderLayers = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -184,8 +188,10 @@
     public const ExtensionString = 'cl_amd_device_attribute_query';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clContextLoggingFunctionsAPPLE = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -241,8 +247,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSetMemObjectDestructorAPPLE = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -271,8 +279,10 @@
     public const ExtensionString = 'cl_arm_get_core_id';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clImportMemoryARM = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -321,8 +331,10 @@
     public const ExtensionString = 'cl_arm_scheduling_controls';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharedVirtualMemoryARM = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -665,8 +677,10 @@
     public const ExtensionString = 'cl_ext_cxx_for_opencl';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clDeviceFissionEXT = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -755,8 +769,10 @@
     public const ExtensionString = 'cl_ext_image_raw10_raw12';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clImageRequirementsInfoEXT = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -872,8 +888,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clMigrateMemobjectEXT = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -988,8 +1006,10 @@
     public const ExtensionString = 'cl_img_cached_allocations';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clGenerateMipmapIMG = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -1172,8 +1192,10 @@
     public const ExtensionString = 'cl_img_mem_properties';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clUseGrallocPtrIMG = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -1384,8 +1406,10 @@
     public const ExtensionString = 'cl_img_yuv_image';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clAcceleratorINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -1469,8 +1493,10 @@
     public const ExtensionString = 'cl_intel_command_queue_families';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCreateBufferWithPropertiesINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -1524,8 +1550,10 @@
     public const ExtensionString = 'cl_intel_driver_diagnostics';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clDx9MediaSharingINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -1790,8 +1818,10 @@
     public const ExtensionString = 'cl_intel_planar_yuv';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clProgramScopeHostPipeINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -1976,8 +2006,10 @@
     public const ExtensionString = 'cl_intel_sharing_format_query';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryD3d10INTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -2005,8 +2037,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryD3d11INTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -2034,8 +2068,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryDx9INTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -2063,8 +2099,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryGlINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -2092,8 +2130,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSharingFormatQueryVaApiINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -2126,8 +2166,10 @@
     public const ExtensionString = 'cl_intel_simultaneous_sharing';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clUnifiedSharedMemoryINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -2367,8 +2409,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clVaApiMediaSharingINTEL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -2593,8 +2637,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCommandBufferKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -3227,8 +3273,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCommandBufferMultiDeviceKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -3292,8 +3340,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCommandBufferMutableDispatchKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -3456,8 +3506,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clCreateCommandQueueKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -3486,8 +3538,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clD3d10SharingKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -3722,8 +3776,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clD3d11SharingKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -3968,8 +4024,10 @@
     public const ExtensionString = 'cl_khr_device_uuid';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clDx9MediaSharingKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -4206,8 +4264,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clEglEventKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -4226,8 +4286,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clEglImageKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -4453,8 +4515,10 @@
     public const ExtensionString = 'cl_khr_extended_versioning';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clExternalMemoryKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -4680,8 +4744,10 @@
     public const ExtensionString = 'cl_khr_external_memory_win32';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clExternalSemaphoreKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -4713,8 +4779,10 @@
     public const ExtensionString = 'cl_khr_external_semaphore_opaque_fd';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clExternalSemaphoreSyncFdKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -4758,8 +4826,10 @@
     public const ExtensionString = 'cl_khr_fp64';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clGLSharingKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -5116,8 +5186,10 @@
     public const ExtensionString = 'cl_khr_gl_depth_images';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clGLEventKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -5141,8 +5213,10 @@
     public const ExtensionString = 'cl_khr_gl_msaa_sharing';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clIcdKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -5182,8 +5256,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clIlProgramKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -5242,8 +5318,10 @@
     public const ExtensionString = 'cl_khr_priority_hints';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSemaphoreKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -5732,8 +5810,10 @@
     public const ExtensionString = 'cl_khr_subgroup_named_barrier';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSubgroupsKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -5866,8 +5946,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clSuggestedLocalWorkSizeKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -5929,8 +6011,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clTerminateContextKHR = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -5959,8 +6043,10 @@
     public const ExtensionString = 'cl_nv_device_attribute_query';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clContentSizePOCL = sealed partial class
     public constructor(pl: cl_platform_id);
@@ -5984,8 +6070,10 @@
     public const ExtensionString = 'cl_qcom_android_native_buffer_host_ptr';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   clExtHostPtrQCOM = sealed partial class
     public constructor(pl: cl_platform_id);
diff --git a/Packing/Template/LowLvl/OpenCL/Feature.Interface.template b/Packing/Template/LowLvl/OpenCL/Feature.Interface.template
index 8257b789..1f993b40 100644
--- a/Packing/Template/LowLvl/OpenCL/Feature.Interface.template
+++ b/Packing/Template/LowLvl/OpenCL/Feature.Interface.template
@@ -1,8 +1,10 @@
   
   
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   cl = static class
     
diff --git a/Packing/Template/LowLvl/OpenGL/Extension.Interface.template b/Packing/Template/LowLvl/OpenGL/Extension.Interface.template
index 47e0630f..0e6a99c2 100644
--- a/Packing/Template/LowLvl/OpenGL/Extension.Interface.template
+++ b/Packing/Template/LowLvl/OpenGL/Extension.Interface.template
@@ -6,8 +6,10 @@
     public const ExtensionString = 'GL_3DFX_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTbuffer3DFX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -40,8 +42,10 @@
     public const ExtensionString = 'GL_AMD_conservative_depth';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugOutputAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -101,8 +105,10 @@
     public const ExtensionString = 'GL_AMD_depth_clamp_separate';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffersBlendAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -135,8 +141,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferMultisampleAdvancedAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -159,8 +167,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferSamplePositionsAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -234,8 +244,10 @@
     public const ExtensionString = 'GL_AMD_gpu_shader_int16';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShaderInt64AMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -620,8 +632,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInterleavedElementsAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -639,8 +653,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiDrawIndirectAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -663,8 +679,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glNameGenDeleteAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -712,8 +730,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glOcclusionQueryEventAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -731,8 +751,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPerformanceMonitorAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -885,8 +907,10 @@
     public const ExtensionString = 'GL_AMD_query_buffer_object';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSamplePositionsAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -954,8 +978,10 @@
     public const ExtensionString = 'GL_AMD_shader_trinary_minmax';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSparseTextureAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -978,8 +1004,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStencilOperationExtendedAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1022,8 +1050,10 @@
     public const ExtensionString = 'GL_AMD_vertex_shader_layer';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexShaderTessellatorAMD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1061,8 +1091,10 @@
     public const ExtensionString = 'GL_APPLE_client_storage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glElementArrayAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1140,8 +1172,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFenceAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1219,8 +1253,10 @@
     public const ExtensionString = 'GL_APPLE_float_pixels';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFlushBufferRangeAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1243,8 +1279,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glObjectPurgeableAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1290,8 +1328,10 @@
     public const ExtensionString = 'GL_APPLE_specular_vector';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureRangeAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1322,8 +1362,10 @@
     public const ExtensionString = 'GL_APPLE_transform_hint';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayObjectAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1376,8 +1418,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayRangeAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1405,8 +1449,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexProgramEvaluatorsAPPLE = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1504,8 +1550,10 @@
     public const ExtensionString = 'GL_ARB_arrays_of_arrays';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBaseInstanceARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1533,8 +1581,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindlessTextureARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1660,8 +1710,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendFuncExtendedARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1702,8 +1754,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBufferStorageARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1733,8 +1787,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClearBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1781,8 +1837,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClearTextureARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1805,8 +1863,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClEventARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1844,8 +1904,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClipControlARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1863,8 +1925,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glColorBufferFloatARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1892,8 +1956,10 @@
     public const ExtensionString = 'GL_ARB_compressed_texture_pixel_storage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glComputeShaderARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1916,8 +1982,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glComputeVariableGroupSizeARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1945,8 +2013,10 @@
     public const ExtensionString = 'GL_ARB_conservative_depth';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCopyBufferARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1964,8 +2034,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCopyImageARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -1988,8 +2060,10 @@
     public const ExtensionString = 'GL_ARB_cull_distance';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugOutputARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -2064,8 +2138,10 @@
     public const ExtensionString = 'GL_ARB_derivative_control';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDirectStateAccessARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -2948,8 +3024,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffersARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -2977,8 +3055,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffersBlendARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -3011,8 +3091,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawElementsBaseVertexARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -3086,8 +3168,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawIndirectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -3110,8 +3194,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawInstancedARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -3139,8 +3225,10 @@
     public const ExtensionString = 'GL_ARB_enhanced_layouts';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glES2CompatibilityARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -3197,8 +3285,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glES31CompatibilityARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -3216,8 +3306,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glES32CompatibilityARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -3260,8 +3352,10 @@
     public const ExtensionString = 'GL_ARB_fragment_layer_viewport';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentProgramARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -3480,8 +3574,10 @@
     public const ExtensionString = 'GL_ARB_fragment_shader_interlock';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferNoAttachmentsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -3507,8 +3603,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -3672,8 +3770,10 @@
     public const ExtensionString = 'GL_ARB_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGeometryShader4ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -3706,8 +3806,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGetProgramBinaryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -3744,8 +3846,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGetTextureSubImageARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -3768,8 +3872,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGlSpirvARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -3859,8 +3965,10 @@
     public const ExtensionString = 'GL_ARB_gpu_shader5';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShaderFp64ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -4132,8 +4240,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShaderInt64ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -4544,8 +4654,10 @@
     public const ExtensionString = 'GL_ARB_half_float_vertex';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glImagingARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -4798,8 +4910,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glIndirectParametersARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -4822,8 +4936,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInstancedArraysARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -4841,8 +4957,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInternalformatQueryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -4863,8 +4981,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInternalformatQuery2ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -4885,8 +5005,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInvalidateSubdataARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -4954,8 +5076,10 @@
     public const ExtensionString = 'GL_ARB_map_buffer_alignment';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMapBufferRangeARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -4978,8 +5102,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMatrixPaletteARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -5047,8 +5173,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiBindARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -5215,8 +5343,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiDrawIndirectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -5239,8 +5369,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultisampleARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -5258,8 +5390,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultitextureARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -5638,8 +5772,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glOcclusionQueryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -5726,8 +5862,10 @@
     public const ExtensionString = 'GL_ARB_occlusion_query2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glParallelShaderCompileARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -5755,8 +5893,10 @@
     public const ExtensionString = 'GL_ARB_pixel_buffer_object';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPointParametersARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -5794,8 +5934,10 @@
     public const ExtensionString = 'GL_ARB_point_sprite';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPolygonOffsetClampARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -5818,8 +5960,10 @@
     public const ExtensionString = 'GL_ARB_post_depth_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glProgramInterfaceQueryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -5944,8 +6088,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glProvokingVertexARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -5973,8 +6119,10 @@
     public const ExtensionString = 'GL_ARB_robust_buffer_access_behavior';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRobustnessARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -6125,8 +6273,10 @@
     public const ExtensionString = 'GL_ARB_robustness_isolation';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSampleLocationsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -6174,8 +6324,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSamplerObjectsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -6330,8 +6482,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSampleShadingARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -6359,8 +6513,10 @@
     public const ExtensionString = 'GL_ARB_seamless_cubemap_per_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSeparateShaderObjectsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -7168,8 +7324,10 @@
     public const ExtensionString = 'GL_ARB_shader_atomic_counter_ops';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderAtomicCountersARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -7215,8 +7373,10 @@
     public const ExtensionString = 'GL_ARB_shader_group_vote';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderImageLoadStoreARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -7244,8 +7404,10 @@
     public const ExtensionString = 'GL_ARB_shader_image_size';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderObjectsARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -7697,8 +7859,10 @@
     public const ExtensionString = 'GL_ARB_shader_stencil_export';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderStorageBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -7716,8 +7880,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderSubroutineARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -7838,8 +8004,10 @@
     public const ExtensionString = 'GL_ARB_shading_language_420pack';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShadingLanguageIncludeARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8024,8 +8192,10 @@
     public const ExtensionString = 'GL_ARB_shadow_ambient';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSparseBufferARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8053,8 +8223,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSparseTextureARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8092,8 +8264,10 @@
     public const ExtensionString = 'GL_ARB_stencil_texturing';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSyncARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8153,8 +8327,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTessellationShaderARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8187,8 +8363,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBarrierARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8211,8 +8389,10 @@
     public const ExtensionString = 'GL_ARB_texture_border_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8235,8 +8415,10 @@
     public const ExtensionString = 'GL_ARB_texture_buffer_object_rgb32';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBufferRangeARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8254,8 +8436,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureCompressionARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8373,8 +8557,10 @@
     public const ExtensionString = 'GL_ARB_texture_mirrored_repeat';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureMultisampleARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8445,8 +8631,10 @@
     public const ExtensionString = 'GL_ARB_texture_stencil8';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureStorageARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8474,8 +8662,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureStorageMultisampleARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8503,8 +8693,10 @@
     public const ExtensionString = 'GL_ARB_texture_swizzle';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureViewARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8522,8 +8714,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTimerQueryARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8557,8 +8751,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedback2ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8626,8 +8822,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedback3ARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8663,8 +8861,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedbackInstancedARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8692,8 +8892,10 @@
     public const ExtensionString = 'GL_ARB_transform_feedback_overflow_query';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransposeMatrixARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8766,8 +8968,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glUniformBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8932,8 +9136,10 @@
     public const ExtensionString = 'GL_ARB_vertex_array_bgra';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -8986,8 +9192,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttrib64bitARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -9102,8 +9310,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttribBindingARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -9146,8 +9356,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexBlendARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -9290,8 +9502,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexBufferObjectARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -9421,8 +9635,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexProgramARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -10143,8 +10359,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexShaderARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -10733,8 +10951,10 @@
     public const ExtensionString = 'GL_ARB_vertex_type_10f_11f_11f_rev';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexType2101010RevARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -11127,8 +11347,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glViewportArrayARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -11267,8 +11489,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glWindowPosARB = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -11465,8 +11689,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffersATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -11494,8 +11720,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glElementArrayATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -11523,8 +11751,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glEnvmapBumpmapATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -11583,8 +11813,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentShaderATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -11677,8 +11909,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMapObjectBufferATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -11711,8 +11945,10 @@
     public const ExtensionString = 'GL_ATI_pixel_format_float';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPnTrianglesATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -11735,8 +11971,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSeparateStencilATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -11779,8 +12017,10 @@
     public const ExtensionString = 'GL_ATI_texture_mirror_once';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayObjectATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -11871,8 +12111,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttribArrayObjectATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -11906,8 +12148,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexStreamsATI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -12421,8 +12665,10 @@
     public const ExtensionString = 'GL_EXT_bgra';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindableUniformEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -12450,8 +12696,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendColorEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -12469,8 +12717,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendEquationSeparateEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -12488,8 +12738,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendFuncSeparateEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -12512,8 +12764,10 @@
     public const ExtensionString = 'GL_EXT_blend_logic_op';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendMinmaxEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -12546,8 +12800,10 @@
     public const ExtensionString = 'GL_EXT_cmyka';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glColorSubtableEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -12570,8 +12826,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCompiledVertexArrayEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -12594,8 +12852,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConvolutionEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -12699,8 +12959,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCoordinateFrameEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -12953,8 +13215,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCopyTextureEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -12992,8 +13256,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCullVertexEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -13036,8 +13302,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugLabelEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -13072,8 +13340,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugMarkerEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -13119,8 +13389,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDepthBoundsTestEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -13138,8 +13410,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDirectStateAccessEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -15387,8 +15661,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawBuffers2EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -15437,8 +15713,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawInstancedEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -15461,8 +15739,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawRangeElementsEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -15480,8 +15760,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glEGLImageStorageEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -15529,8 +15811,10 @@
     public const ExtensionString = 'GL_EXT_EGL_sync';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glExternalBufferEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -15553,8 +15837,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFogCoordEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -15612,8 +15898,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferBlitEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -15631,8 +15919,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferBlitLayersEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -15655,8 +15945,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferMultisampleEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -15679,8 +15971,10 @@
     public const ExtensionString = 'GL_EXT_framebuffer_multisample_blit_scaled';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -15829,8 +16123,10 @@
     public const ExtensionString = 'GL_EXT_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGeometryShader4EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -15848,8 +16144,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuProgramParametersEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -15898,8 +16196,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShader4EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16308,8 +16608,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glHistogramEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16389,8 +16691,10 @@
     public const ExtensionString = 'GL_EXT_index_array_formats';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glIndexFuncEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16408,8 +16712,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glIndexMaterialEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16432,8 +16738,10 @@
     public const ExtensionString = 'GL_EXT_index_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glLightTextureEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16461,8 +16769,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16609,8 +16919,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryObjectFdEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16628,8 +16940,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryObjectWin32EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16657,8 +16971,10 @@
     public const ExtensionString = 'GL_EXT_misc_attribute';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiDrawArraysEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16722,8 +17038,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultisampleEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16776,8 +17094,10 @@
     public const ExtensionString = 'GL_EXT_packed_pixels';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPalettedTextureEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16821,8 +17141,10 @@
     public const ExtensionString = 'GL_EXT_pixel_buffer_object';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPixelTransformEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16896,8 +17218,10 @@
     public const ExtensionString = 'GL_EXT_pixel_transform_color_table';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPointParametersEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16930,8 +17254,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPolygonOffsetEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16949,8 +17275,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPolygonOffsetClampEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16973,8 +17301,10 @@
     public const ExtensionString = 'GL_EXT_post_depth_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glProvokingVertexEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -16992,8 +17322,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRasterMultisampleEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17016,8 +17348,10 @@
     public const ExtensionString = 'GL_EXT_rescale_normal';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSecondaryColorEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17219,8 +17553,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSemaphoreEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17401,8 +17737,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSemaphoreFdEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17420,8 +17758,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSemaphoreWin32EXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17444,8 +17784,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSeparateShaderObjectsEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17492,8 +17834,10 @@
     public const ExtensionString = 'GL_EXT_shader_framebuffer_fetch';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderFramebufferFetchNonCoherentEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17516,8 +17860,10 @@
     public const ExtensionString = 'GL_EXT_shader_image_load_formatted';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderImageLoadStoreEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17565,8 +17911,10 @@
     public const ExtensionString = 'GL_EXT_sparse_texture2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStencilClearTagEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17584,8 +17932,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStencilTwoSideEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17608,8 +17958,10 @@
     public const ExtensionString = 'GL_EXT_stencil_wrap';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSubtextureEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17637,8 +17989,10 @@
     public const ExtensionString = 'GL_EXT_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTexture3DEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17661,8 +18015,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureArrayEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17680,8 +18036,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBufferObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17744,8 +18102,10 @@
     public const ExtensionString = 'GL_EXT_texture_filter_minmax';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureIntegerEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17824,8 +18184,10 @@
     public const ExtensionString = 'GL_EXT_texture_mirror_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17930,8 +18292,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTexturePerturbNormalEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -17984,8 +18348,10 @@
     public const ExtensionString = 'GL_EXT_texture_sRGB_RG8';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureStorageEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -18033,8 +18399,10 @@
     public const ExtensionString = 'GL_EXT_texture_swizzle';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTimerQueryEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -18063,8 +18431,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedbackEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -18162,8 +18532,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -18239,8 +18611,10 @@
     public const ExtensionString = 'GL_EXT_vertex_array_bgra';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttrib64bitEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -18355,8 +18729,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexShaderEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -18689,8 +19065,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexWeightingEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -18728,8 +19106,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glWin32KeyedMutexEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -18752,8 +19132,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glWindowRectanglesEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -18781,8 +19163,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glX11SyncObjectEXT = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -18800,8 +19184,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFrameTerminatorGREMEDY = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -18819,8 +19205,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStringMarkerGREMEDY = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -18843,8 +19231,10 @@
     public const ExtensionString = 'GL_HP_convolution_border_modes';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glImageTransformHP = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -18928,8 +19318,10 @@
     public const ExtensionString = 'GL_IBM_cull_vertex';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultimodeDrawArraysIBM = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -19040,8 +19432,10 @@
     public const ExtensionString = 'GL_IBM_rasterpos_clip';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glStaticDataIBM = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -19064,8 +19458,10 @@
     public const ExtensionString = 'GL_IBM_texture_mirrored_repeat';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayListsIBM = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -19226,8 +19622,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendFuncSeparateINGR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -19270,8 +19668,10 @@
     public const ExtensionString = 'GL_INTEL_fragment_shader_ordering';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferCMAAINTEL = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -19289,8 +19689,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMapTextureINTEL = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -19339,8 +19741,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glParallelArraysINTEL = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -19413,8 +19817,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPerformanceQueryINTEL = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -19523,8 +19929,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendEquationAdvancedKHR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -19552,8 +19960,10 @@
     public const ExtensionString = 'GL_KHR_context_flush_control';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDebugKHR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -19684,8 +20094,10 @@
     public const ExtensionString = 'GL_KHR_no_error';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glParallelShaderCompileKHR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -19708,8 +20120,10 @@
     public const ExtensionString = 'GL_KHR_robust_buffer_access_behavior';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRobustnessKHR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -19781,8 +20195,10 @@
     public const ExtensionString = 'GL_MESA_framebuffer_flip_x';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferFlipYMESA = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -19823,8 +20239,10 @@
     public const ExtensionString = 'GL_MESA_program_binary_formats';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glResizeBuffersMESA = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -19852,8 +20270,10 @@
     public const ExtensionString = 'GL_MESA_tile_raster_order';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glWindowPosMESA = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20152,8 +20572,10 @@
     public const ExtensionString = 'GL_MESAX_texture_stack';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glAlphaToCoverageDitherControlNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20171,8 +20593,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindlessMultiDrawIndirectNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20195,8 +20619,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindlessMultiDrawIndirectCountNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20219,8 +20645,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBindlessTextureNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20318,8 +20746,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glBlendEquationAdvancedNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20357,8 +20787,10 @@
     public const ExtensionString = 'GL_NV_blend_square';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glClipSpaceWScalingNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20376,8 +20808,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCommandListNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20813,8 +21247,10 @@
     public const ExtensionString = 'GL_NV_compute_shader_derivatives';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConditionalRenderNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20837,8 +21273,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConservativeRasterNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20856,8 +21294,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConservativeRasterDilateNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20880,8 +21320,10 @@
     public const ExtensionString = 'GL_NV_conservative_raster_pre_snap';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConservativeRasterPreSnapTrianglesNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20909,8 +21351,10 @@
     public const ExtensionString = 'GL_NV_copy_depth_to_color';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glCopyImageNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20933,8 +21377,10 @@
     public const ExtensionString = 'GL_NV_deep_texture3D';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDepthBufferFloatNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20967,8 +21413,10 @@
     public const ExtensionString = 'GL_NV_depth_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawTextureNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -20986,8 +21434,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDrawVulkanImageNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -21034,8 +21484,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glEvaluatorsNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -21125,8 +21577,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glExplicitMultisampleNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -21157,8 +21611,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFenceNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -21244,8 +21700,10 @@
     public const ExtensionString = 'GL_NV_fog_distance';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentCoverageToColorNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -21263,8 +21721,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentProgramNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -21490,8 +21950,10 @@
     public const ExtensionString = 'GL_NV_fragment_shader_interlock';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferMixedSamplesNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -21537,8 +21999,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramebufferMultisampleCoverageNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -21556,8 +22020,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGeometryProgram4NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -21600,8 +22066,10 @@
     public const ExtensionString = 'GL_NV_geometry_shader_passthrough';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuMulticastNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -21724,8 +22192,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuProgram4NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -21934,8 +22404,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuProgram5NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -21976,8 +22448,10 @@
     public const ExtensionString = 'GL_NV_gpu_program5_mem_extended';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuShader5NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -22354,8 +22828,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glHalfFloatNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -22848,8 +23324,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInternalformatSampleQueryNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -22875,8 +23353,10 @@
     public const ExtensionString = 'GL_NV_light_max_exponent';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryAttachmentNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -22922,8 +23402,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMemoryObjectSparseNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -22956,8 +23438,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMeshShaderNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -23000,8 +23484,10 @@
     public const ExtensionString = 'GL_NV_multisample_filter_hint';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glOcclusionQueryNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -23080,8 +23566,10 @@
     public const ExtensionString = 'GL_NV_packed_depth_stencil';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glParameterBufferObjectNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -23144,8 +23632,10 @@
     public const ExtensionString = 'GL_NV_parameter_buffer_object2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPathRenderingNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -23993,8 +24483,10 @@
     public const ExtensionString = 'GL_NV_path_rendering_shared_edge';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPixelDataRangeNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24017,8 +24509,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPointSpriteNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24051,8 +24545,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPresentVideoNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24107,8 +24603,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPrimitiveRestartNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24136,8 +24634,10 @@
     public const ExtensionString = 'GL_NV_primitive_shading_rate';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glQueryResourceNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24165,8 +24665,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glQueryResourceTagNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24223,8 +24725,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRegisterCombinersNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24340,8 +24844,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glRegisterCombiners2NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24387,8 +24893,10 @@
     public const ExtensionString = 'GL_NV_robustness_video_memory_purge';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSampleLocationsNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24441,8 +24949,10 @@
     public const ExtensionString = 'GL_NV_sample_mask_override_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glScissorExclusiveNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24500,8 +25010,10 @@
     public const ExtensionString = 'GL_NV_shader_atomic_int64';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShaderBufferLoadNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24646,8 +25158,10 @@
     public const ExtensionString = 'GL_NV_shader_thread_shuffle';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glShadingRateImageNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24741,8 +25255,10 @@
     public const ExtensionString = 'GL_NV_texgen_reflection';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureBarrierNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24775,8 +25291,10 @@
     public const ExtensionString = 'GL_NV_texture_expand_normal';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureMultisampleNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24844,8 +25362,10 @@
     public const ExtensionString = 'GL_NV_texture_shader3';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTimelineSemaphoreNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -24896,8 +25416,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedbackNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -25052,8 +25574,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTransformFeedback2NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -25131,8 +25655,10 @@
     public const ExtensionString = 'GL_NV_uniform_buffer_unified_memory';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVdpauInteropNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -25255,8 +25781,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVdpauInterop2NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -25284,8 +25812,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexArrayRangeNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -25313,8 +25843,10 @@
     public const ExtensionString = 'GL_NV_vertex_array_range2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexAttribInteger64bitNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -25526,8 +26058,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexBufferUnifiedMemoryNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -25603,8 +26137,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexProgramNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -26424,8 +26960,10 @@
     public const ExtensionString = 'GL_NV_vertex_program3';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexProgram4NV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -26709,8 +27247,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVideoCaptureNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -26851,8 +27391,10 @@
     public const ExtensionString = 'GL_NV_viewport_array2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glViewportSwizzleNV = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -26875,8 +27417,10 @@
     public const ExtensionString = 'GL_NVX_blend_equation_advanced_multi_draw_buffers';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConditionalRenderNVX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -26904,8 +27448,10 @@
     public const ExtensionString = 'GL_NVX_gpu_memory_info';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGpuMulticast2NVX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -27130,8 +27676,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glLinkedGpuMulticastNVX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -27159,8 +27707,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glProgressFenceNVX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -27256,8 +27806,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glByteCoordinatesOES = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -27522,8 +28074,10 @@
     public const ExtensionString = 'GL_OES_compressed_paletted_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFixedPointOES = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -28495,8 +29049,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glQueryMatrixOES = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -28540,8 +29096,10 @@
     public const ExtensionString = 'GL_OES_read_format';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSinglePrecisionOES = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -28612,8 +29170,10 @@
     public const ExtensionString = 'GL_OML_subsample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultiviewOVR = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -28636,8 +29196,10 @@
     public const ExtensionString = 'GL_OVR_multiview2';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMiscHintsPGI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -28675,8 +29237,10 @@
     public const ExtensionString = 'GL_SGI_color_matrix';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glColorTableSGI = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -28761,8 +29325,10 @@
     public const ExtensionString = 'GL_SGI_texture_color_table';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glDetailTextureSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -28798,8 +29364,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFogFunctionSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -28840,8 +29408,10 @@
     public const ExtensionString = 'GL_SGIS_generate_mipmap';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMultisampleSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -28864,8 +29434,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPixelTextureSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -28939,8 +29511,10 @@
     public const ExtensionString = 'GL_SGIS_point_line_texgen';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPointParametersSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -28973,8 +29547,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSharpenTextureSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29010,8 +29586,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTexture4DSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29039,8 +29617,10 @@
     public const ExtensionString = 'GL_SGIS_texture_border_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureColorMaskSGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29063,8 +29643,10 @@
     public const ExtensionString = 'GL_SGIS_texture_edge_clamp';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTextureFilter4SGIS = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29110,8 +29692,10 @@
     public const ExtensionString = 'GL_SGIS_texture_select';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glAsyncSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29214,8 +29798,10 @@
     public const ExtensionString = 'GL_SGIX_depth_texture';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFlushRasterSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29238,8 +29824,10 @@
     public const ExtensionString = 'GL_SGIX_fog_offset';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFragmentLightingSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29414,8 +30002,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glFramezoomSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29433,8 +30023,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glIglooInterfaceSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29452,8 +30044,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glInstrumentsSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29526,8 +30120,10 @@
     public const ExtensionString = 'GL_SGIX_ir_instrument1';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glListPrioritySGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29596,8 +30192,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPixelTextureSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29620,8 +30218,10 @@
     public const ExtensionString = 'GL_SGIX_pixel_tiles';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glPolynomialFfdSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29674,8 +30274,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glReferencePlaneSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29723,8 +30325,10 @@
     public const ExtensionString = 'GL_SGIX_shadow_ambient';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glSpriteSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29782,8 +30386,10 @@
     public const ExtensionString = 'GL_SGIX_subsample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTagSampleBufferSGIX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29851,8 +30457,10 @@
     public const ExtensionString = 'GL_SUN_convolution_border_modes';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glGlobalAlphaSUN = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29905,8 +30513,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glMeshArraySUN = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -29929,8 +30539,10 @@
     public const ExtensionString = 'GL_SUN_slice_accum';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glTriangleListSUN = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -30018,8 +30630,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glVertexSUN = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -30692,8 +31306,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glConstantDataSUNX = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -30726,8 +31342,10 @@
     public const ExtensionString = 'GLX_3DFX_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxGpuAssociationAMD = sealed class
     public constructor := exit;
@@ -30803,8 +31421,10 @@
     public const ExtensionString = 'GLX_ARB_context_flush_control';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCreateContextARB = sealed class
     public constructor := exit;
@@ -30857,8 +31477,10 @@
     public const ExtensionString = 'GLX_ARB_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxGetProcAddressARB = sealed class
     public constructor := exit;
@@ -30940,8 +31562,10 @@
     public const ExtensionString = 'GLX_EXT_get_drawable_type';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxImportContextEXT = sealed class
     public constructor := exit;
@@ -31004,8 +31628,10 @@
     public const ExtensionString = 'GLX_EXT_stereo_tree';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapControlEXT = sealed class
     public constructor := exit;
@@ -31028,8 +31654,10 @@
     public const ExtensionString = 'GLX_EXT_swap_control_tear';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxTextureFromPixmapEXT = sealed class
     public constructor := exit;
@@ -31077,8 +31705,10 @@
     public const ExtensionString = 'GLX_INTEL_swap_event';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxAgpOffsetMESA = sealed class
     public constructor := exit;
@@ -31096,8 +31726,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCopySubBufferMESA = sealed class
     public constructor := exit;
@@ -31115,8 +31747,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxPixmapColormapMESA = sealed class
     public constructor := exit;
@@ -31134,8 +31768,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxQueryRendererMESA = sealed class
     public constructor := exit;
@@ -31188,8 +31824,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxReleaseBuffersMESA = sealed class
     public constructor := exit;
@@ -31207,8 +31845,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSet3dfxModeMESA = sealed class
     public constructor := exit;
@@ -31226,8 +31866,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapControlMESA = sealed class
     public constructor := exit;
@@ -31250,8 +31892,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCopyBufferNV = sealed class
     public constructor := exit;
@@ -31274,8 +31918,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCopyImageNV = sealed class
     public constructor := exit;
@@ -31293,8 +31939,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxDelayBeforeSwapNV = sealed class
     public constructor := exit;
@@ -31327,8 +31975,10 @@
     public const ExtensionString = 'GLX_NV_multisample_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxPresentVideoNV = sealed class
     public constructor := exit;
@@ -31376,8 +32026,10 @@
     public const ExtensionString = 'GLX_NV_robustness_video_memory_purge';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapGroupNV = sealed class
     public constructor := exit;
@@ -31470,8 +32122,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoCaptureNV = sealed class
     public constructor := exit;
@@ -31529,8 +32183,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoOutNV = sealed class
     public constructor := exit;
@@ -31600,8 +32256,10 @@
     public const ExtensionString = 'GLX_OML_swap_method';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSyncControlOML = sealed class
     public constructor := exit;
@@ -31749,8 +32407,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxCushionSGI = sealed class
     public constructor := exit;
@@ -31768,8 +32428,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxMakeCurrentReadSGI = sealed class
     public constructor := exit;
@@ -31792,8 +32454,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapControlSGI = sealed class
     public constructor := exit;
@@ -31811,8 +32475,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoSyncSGI = sealed class
     public constructor := exit;
@@ -31863,8 +32529,10 @@
     public const ExtensionString = 'GLX_SGIS_shared_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxDmbufferSGIX = sealed class
     public constructor := exit;
@@ -31892,8 +32560,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxFbconfigSGIX = sealed class
     public constructor := exit;
@@ -31959,8 +32629,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxHyperpipeSGIX = sealed class
     public constructor := exit;
@@ -32022,8 +32694,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxPbufferSGIX = sealed class
     public constructor := exit;
@@ -32084,8 +32758,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapBarrierSGIX = sealed class
     public constructor := exit;
@@ -32118,8 +32794,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxSwapGroupSGIX = sealed class
     public constructor := exit;
@@ -32137,8 +32815,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoResizeSGIX = sealed class
     public constructor := exit;
@@ -32336,8 +33016,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxVideoSourceSGIX = sealed class
     public constructor := exit;
@@ -32365,8 +33047,10 @@
     public const ExtensionString = 'GLX_SGIX_visual_select_group';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glxGetTransparentIndexSUN = sealed class
     public constructor := exit;
@@ -32392,8 +33076,10 @@
     public const ExtensionString = 'WGL_3DFX_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglStereoControl3DL = sealed class
     public constructor := exit;
@@ -32411,8 +33097,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglGpuAssociationAMD = sealed class
     public constructor := exit;
@@ -32483,8 +33171,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglBufferRegionARB = sealed class
     public constructor := exit;
@@ -32522,8 +33212,10 @@
     public const ExtensionString = 'WGL_ARB_context_flush_control';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglCreateContextARB = sealed class
     public constructor := exit;
@@ -32566,8 +33258,10 @@
     public const ExtensionString = 'WGL_ARB_create_context_robustness';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglExtensionsStringARB = sealed class
     public constructor := exit;
@@ -32590,8 +33284,10 @@
     public const ExtensionString = 'WGL_ARB_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglMakeCurrentReadARB = sealed class
     public constructor := exit;
@@ -32619,8 +33315,10 @@
     public const ExtensionString = 'WGL_ARB_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPbufferARB = sealed class
     public constructor := exit;
@@ -32678,8 +33376,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPixelFormatARB = sealed class
     public constructor := exit;
@@ -32840,8 +33540,10 @@
     public const ExtensionString = 'WGL_ARB_pixel_format_float';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglRenderTextureARB = sealed class
     public constructor := exit;
@@ -32919,8 +33621,10 @@
     public const ExtensionString = 'WGL_EXT_depth_float';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglDisplayColorTableEXT = sealed class
     public constructor := exit;
@@ -32963,8 +33667,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglExtensionsStringEXT = sealed class
     public constructor := exit;
@@ -32987,8 +33693,10 @@
     public const ExtensionString = 'WGL_EXT_framebuffer_sRGB';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglMakeCurrentReadEXT = sealed class
     public constructor := exit;
@@ -33016,8 +33724,10 @@
     public const ExtensionString = 'WGL_EXT_multisample';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPbufferEXT = sealed class
     public constructor := exit;
@@ -33075,8 +33785,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPixelFormatEXT = sealed class
     public constructor := exit;
@@ -33209,8 +33921,10 @@
     public const ExtensionString = 'WGL_EXT_pixel_format_packed_float';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSwapControlEXT = sealed class
     public constructor := exit;
@@ -33238,8 +33952,10 @@
     public const ExtensionString = 'WGL_EXT_swap_control_tear';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglDigitalVideoControlI3D = sealed class
     public constructor := exit;
@@ -33275,8 +33991,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglGammaI3D = sealed class
     public constructor := exit;
@@ -33383,8 +34101,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglGenlockI3D = sealed class
     public constructor := exit;
@@ -33499,8 +34219,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglImageBufferI3D = sealed class
     public constructor := exit;
@@ -33584,8 +34306,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSwapFrameLockI3D = sealed class
     public constructor := exit;
@@ -33638,8 +34362,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSwapFrameUsageI3D = sealed class
     public constructor := exit;
@@ -33716,8 +34442,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglCopyImageNV = sealed class
     public constructor := exit;
@@ -33735,8 +34463,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglDelayBeforeSwapNV = sealed class
     public constructor := exit;
@@ -33754,8 +34484,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglDXInteropNV = sealed class
     public constructor := exit;
@@ -33838,8 +34570,10 @@
     public const ExtensionString = 'WGL_NV_float_buffer';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglGpuAffinityNV = sealed class
     public constructor := exit;
@@ -33927,8 +34661,10 @@
     public const ExtensionString = 'WGL_NV_multisample_coverage';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglPresentVideoNV = sealed class
     public constructor := exit;
@@ -33996,8 +34732,10 @@
     public const ExtensionString = 'WGL_NV_render_texture_rectangle';
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSwapGroupNV = sealed class
     public constructor := exit;
@@ -34090,8 +34828,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglVertexArrayRangeNV = sealed class
     public constructor := exit;
@@ -34114,8 +34854,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglVideoCaptureNV = sealed class
     public constructor := exit;
@@ -34173,8 +34915,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglVideoOutputNV = sealed class
     public constructor := exit;
@@ -34239,8 +34983,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wglSyncControlOML = sealed class
     public constructor := exit;
diff --git a/Packing/Template/LowLvl/OpenGL/Feature.Interface.template b/Packing/Template/LowLvl/OpenGL/Feature.Interface.template
index 5ba4a8ed..76afe22a 100644
--- a/Packing/Template/LowLvl/OpenGL/Feature.Interface.template
+++ b/Packing/Template/LowLvl/OpenGL/Feature.Interface.template
@@ -1,8 +1,10 @@
   
   
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   gl = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -7661,8 +7663,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glD = sealed partial class
     public constructor(loader: IGLPlatformLoader);
@@ -11660,8 +11664,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   gdi = static class
     
@@ -11740,8 +11746,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   glx = static class
     
@@ -12141,8 +12149,10 @@
     
   end;
   
-  [PCUNotRestore]
+  {$ifndef DEBUG}
   [System.Security.SuppressUnmanagedCodeSecurity]
+  {$endif DEBUG}
+  [PCUNotRestore]
   ///
   wgl = static class