@tsonic/dotnet 10.0.39 → 10.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/Internal/internal/index.d.ts +4 -3
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
  3. package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
  4. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
  5. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
  6. package/Microsoft.Win32/internal/index.d.ts +19 -18
  7. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
  8. package/README.md +76 -104
  9. package/System/bindings.json +1520 -2039
  10. package/System/internal/index.d.ts +1549 -1602
  11. package/System.Buffers/bindings.json +12 -3
  12. package/System.Buffers/internal/index.d.ts +12 -14
  13. package/System.Buffers.Binary/internal/index.d.ts +2 -4
  14. package/System.Buffers.Text/internal/index.d.ts +2 -4
  15. package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
  16. package/System.Collections/internal/index.d.ts +129 -131
  17. package/System.Collections.Concurrent/bindings.json +218 -218
  18. package/System.Collections.Concurrent/internal/index.d.ts +34 -36
  19. package/System.Collections.Frozen/bindings.json +413 -611
  20. package/System.Collections.Frozen/internal/index.d.ts +81 -97
  21. package/System.Collections.Frozen.d.ts +14 -2
  22. package/System.Collections.Generic/bindings.json +9420 -14155
  23. package/System.Collections.Generic/internal/index.d.ts +547 -758
  24. package/System.Collections.Generic.d.ts +1 -1
  25. package/System.Collections.Immutable/bindings.json +6000 -9080
  26. package/System.Collections.Immutable/internal/index.d.ts +265 -354
  27. package/System.Collections.Immutable.d.ts +49 -12
  28. package/System.Collections.ObjectModel/bindings.json +132 -654
  29. package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
  30. package/System.Collections.Specialized/bindings.json +0 -123
  31. package/System.Collections.Specialized/internal/index.d.ts +88 -101
  32. package/System.ComponentModel/bindings.json +163 -102
  33. package/System.ComponentModel/internal/index.d.ts +618 -608
  34. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
  35. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
  36. package/System.ComponentModel.Design/bindings.json +22 -292
  37. package/System.ComponentModel.Design/internal/index.d.ts +101 -109
  38. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
  39. package/System.ComponentModel.d.ts +1 -0
  40. package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
  41. package/System.Data/bindings.json +4 -1
  42. package/System.Data/internal/index.d.ts +351 -350
  43. package/System.Data.Common/internal/index.d.ts +151 -152
  44. package/System.Data.SqlTypes/internal/index.d.ts +68 -67
  45. package/System.Diagnostics/bindings.json +7044 -7249
  46. package/System.Diagnostics/internal/index.d.ts +446 -461
  47. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
  48. package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
  49. package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
  50. package/System.Diagnostics.Metrics.d.ts +1 -1
  51. package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
  52. package/System.Diagnostics.Tracing/bindings.json +81 -21
  53. package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
  54. package/System.Diagnostics.Tracing.d.ts +2 -1
  55. package/System.Drawing/internal/index.d.ts +76 -75
  56. package/System.Dynamic/internal/index.d.ts +55 -57
  57. package/System.Formats.Asn1/bindings.json +48 -69
  58. package/System.Formats.Asn1/internal/index.d.ts +21 -28
  59. package/System.Formats.Tar/internal/index.d.ts +8 -7
  60. package/System.Globalization/internal/index.d.ts +40 -42
  61. package/System.IO/internal/index.d.ts +187 -189
  62. package/System.IO.Compression/internal/index.d.ts +29 -31
  63. package/System.IO.Enumeration/bindings.json +250 -250
  64. package/System.IO.Enumeration/internal/index.d.ts +15 -17
  65. package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
  66. package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
  67. package/System.IO.Pipelines/internal/index.d.ts +15 -17
  68. package/System.IO.Pipes/internal/index.d.ts +8 -7
  69. package/System.Linq/internal/index.d.ts +223 -225
  70. package/System.Linq.Expressions/internal/index.d.ts +205 -207
  71. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
  72. package/System.Net/bindings.json +104 -104
  73. package/System.Net/internal/index.d.ts +279 -281
  74. package/System.Net.Cache/internal/index.d.ts +3 -2
  75. package/System.Net.Http/internal/index.d.ts +128 -130
  76. package/System.Net.Http.Headers/bindings.json +0 -204
  77. package/System.Net.Http.Headers/internal/index.d.ts +111 -127
  78. package/System.Net.Http.Json/internal/index.d.ts +67 -69
  79. package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
  80. package/System.Net.Mail/internal/index.d.ts +76 -78
  81. package/System.Net.Mime/internal/index.d.ts +11 -10
  82. package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
  83. package/System.Net.Quic/internal/index.d.ts +10 -9
  84. package/System.Net.Security/internal/index.d.ts +87 -89
  85. package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
  86. package/System.Net.Sockets/internal/index.d.ts +91 -93
  87. package/System.Net.WebSockets/internal/index.d.ts +47 -46
  88. package/System.Numerics/bindings.json +544 -116
  89. package/System.Numerics/internal/index.d.ts +110 -112
  90. package/System.Reflection/internal/index.d.ts +270 -272
  91. package/System.Reflection.Emit/internal/index.d.ts +114 -116
  92. package/System.Reflection.Metadata/bindings.json +166 -3169
  93. package/System.Reflection.Metadata/internal/index.d.ts +154 -361
  94. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
  95. package/System.Reflection.PortableExecutable/bindings.json +58 -0
  96. package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
  97. package/System.Reflection.PortableExecutable.d.ts +1 -0
  98. package/System.Resources/internal/index.d.ts +33 -35
  99. package/System.Runtime/internal/index.d.ts +12 -11
  100. package/System.Runtime.CompilerServices/bindings.json +519 -717
  101. package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
  102. package/System.Runtime.CompilerServices.d.ts +14 -4
  103. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
  104. package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
  105. package/System.Runtime.InteropServices/bindings.json +101 -101
  106. package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
  107. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
  108. package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
  109. package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
  110. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
  111. package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
  112. package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
  113. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
  114. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
  115. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
  116. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
  117. package/System.Runtime.InteropServices.Swift.d.ts +1 -1
  118. package/System.Runtime.Intrinsics/bindings.json +64 -16
  119. package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
  120. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
  121. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
  122. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
  123. package/System.Runtime.Loader/bindings.json +48 -69
  124. package/System.Runtime.Loader/internal/index.d.ts +30 -34
  125. package/System.Runtime.Remoting/internal/index.d.ts +5 -4
  126. package/System.Runtime.Serialization/internal/index.d.ts +175 -177
  127. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
  128. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
  129. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
  130. package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
  131. package/System.Runtime.Versioning/internal/index.d.ts +20 -19
  132. package/System.Security/internal/index.d.ts +64 -66
  133. package/System.Security.AccessControl/bindings.json +104 -0
  134. package/System.Security.AccessControl/internal/index.d.ts +59 -58
  135. package/System.Security.AccessControl.d.ts +6 -5
  136. package/System.Security.Authentication/internal/index.d.ts +7 -6
  137. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
  138. package/System.Security.Claims/internal/index.d.ts +45 -44
  139. package/System.Security.Cryptography/bindings.json +469 -469
  140. package/System.Security.Cryptography/internal/index.d.ts +269 -271
  141. package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
  142. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
  143. package/System.Security.Permissions/internal/index.d.ts +5 -4
  144. package/System.Security.Policy/internal/index.d.ts +11 -10
  145. package/System.Security.Principal/internal/index.d.ts +28 -27
  146. package/System.Text/bindings.json +1562 -1562
  147. package/System.Text/internal/index.d.ts +119 -121
  148. package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
  149. package/System.Text.Json/bindings.json +0 -290
  150. package/System.Text.Json/internal/index.d.ts +135 -153
  151. package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
  152. package/System.Text.Json.Schema/internal/index.d.ts +9 -8
  153. package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
  154. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
  155. package/System.Text.Json.Serialization.d.ts +1 -1
  156. package/System.Text.RegularExpressions/bindings.json +198 -402
  157. package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
  158. package/System.Text.Unicode/bindings.json +508 -508
  159. package/System.Text.Unicode/internal/index.d.ts +29 -31
  160. package/System.Threading/bindings.json +42 -42
  161. package/System.Threading/internal/index.d.ts +157 -159
  162. package/System.Threading.Channels/internal/index.d.ts +10 -12
  163. package/System.Threading.Tasks/bindings.json +4 -1
  164. package/System.Threading.Tasks/internal/index.d.ts +115 -114
  165. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
  166. package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
  167. package/System.Timers/internal/index.d.ts +8 -7
  168. package/System.Transactions/internal/index.d.ts +31 -30
  169. package/System.Web/internal/index.d.ts +32 -31
  170. package/System.Windows.Input/internal/index.d.ts +5 -4
  171. package/System.Windows.Markup/internal/index.d.ts +3 -2
  172. package/System.Xml/internal/index.d.ts +383 -385
  173. package/System.Xml.Linq/internal/index.d.ts +103 -102
  174. package/System.Xml.Resolvers/internal/index.d.ts +10 -9
  175. package/System.Xml.Schema/bindings.json +76 -76
  176. package/System.Xml.Schema/internal/index.d.ts +233 -232
  177. package/System.Xml.Serialization/bindings.json +193 -0
  178. package/System.Xml.Serialization/internal/index.d.ts +277 -245
  179. package/System.Xml.Serialization.d.ts +2 -0
  180. package/System.Xml.XPath/internal/index.d.ts +46 -45
  181. package/System.Xml.Xsl/internal/index.d.ts +53 -52
  182. package/System.Xml.Xsl.Runtime/bindings.json +4 -1
  183. package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
  184. package/System.d.ts +2 -2
  185. package/__internal/extensions/index.d.ts +517 -515
  186. package/families.json +63 -7
  187. package/package.json +2 -2
@@ -9126,6 +9126,110 @@
9126
9126
  }
9127
9127
  ]
9128
9128
  },
9129
+ {
9130
+ "stableId": "System.Security.AccessControl:System.Security.AccessControl.NativeObjectSecurity\u002BExceptionFromErrorCode",
9131
+ "clrName": "System.Security.AccessControl.NativeObjectSecurity\u002BExceptionFromErrorCode",
9132
+ "assemblyName": "System.Security.AccessControl",
9133
+ "metadataToken": 0,
9134
+ "kind": "Delegate",
9135
+ "accessibility": "ProtectedInternal",
9136
+ "isAbstract": false,
9137
+ "isSealed": true,
9138
+ "isStatic": false,
9139
+ "arity": 0,
9140
+ "baseType": {
9141
+ "stableId": "System.Private.CoreLib:System.MulticastDelegate",
9142
+ "clrName": "System.MulticastDelegate"
9143
+ },
9144
+ "interfaces": [
9145
+ {
9146
+ "stableId": "System.Private.CoreLib:System.ICloneable",
9147
+ "clrName": "System.ICloneable"
9148
+ },
9149
+ {
9150
+ "stableId": "System.Private.CoreLib:System.Runtime.Serialization.ISerializable",
9151
+ "clrName": "System.Runtime.Serialization.ISerializable"
9152
+ }
9153
+ ],
9154
+ "methods": [
9155
+ {
9156
+ "stableId": "System.Security.AccessControl:System.Security.AccessControl.NativeObjectSecurity\u002BExceptionFromErrorCode::Invoke(System.Int32,System.String,System.Runtime.InteropServices.SafeHandle,System.Object):System.Exception",
9157
+ "clrName": "Invoke",
9158
+ "metadataToken": 100663692,
9159
+ "canonicalSignature": "(System.Int32,System.String,System.Runtime.InteropServices.SafeHandle,System.Object):System.Exception",
9160
+ "normalizedSignature": "Invoke|(System.Int32,System.String,System.Runtime.InteropServices.SafeHandle,System.Object):System.Exception|static=false",
9161
+ "emitScope": "ClassSurface",
9162
+ "provenance": "Original",
9163
+ "arity": 0,
9164
+ "parameterCount": 4,
9165
+ "isStatic": false,
9166
+ "isAbstract": false,
9167
+ "isVirtual": true,
9168
+ "isOverride": false,
9169
+ "isSealed": false,
9170
+ "visibility": "Public",
9171
+ "declaringClrType": "System.Security.AccessControl.NativeObjectSecurity\u002BExceptionFromErrorCode",
9172
+ "declaringAssemblyName": "System.Security.AccessControl",
9173
+ "isExtensionMethod": false
9174
+ },
9175
+ {
9176
+ "stableId": "System.Security.AccessControl:System.Security.AccessControl.NativeObjectSecurity\u002BExceptionFromErrorCode::BeginInvoke(System.Int32,System.String,System.Runtime.InteropServices.SafeHandle,System.Object,System.AsyncCallback,System.Object):System.IAsyncResult",
9177
+ "clrName": "BeginInvoke",
9178
+ "metadataToken": 100663693,
9179
+ "canonicalSignature": "(System.Int32,System.String,System.Runtime.InteropServices.SafeHandle,System.Object,System.AsyncCallback,System.Object):System.IAsyncResult",
9180
+ "normalizedSignature": "BeginInvoke|(System.Int32,System.String,System.Runtime.InteropServices.SafeHandle,System.Object,System.AsyncCallback,System.Object):System.IAsyncResult|static=false",
9181
+ "emitScope": "ClassSurface",
9182
+ "provenance": "Original",
9183
+ "arity": 0,
9184
+ "parameterCount": 6,
9185
+ "isStatic": false,
9186
+ "isAbstract": false,
9187
+ "isVirtual": true,
9188
+ "isOverride": false,
9189
+ "isSealed": false,
9190
+ "visibility": "Public",
9191
+ "declaringClrType": "System.Security.AccessControl.NativeObjectSecurity\u002BExceptionFromErrorCode",
9192
+ "declaringAssemblyName": "System.Security.AccessControl",
9193
+ "isExtensionMethod": false
9194
+ },
9195
+ {
9196
+ "stableId": "System.Security.AccessControl:System.Security.AccessControl.NativeObjectSecurity\u002BExceptionFromErrorCode::EndInvoke(System.IAsyncResult):System.Exception",
9197
+ "clrName": "EndInvoke",
9198
+ "metadataToken": 100663694,
9199
+ "canonicalSignature": "(System.IAsyncResult):System.Exception",
9200
+ "normalizedSignature": "EndInvoke|(System.IAsyncResult):System.Exception|static=false",
9201
+ "emitScope": "ClassSurface",
9202
+ "provenance": "Original",
9203
+ "arity": 0,
9204
+ "parameterCount": 1,
9205
+ "isStatic": false,
9206
+ "isAbstract": false,
9207
+ "isVirtual": true,
9208
+ "isOverride": false,
9209
+ "isSealed": false,
9210
+ "visibility": "Public",
9211
+ "declaringClrType": "System.Security.AccessControl.NativeObjectSecurity\u002BExceptionFromErrorCode",
9212
+ "declaringAssemblyName": "System.Security.AccessControl",
9213
+ "isExtensionMethod": false
9214
+ }
9215
+ ],
9216
+ "properties": [],
9217
+ "fields": [],
9218
+ "events": [],
9219
+ "constructors": [
9220
+ {
9221
+ "stableId": "System.Security.AccessControl:System.Security.AccessControl.NativeObjectSecurity\u002BExceptionFromErrorCode::.ctor(System.Object,System.IntPtr):void",
9222
+ "metadataToken": 100663691,
9223
+ "canonicalSignature": "(System.Object,System.IntPtr):void",
9224
+ "normalizedSignature": "constructor|(System.Object,System.IntPtr):void|static=false",
9225
+ "isStatic": false,
9226
+ "parameterCount": 2,
9227
+ "visibility": "Public",
9228
+ "declaringClrType": "System.Security.AccessControl.NativeObjectSecurity\u002BExceptionFromErrorCode",
9229
+ "declaringAssemblyName": "System.Security.AccessControl"
9230
+ }
9231
+ ]
9232
+ },
9129
9233
  {
9130
9234
  "stableId": "System.Security.AccessControl:System.Security.AccessControl.ObjectAccessRule",
9131
9235
  "clrName": "System.Security.AccessControl.ObjectAccessRule",
@@ -2,22 +2,20 @@
2
2
  // Namespace: System.Security.AccessControl
3
3
  // Assembly: Microsoft.Win32.Registry, System.IO.FileSystem.AccessControl, System.Security.AccessControl, System.Threading.AccessControl
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import * as System_Collections_Internal from "../../System.Collections/internal/index.js";
13
11
  import type { ArrayList, ICollection, IDictionary, IEnumerable, IEnumerator, ReadOnlyCollectionBase } from "../../System.Collections/internal/index.js";
14
- import type { MethodBase } from "../../System.Reflection/internal/index.js";
12
+ import type { MethodBase, MethodInfo } from "../../System.Reflection/internal/index.js";
15
13
  import type { SafeHandle } from "../../System.Runtime.InteropServices/internal/index.js";
16
14
  import * as System_Runtime_Serialization_Internal from "../../System.Runtime.Serialization/internal/index.js";
17
15
  import type { ISerializable, SerializationInfo, StreamingContext } from "../../System.Runtime.Serialization/internal/index.js";
18
16
  import type { IdentityReference, SecurityIdentifier } from "../../System.Security.Principal/internal/index.js";
19
17
  import * as System_Internal from "../../System/internal/index.js";
20
- import type { Array as ClrArray, Boolean as ClrBoolean, Byte, Enum, Exception, Guid, IComparable, IConvertible, IFormatProvider, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, TypeCode, UnauthorizedAccessException, ValueType, Void } from "../../System/internal/index.js";
18
+ import type { Array as ClrArray, AsyncCallback, Boolean as ClrBoolean, Byte, Delegate, Enum, Exception, Guid, IAsyncResult, ICloneable, IComparable, IConvertible, IFormatProvider, IFormattable, Int32, IntPtr, ISpanFormattable, MulticastDelegate, Object as ClrObject, String as ClrString, Type, TypeCode, UnauthorizedAccessException, ValueType, Void } from "../../System/internal/index.js";
21
19
 
22
20
  export enum AccessControlActions {
23
21
  None = 0,
@@ -266,7 +264,7 @@ export const AccessRule: (abstract new(identity: IdentityReference, accessMask:
266
264
 
267
265
  export type AccessRule = AccessRule$instance;
268
266
 
269
- export interface AccessRule_1$instance<T extends unknown> extends AccessRule {
267
+ export interface AccessRule_1$instance<T extends NonNullable<JsValue>> extends AccessRule {
270
268
  readonly __tsonic_type_System_Security_AccessControl_AccessRule_1: never;
271
269
 
272
270
  readonly Rights: T;
@@ -274,10 +272,10 @@ export interface AccessRule_1$instance<T extends unknown> extends AccessRule {
274
272
 
275
273
 
276
274
  export const AccessRule_1: {
277
- new<T extends unknown>(identity: IdentityReference, rights: T, type: AccessControlType): AccessRule_1<T>;
278
- new<T extends unknown>(identity: IdentityReference, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type: AccessControlType): AccessRule_1<T>;
279
- new<T extends unknown>(identity: string, rights: T, type: AccessControlType): AccessRule_1<T>;
280
- new<T extends unknown>(identity: string, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type: AccessControlType): AccessRule_1<T>;
275
+ new<T extends NonNullable<JsValue>>(identity: IdentityReference, rights: T, type: AccessControlType): AccessRule_1<T>;
276
+ new<T extends NonNullable<JsValue>>(identity: IdentityReference, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type: AccessControlType): AccessRule_1<T>;
277
+ new<T extends NonNullable<JsValue>>(identity: string, rights: T, type: AccessControlType): AccessRule_1<T>;
278
+ new<T extends NonNullable<JsValue>>(identity: string, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type: AccessControlType): AccessRule_1<T>;
281
279
  };
282
280
 
283
281
 
@@ -318,7 +316,7 @@ export const AuditRule: (abstract new(identity: IdentityReference, accessMask: i
318
316
 
319
317
  export type AuditRule = AuditRule$instance;
320
318
 
321
- export interface AuditRule_1$instance<T extends unknown> extends AuditRule {
319
+ export interface AuditRule_1$instance<T extends NonNullable<JsValue>> extends AuditRule {
322
320
  readonly __tsonic_type_System_Security_AccessControl_AuditRule_1: never;
323
321
 
324
322
  readonly Rights: T;
@@ -326,10 +324,10 @@ export interface AuditRule_1$instance<T extends unknown> extends AuditRule {
326
324
 
327
325
 
328
326
  export const AuditRule_1: {
329
- new<T extends unknown>(identity: IdentityReference, rights: T, flags: AuditFlags): AuditRule_1<T>;
330
- new<T extends unknown>(identity: IdentityReference, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags): AuditRule_1<T>;
331
- new<T extends unknown>(identity: string, rights: T, flags: AuditFlags): AuditRule_1<T>;
332
- new<T extends unknown>(identity: string, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags): AuditRule_1<T>;
327
+ new<T extends NonNullable<JsValue>>(identity: IdentityReference, rights: T, flags: AuditFlags): AuditRule_1<T>;
328
+ new<T extends NonNullable<JsValue>>(identity: IdentityReference, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags): AuditRule_1<T>;
329
+ new<T extends NonNullable<JsValue>>(identity: string, rights: T, flags: AuditFlags): AuditRule_1<T>;
330
+ new<T extends NonNullable<JsValue>>(identity: string, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags): AuditRule_1<T>;
333
331
  };
334
332
 
335
333
 
@@ -357,7 +355,7 @@ export interface AuthorizationRuleCollection$instance extends ReadOnlyCollection
357
355
  readonly __tsonic_iface_System_Collections_ICollection: never;
358
356
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
359
357
 
360
- AddRule(rule: AuthorizationRule): void;
358
+ AddRule(rule: AuthorizationRule | null): void;
361
359
  CopyTo(rules: AuthorizationRule[], index: int): void;
362
360
  }
363
361
 
@@ -372,7 +370,7 @@ export interface __AuthorizationRuleCollection$views {
372
370
  As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
373
371
  }
374
372
 
375
- export type AuthorizationRuleCollection = AuthorizationRuleCollection$instance & __AuthorizationRuleCollection$views & { readonly [index: number]: AuthorizationRule | undefined; };
373
+ export type AuthorizationRuleCollection = AuthorizationRuleCollection$instance & __AuthorizationRuleCollection$views & { readonly [index: number]: AuthorizationRule | null; };
376
374
 
377
375
 
378
376
  export interface CommonAce$instance extends QualifiedAce {
@@ -384,7 +382,7 @@ export interface CommonAce$instance extends QualifiedAce {
384
382
 
385
383
 
386
384
  export const CommonAce: {
387
- new(flags: AceFlags, qualifier: AceQualifier, accessMask: int, sid: SecurityIdentifier, isCallback: boolean, opaque: byte[]): CommonAce;
385
+ new(flags: AceFlags, qualifier: AceQualifier, accessMask: int, sid: SecurityIdentifier, isCallback: boolean, opaque: byte[] | null): CommonAce;
388
386
  MaxOpaqueLength(isCallback: boolean): int;
389
387
  };
390
388
 
@@ -441,18 +439,18 @@ export interface CommonSecurityDescriptor$instance extends GenericSecurityDescri
441
439
  readonly __tsonic_type_System_Security_AccessControl_CommonSecurityDescriptor: never;
442
440
 
443
441
  readonly ControlFlags: ControlFlags;
444
- get DiscretionaryAcl(): DiscretionaryAcl | undefined;
445
- set DiscretionaryAcl(value: DiscretionaryAcl | undefined);
446
- get Group(): SecurityIdentifier | undefined;
447
- set Group(value: SecurityIdentifier | undefined);
442
+ get DiscretionaryAcl(): DiscretionaryAcl | null;
443
+ set DiscretionaryAcl(value: DiscretionaryAcl | null);
444
+ get Group(): SecurityIdentifier | null;
445
+ set Group(value: SecurityIdentifier | null);
448
446
  readonly IsContainer: boolean;
449
447
  readonly IsDiscretionaryAclCanonical: boolean;
450
448
  readonly IsDS: boolean;
451
449
  readonly IsSystemAclCanonical: boolean;
452
- get Owner(): SecurityIdentifier | undefined;
453
- set Owner(value: SecurityIdentifier | undefined);
454
- get SystemAcl(): SystemAcl | undefined;
455
- set SystemAcl(value: SystemAcl | undefined);
450
+ get Owner(): SecurityIdentifier | null;
451
+ set Owner(value: SecurityIdentifier | null);
452
+ get SystemAcl(): SystemAcl | null;
453
+ set SystemAcl(value: SystemAcl | null);
456
454
  AddDiscretionaryAcl(revision: byte, trusted: int): void;
457
455
  AddSystemAcl(revision: byte, trusted: int): void;
458
456
  PurgeAccessControl(sid: SecurityIdentifier): void;
@@ -464,7 +462,7 @@ export interface CommonSecurityDescriptor$instance extends GenericSecurityDescri
464
462
 
465
463
  export const CommonSecurityDescriptor: {
466
464
  new(isContainer: boolean, isDS: boolean, binaryForm: byte[], offset: int): CommonSecurityDescriptor;
467
- new(isContainer: boolean, isDS: boolean, flags: ControlFlags, owner: SecurityIdentifier, group: SecurityIdentifier, systemAcl: SystemAcl, discretionaryAcl: DiscretionaryAcl): CommonSecurityDescriptor;
465
+ new(isContainer: boolean, isDS: boolean, flags: ControlFlags, owner: SecurityIdentifier | null, group: SecurityIdentifier | null, systemAcl: SystemAcl | null, discretionaryAcl: DiscretionaryAcl | null): CommonSecurityDescriptor;
468
466
  new(isContainer: boolean, isDS: boolean, rawSecurityDescriptor: RawSecurityDescriptor): CommonSecurityDescriptor;
469
467
  new(isContainer: boolean, isDS: boolean, sddlForm: string): CommonSecurityDescriptor;
470
468
  };
@@ -494,13 +492,13 @@ export interface CustomAce$instance extends GenericAce {
494
492
  readonly BinaryLength: int;
495
493
  readonly OpaqueLength: int;
496
494
  GetBinaryForm(binaryForm: byte[], offset: int): void;
497
- GetOpaque(): byte[] | undefined;
498
- SetOpaque(opaque: byte[]): void;
495
+ GetOpaque(): byte[] | null;
496
+ SetOpaque(opaque: byte[] | null): void;
499
497
  }
500
498
 
501
499
 
502
500
  export const CustomAce: {
503
- new(type: AceType, flags: AceFlags, opaque: byte[]): CustomAce;
501
+ new(type: AceType, flags: AceFlags, opaque: byte[] | null): CustomAce;
504
502
  readonly MaxOpaqueLength: int;
505
503
  };
506
504
 
@@ -565,7 +563,7 @@ export interface DiscretionaryAcl$instance extends CommonAcl$instance {
565
563
  export const DiscretionaryAcl: {
566
564
  new(isContainer: boolean, isDS: boolean, revision: byte, capacity: int): DiscretionaryAcl;
567
565
  new(isContainer: boolean, isDS: boolean, capacity: int): DiscretionaryAcl;
568
- new(isContainer: boolean, isDS: boolean, rawAcl: RawAcl): DiscretionaryAcl;
566
+ new(isContainer: boolean, isDS: boolean, rawAcl: RawAcl | null): DiscretionaryAcl;
569
567
  };
570
568
 
571
569
 
@@ -722,7 +720,7 @@ export interface GenericAce$instance {
722
720
  readonly IsInherited: boolean;
723
721
  readonly PropagationFlags: PropagationFlags;
724
722
  Copy(): GenericAce;
725
- Equals(o: unknown): boolean;
723
+ Equals(o: JsValue | null): boolean;
726
724
  GetBinaryForm(binaryForm: byte[], offset: int): void;
727
725
  GetHashCode(): int;
728
726
  }
@@ -745,7 +743,7 @@ export interface GenericAcl$instance {
745
743
  readonly Count: int;
746
744
  readonly IsSynchronized: boolean;
747
745
  readonly Revision: byte;
748
- readonly SyncRoot: unknown;
746
+ readonly SyncRoot: JsValue;
749
747
  CopyTo(array: GenericAce[], index: int): void;
750
748
  GetBinaryForm(binaryForm: byte[], offset: int): void;
751
749
  GetEnumerator(): AceEnumerator;
@@ -772,10 +770,10 @@ export interface GenericSecurityDescriptor$instance {
772
770
 
773
771
  readonly BinaryLength: int;
774
772
  readonly ControlFlags: ControlFlags;
775
- get Group(): SecurityIdentifier | undefined;
776
- set Group(value: SecurityIdentifier | undefined);
777
- get Owner(): SecurityIdentifier | undefined;
778
- set Owner(value: SecurityIdentifier | undefined);
773
+ get Group(): SecurityIdentifier | null;
774
+ set Group(value: SecurityIdentifier | null);
775
+ get Owner(): SecurityIdentifier | null;
776
+ set Owner(value: SecurityIdentifier | null);
779
777
  GetBinaryForm(binaryForm: byte[], offset: int): void;
780
778
  GetSddlForm(includeSections: AccessControlSections): string;
781
779
  }
@@ -871,12 +869,15 @@ export interface NativeObjectSecurity$instance extends CommonObjectSecurity {
871
869
  }
872
870
 
873
871
 
874
- export const NativeObjectSecurity: (abstract new(isContainer: boolean, resourceType: ResourceType) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, handle: SafeHandle, includeSections: AccessControlSections) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, handle: SafeHandle, includeSections: AccessControlSections, exceptionFromErrorCode: unknown, exceptionContext: unknown) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, exceptionFromErrorCode: unknown, exceptionContext: unknown) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections, exceptionFromErrorCode: unknown, exceptionContext: unknown) => NativeObjectSecurity) & {
872
+ export const NativeObjectSecurity: (abstract new(isContainer: boolean, resourceType: ResourceType) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, handle: SafeHandle | null, includeSections: AccessControlSections) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, handle: SafeHandle | null, includeSections: AccessControlSections, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode | null, exceptionContext: JsValue | null) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode | null, exceptionContext: JsValue | null) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, name: string | null, includeSections: AccessControlSections) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, name: string | null, includeSections: AccessControlSections, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode | null, exceptionContext: JsValue | null) => NativeObjectSecurity) & {
875
873
  };
876
874
 
877
875
 
878
876
  export type NativeObjectSecurity = NativeObjectSecurity$instance;
879
877
 
878
+ export type NativeObjectSecurity_ExceptionFromErrorCode = (errorCode: int, name: string | null, handle: SafeHandle | null, context: JsValue | null) => Exception | null;
879
+
880
+
880
881
  export interface ObjectAccessRule$instance extends AccessRule {
881
882
  readonly __tsonic_type_System_Security_AccessControl_ObjectAccessRule: never;
882
883
 
@@ -904,7 +905,7 @@ export interface ObjectAce$instance extends QualifiedAce {
904
905
 
905
906
 
906
907
  export const ObjectAce: {
907
- new(aceFlags: AceFlags, qualifier: AceQualifier, accessMask: int, sid: SecurityIdentifier, flags: ObjectAceFlags, type: Guid, inheritedType: Guid, isCallback: boolean, opaque: byte[]): ObjectAce;
908
+ new(aceFlags: AceFlags, qualifier: AceQualifier, accessMask: int, sid: SecurityIdentifier, flags: ObjectAceFlags, type: Guid, inheritedType: Guid, isCallback: boolean, opaque: byte[] | null): ObjectAce;
908
909
  MaxOpaqueLength(isCallback: boolean): int;
909
910
  };
910
911
 
@@ -938,8 +939,8 @@ export interface ObjectSecurity$instance {
938
939
  readonly AuditRuleType: Type;
939
940
  AccessRuleFactory(identityReference: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type: AccessControlType): AccessRule;
940
941
  AuditRuleFactory(identityReference: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags): AuditRule;
941
- GetGroup(targetType: Type): IdentityReference | undefined;
942
- GetOwner(targetType: Type): IdentityReference | undefined;
942
+ GetGroup(targetType: Type): IdentityReference | null;
943
+ GetOwner(targetType: Type): IdentityReference | null;
943
944
  GetSecurityDescriptorBinaryForm(): byte[];
944
945
  GetSecurityDescriptorSddlForm(includeSections: AccessControlSections): string;
945
946
  ModifyAccess(modification: AccessControlModification, rule: AccessRule, modified: boolean): boolean;
@@ -969,7 +970,7 @@ export const ObjectSecurity: (abstract new() => ObjectSecurity) & (abstract new(
969
970
 
970
971
  export type ObjectSecurity = ObjectSecurity$instance;
971
972
 
972
- export interface ObjectSecurity_1$instance<T extends unknown> extends NativeObjectSecurity {
973
+ export interface ObjectSecurity_1$instance<T extends NonNullable<JsValue>> extends NativeObjectSecurity {
973
974
  readonly __tsonic_type_System_Security_AccessControl_ObjectSecurity_1: never;
974
975
 
975
976
  readonly AccessRightType: Type;
@@ -994,7 +995,7 @@ export interface ObjectSecurity_1$instance<T extends unknown> extends NativeObje
994
995
  }
995
996
 
996
997
 
997
- export const ObjectSecurity_1: (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType) => ObjectSecurity_1<T>) & (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, safeHandle: SafeHandle, includeSections: AccessControlSections) => ObjectSecurity_1<T>) & (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, safeHandle: SafeHandle, includeSections: AccessControlSections, exceptionFromErrorCode: unknown, exceptionContext: unknown) => ObjectSecurity_1<T>) & (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections) => ObjectSecurity_1<T>) & (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections, exceptionFromErrorCode: unknown, exceptionContext: unknown) => ObjectSecurity_1<T>) & {
998
+ export const ObjectSecurity_1: (abstract new<T extends NonNullable<JsValue>>(isContainer: boolean, resourceType: ResourceType) => ObjectSecurity_1<T>) & (abstract new<T extends NonNullable<JsValue>>(isContainer: boolean, resourceType: ResourceType, safeHandle: SafeHandle | null, includeSections: AccessControlSections) => ObjectSecurity_1<T>) & (abstract new<T extends NonNullable<JsValue>>(isContainer: boolean, resourceType: ResourceType, safeHandle: SafeHandle | null, includeSections: AccessControlSections, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode | null, exceptionContext: JsValue | null) => ObjectSecurity_1<T>) & (abstract new<T extends NonNullable<JsValue>>(isContainer: boolean, resourceType: ResourceType, name: string | null, includeSections: AccessControlSections) => ObjectSecurity_1<T>) & (abstract new<T extends NonNullable<JsValue>>(isContainer: boolean, resourceType: ResourceType, name: string | null, includeSections: AccessControlSections, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode | null, exceptionContext: JsValue | null) => ObjectSecurity_1<T>) & {
998
999
  };
999
1000
 
1000
1001
 
@@ -1005,15 +1006,15 @@ export interface PrivilegeNotHeldException$instance extends UnauthorizedAccessEx
1005
1006
 
1006
1007
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
1007
1008
 
1008
- readonly PrivilegeName: string | undefined;
1009
+ readonly PrivilegeName: string | null;
1009
1010
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
1010
1011
  }
1011
1012
 
1012
1013
 
1013
1014
  export const PrivilegeNotHeldException: {
1014
1015
  new(): PrivilegeNotHeldException;
1015
- new(privilege: string): PrivilegeNotHeldException;
1016
- new(privilege: string, inner: Exception): PrivilegeNotHeldException;
1016
+ new(privilege: string | null): PrivilegeNotHeldException;
1017
+ new(privilege: string | null, inner: Exception | null): PrivilegeNotHeldException;
1017
1018
  };
1018
1019
 
1019
1020
 
@@ -1030,8 +1031,8 @@ export interface QualifiedAce$instance extends KnownAce {
1030
1031
  readonly AceQualifier: AceQualifier;
1031
1032
  readonly IsCallback: boolean;
1032
1033
  readonly OpaqueLength: int;
1033
- GetOpaque(): byte[] | undefined;
1034
- SetOpaque(opaque: byte[]): void;
1034
+ GetOpaque(): byte[] | null;
1035
+ SetOpaque(opaque: byte[] | null): void;
1035
1036
  }
1036
1037
 
1037
1038
 
@@ -1074,22 +1075,22 @@ export interface RawSecurityDescriptor$instance extends GenericSecurityDescripto
1074
1075
  readonly __tsonic_type_System_Security_AccessControl_RawSecurityDescriptor: never;
1075
1076
 
1076
1077
  readonly ControlFlags: ControlFlags;
1077
- get DiscretionaryAcl(): RawAcl | undefined;
1078
- set DiscretionaryAcl(value: RawAcl | undefined);
1079
- get Group(): SecurityIdentifier | undefined;
1080
- set Group(value: SecurityIdentifier | undefined);
1081
- get Owner(): SecurityIdentifier | undefined;
1082
- set Owner(value: SecurityIdentifier | undefined);
1078
+ get DiscretionaryAcl(): RawAcl | null;
1079
+ set DiscretionaryAcl(value: RawAcl | null);
1080
+ get Group(): SecurityIdentifier | null;
1081
+ set Group(value: SecurityIdentifier | null);
1082
+ get Owner(): SecurityIdentifier | null;
1083
+ set Owner(value: SecurityIdentifier | null);
1083
1084
  ResourceManagerControl: byte;
1084
- get SystemAcl(): RawAcl | undefined;
1085
- set SystemAcl(value: RawAcl | undefined);
1085
+ get SystemAcl(): RawAcl | null;
1086
+ set SystemAcl(value: RawAcl | null);
1086
1087
  SetFlags(flags: ControlFlags): void;
1087
1088
  }
1088
1089
 
1089
1090
 
1090
1091
  export const RawSecurityDescriptor: {
1091
1092
  new(binaryForm: byte[], offset: int): RawSecurityDescriptor;
1092
- new(flags: ControlFlags, owner: SecurityIdentifier, group: SecurityIdentifier, systemAcl: RawAcl, discretionaryAcl: RawAcl): RawSecurityDescriptor;
1093
+ new(flags: ControlFlags, owner: SecurityIdentifier | null, group: SecurityIdentifier | null, systemAcl: RawAcl | null, discretionaryAcl: RawAcl | null): RawSecurityDescriptor;
1093
1094
  new(sddlForm: string): RawSecurityDescriptor;
1094
1095
  };
1095
1096
 
@@ -7,11 +7,11 @@ import * as Internal from './System.Security.AccessControl/internal/index.js';
7
7
 
8
8
  // Cross-namespace type imports for constraints
9
9
  import type { ArrayList, ICollection, IDictionary, IEnumerable, IEnumerator, ReadOnlyCollectionBase } from './System.Collections/internal/index.js';
10
- import type { MethodBase } from './System.Reflection/internal/index.js';
10
+ import type { MethodBase, MethodInfo } from './System.Reflection/internal/index.js';
11
11
  import type { SafeHandle } from './System.Runtime.InteropServices/internal/index.js';
12
12
  import type { ISerializable, SerializationInfo, StreamingContext } from './System.Runtime.Serialization/internal/index.js';
13
13
  import type { IdentityReference, SecurityIdentifier } from './System.Security.Principal/internal/index.js';
14
- import type { Array as ClrArray, Boolean as ClrBoolean, Byte, Enum, Exception, Guid, IComparable, IConvertible, IFormatProvider, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, TypeCode, UnauthorizedAccessException, ValueType, Void } from './System/internal/index.js';
14
+ import type { Array as ClrArray, AsyncCallback, Boolean as ClrBoolean, Byte, Delegate, Enum, Exception, Guid, IAsyncResult, ICloneable, IComparable, IConvertible, IFormatProvider, IFormattable, Int32, IntPtr, ISpanFormattable, MulticastDelegate, Object as ClrObject, String as ClrString, Type, TypeCode, UnauthorizedAccessException, ValueType, Void } from './System/internal/index.js';
15
15
 
16
16
  // Public API exports (curated - no internal $instance/$views leakage)
17
17
  export { RegistryAccessRule as RegistryAccessRule } from './System.Security.AccessControl/internal/index.js';
@@ -51,6 +51,7 @@ export { GenericSecurityDescriptor as GenericSecurityDescriptor } from './System
51
51
  export { InheritanceFlags as InheritanceFlags } from './System.Security.AccessControl/internal/index.js';
52
52
  export { KnownAce as KnownAce } from './System.Security.AccessControl/internal/index.js';
53
53
  export { NativeObjectSecurity as NativeObjectSecurity } from './System.Security.AccessControl/internal/index.js';
54
+ export type NativeObjectSecurity_ExceptionFromErrorCode = Internal.NativeObjectSecurity_ExceptionFromErrorCode;
54
55
  export { ObjectAccessRule as ObjectAccessRule } from './System.Security.AccessControl/internal/index.js';
55
56
  export { ObjectAce as ObjectAce } from './System.Security.AccessControl/internal/index.js';
56
57
  export { ObjectAceFlags as ObjectAceFlags } from './System.Security.AccessControl/internal/index.js';
@@ -89,17 +90,17 @@ export type AccessRule<
89
90
  T1 = __,
90
91
  > =
91
92
  [T1] extends [__] ? Internal.AccessRule :
92
- [T1] extends [unknown] ? Internal.AccessRule_1<T1> : never;
93
+ [T1] extends [NonNullable<JsValue>] ? Internal.AccessRule_1<T1> : never;
93
94
 
94
95
  export type AuditRule<
95
96
  T1 = __,
96
97
  > =
97
98
  [T1] extends [__] ? Internal.AuditRule :
98
- [T1] extends [unknown] ? Internal.AuditRule_1<T1> : never;
99
+ [T1] extends [NonNullable<JsValue>] ? Internal.AuditRule_1<T1> : never;
99
100
 
100
101
  export type ObjectSecurity<
101
102
  T1 = __,
102
103
  > =
103
104
  [T1] extends [__] ? Internal.ObjectSecurity :
104
- [T1] extends [unknown] ? Internal.ObjectSecurity_1<T1> : never;
105
+ [T1] extends [NonNullable<JsValue>] ? Internal.ObjectSecurity_1<T1> : never;
105
106
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.Security.Authentication
3
3
  // Assembly: System.Net.Primitives, System.Net.Security
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { IDictionary } from "../../System.Collections/internal/index.js";
@@ -67,8 +68,8 @@ export interface AuthenticationException$instance extends SystemException, Syste
67
68
 
68
69
  export const AuthenticationException: {
69
70
  new(): AuthenticationException;
70
- new(message: string): AuthenticationException;
71
- new(message: string, innerException: Exception): AuthenticationException;
71
+ new(message: string | null): AuthenticationException;
72
+ new(message: string | null, innerException: Exception | null): AuthenticationException;
72
73
  };
73
74
 
74
75
 
@@ -89,8 +90,8 @@ export interface InvalidCredentialException$instance extends AuthenticationExcep
89
90
 
90
91
  export const InvalidCredentialException: {
91
92
  new(): InvalidCredentialException;
92
- new(message: string): InvalidCredentialException;
93
- new(message: string, innerException: Exception): InvalidCredentialException;
93
+ new(message: string | null): InvalidCredentialException;
94
+ new(message: string | null, innerException: Exception | null): InvalidCredentialException;
94
95
  };
95
96
 
96
97
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.Security.Authentication.ExtendedProtection
3
3
  // Assembly: System.ComponentModel.TypeConverter, System.Net.Primitives, System.Net.Security
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import * as Microsoft_Win32_SafeHandles_Internal from "../../Microsoft.Win32.SafeHandles/internal/index.js";
@@ -63,8 +64,8 @@ export interface ExtendedProtectionPolicy$instance extends System_Runtime_Serial
63
64
 
64
65
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
65
66
 
66
- readonly CustomChannelBinding: ChannelBinding | undefined;
67
- readonly CustomServiceNames: ServiceNameCollection | undefined;
67
+ readonly CustomChannelBinding: ChannelBinding | null;
68
+ readonly CustomServiceNames: ServiceNameCollection | null;
68
69
  readonly PolicyEnforcement: PolicyEnforcement;
69
70
  readonly ProtectionScenario: ProtectionScenario;
70
71
  ToString(): string;
@@ -72,8 +73,8 @@ export interface ExtendedProtectionPolicy$instance extends System_Runtime_Serial
72
73
 
73
74
 
74
75
  export const ExtendedProtectionPolicy: {
75
- new(policyEnforcement: PolicyEnforcement, protectionScenario: ProtectionScenario, customServiceNames: ServiceNameCollection): ExtendedProtectionPolicy;
76
- new(policyEnforcement: PolicyEnforcement, protectionScenario: ProtectionScenario, customServiceNames: ICollection): ExtendedProtectionPolicy;
76
+ new(policyEnforcement: PolicyEnforcement, protectionScenario: ProtectionScenario, customServiceNames: ServiceNameCollection | null): ExtendedProtectionPolicy;
77
+ new(policyEnforcement: PolicyEnforcement, protectionScenario: ProtectionScenario, customServiceNames: ICollection | null): ExtendedProtectionPolicy;
77
78
  new(policyEnforcement: PolicyEnforcement, customChannelBinding: ChannelBinding): ExtendedProtectionPolicy;
78
79
  new(policyEnforcement: PolicyEnforcement): ExtendedProtectionPolicy;
79
80
  readonly OSSupportsExtendedProtection: boolean;
@@ -90,10 +91,10 @@ export type ExtendedProtectionPolicy = ExtendedProtectionPolicy$instance & __Ext
90
91
  export interface ExtendedProtectionPolicyTypeConverter$instance extends TypeConverter {
91
92
  readonly __tsonic_type_System_Security_Authentication_ExtendedProtection_ExtendedProtectionPolicyTypeConverter: never;
92
93
 
93
- CanConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
94
- CanConvertTo(destinationType: Type): boolean;
95
- ConvertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown | undefined;
96
- ConvertTo(value: unknown, destinationType: Type): unknown | undefined;
94
+ CanConvertTo(context: ITypeDescriptorContext | null, destinationType: Type | null): boolean;
95
+ CanConvertTo(destinationType: Type | null): boolean;
96
+ ConvertTo(context: ITypeDescriptorContext | null, culture: CultureInfo | null, value: JsValue | null, destinationType: Type): JsValue | null;
97
+ ConvertTo(value: JsValue | null, destinationType: Type): JsValue | null;
97
98
  }
98
99
 
99
100
 
@@ -110,7 +111,7 @@ export interface ServiceNameCollection$instance extends ReadOnlyCollectionBase {
110
111
  readonly __tsonic_iface_System_Collections_ICollection: never;
111
112
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
112
113
 
113
- Contains(searchServiceName: string): boolean;
114
+ Contains(searchServiceName: string | null): boolean;
114
115
  Merge(serviceName: string): ServiceNameCollection;
115
116
  Merge(serviceNames: IEnumerable): ServiceNameCollection;
116
117
  }