@tsonic/dotnet 10.0.40 → 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
@@ -2,11 +2,9 @@
2
2
  // Namespace: System.Text.RegularExpressions
3
3
  // Assembly: System.Text.RegularExpressions
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_Generic_Internal from "../../System.Collections.Generic/internal/index.js";
@@ -74,60 +72,6 @@ export enum RegexParseError {
74
72
  export type MatchEvaluator = (match: Match) => string;
75
73
 
76
74
 
77
- export interface Regex_ValueMatchEnumerator$instance {
78
- readonly __tsonic_type_System_Text_RegularExpressions_Regex_ValueMatchEnumerator: never;
79
-
80
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
81
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
82
- readonly __tsonic_iface_System_IDisposable: never;
83
-
84
- readonly Current: ValueMatch;
85
- GetEnumerator(): Regex_ValueMatchEnumerator;
86
- MoveNext(): boolean;
87
- Reset(): void;
88
- }
89
-
90
-
91
- export const Regex_ValueMatchEnumerator: {
92
- new(): Regex_ValueMatchEnumerator;
93
- };
94
-
95
-
96
- export interface __Regex_ValueMatchEnumerator$views {
97
- As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<ValueMatch>;
98
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
99
- }
100
-
101
- export type Regex_ValueMatchEnumerator = Regex_ValueMatchEnumerator$instance & __Regex_ValueMatchEnumerator$views;
102
-
103
-
104
- export interface Regex_ValueSplitEnumerator$instance {
105
- readonly __tsonic_type_System_Text_RegularExpressions_Regex_ValueSplitEnumerator: never;
106
-
107
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
108
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
109
- readonly __tsonic_iface_System_IDisposable: never;
110
-
111
- readonly Current: Range;
112
- GetEnumerator(): Regex_ValueSplitEnumerator;
113
- MoveNext(): boolean;
114
- Reset(): void;
115
- }
116
-
117
-
118
- export const Regex_ValueSplitEnumerator: {
119
- new(): Regex_ValueSplitEnumerator;
120
- };
121
-
122
-
123
- export interface __Regex_ValueSplitEnumerator$views {
124
- As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<Range>;
125
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
126
- }
127
-
128
- export type Regex_ValueSplitEnumerator = Regex_ValueSplitEnumerator$instance & __Regex_ValueSplitEnumerator$views;
129
-
130
-
131
75
  export interface ValueMatch$instance {
132
76
  readonly __tsonic_type_System_Text_RegularExpressions_ValueMatch: never;
133
77
 
@@ -175,7 +119,7 @@ export interface CaptureCollection$instance {
175
119
  readonly Count: int;
176
120
  readonly IsReadOnly: boolean;
177
121
  readonly IsSynchronized: boolean;
178
- readonly SyncRoot: unknown;
122
+ readonly SyncRoot: JsValue;
179
123
  CopyTo(array: ClrArray, arrayIndex: int): void;
180
124
  CopyTo(array: Capture[], arrayIndex: int): void;
181
125
  GetEnumerator(): IEnumerator;
@@ -253,7 +197,7 @@ export interface GroupCollection$instance {
253
197
  readonly IsReadOnly: boolean;
254
198
  readonly IsSynchronized: boolean;
255
199
  readonly Keys: IEnumerable_1<System_Internal.String>;
256
- readonly SyncRoot: unknown;
200
+ readonly SyncRoot: JsValue;
257
201
  readonly Values: IEnumerable_1<Group>;
258
202
  ContainsKey(key: string): boolean;
259
203
  CopyTo(array: ClrArray, arrayIndex: int): void;
@@ -261,7 +205,7 @@ export interface GroupCollection$instance {
261
205
  get_Item(groupnum: int): Group;
262
206
  get_Item(groupname: string): Group;
263
207
  GetEnumerator(): IEnumerator;
264
- TryGetValue(key: string, value: Group): boolean;
208
+ TryGetValue(key: string, value: Group | null): boolean;
265
209
  }
266
210
 
267
211
 
@@ -314,7 +258,7 @@ export interface MatchCollection$instance {
314
258
  readonly Count: int;
315
259
  readonly IsReadOnly: boolean;
316
260
  readonly IsSynchronized: boolean;
317
- readonly SyncRoot: unknown;
261
+ readonly SyncRoot: JsValue;
318
262
  CopyTo(array: ClrArray, arrayIndex: int): void;
319
263
  CopyTo(array: Match[], arrayIndex: int): void;
320
264
  GetEnumerator(): IEnumerator;
@@ -386,8 +330,8 @@ export const Regex: {
386
330
  new(pattern: string, options: RegexOptions, matchTimeout: TimeSpan): Regex;
387
331
  readonly InfiniteMatchTimeout: TimeSpan;
388
332
  CacheSize: int;
389
- CompileToAssembly(regexinfos: RegexCompilationInfo[], assemblyname: AssemblyName, attributes: CustomAttributeBuilder[], resourceFile: string): void;
390
- CompileToAssembly(regexinfos: RegexCompilationInfo[], assemblyname: AssemblyName, attributes: CustomAttributeBuilder[]): void;
333
+ CompileToAssembly(regexinfos: RegexCompilationInfo[], assemblyname: AssemblyName, attributes: CustomAttributeBuilder[] | null, resourceFile: string | null): void;
334
+ CompileToAssembly(regexinfos: RegexCompilationInfo[], assemblyname: AssemblyName, attributes: CustomAttributeBuilder[] | null): void;
391
335
  CompileToAssembly(regexinfos: RegexCompilationInfo[], assemblyname: AssemblyName): void;
392
336
  Count(input: ReadOnlySpan_1<System_Internal.Char>, pattern: string, options: RegexOptions, matchTimeout: TimeSpan): int;
393
337
  Count(input: ReadOnlySpan_1<System_Internal.Char>, pattern: string, options: RegexOptions): int;
@@ -435,6 +379,46 @@ export interface __Regex$views {
435
379
  export type Regex = Regex$instance & __Regex$views;
436
380
 
437
381
 
382
+ export interface Regex_ValueMatchEnumerator$instance extends IEnumerator_1<ValueMatch>, IEnumerator, IDisposable {
383
+ readonly __tsonic_type_System_Text_RegularExpressions_Regex_ValueMatchEnumerator: never;
384
+
385
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
386
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
387
+ readonly __tsonic_iface_System_IDisposable: never;
388
+
389
+ readonly Current: ValueMatch;
390
+ GetEnumerator(): Regex_ValueMatchEnumerator;
391
+ MoveNext(): boolean;
392
+ }
393
+
394
+
395
+ export const Regex_ValueMatchEnumerator: {
396
+ new(): Regex_ValueMatchEnumerator;
397
+ };
398
+
399
+
400
+ export type Regex_ValueMatchEnumerator = Regex_ValueMatchEnumerator$instance;
401
+
402
+ export interface Regex_ValueSplitEnumerator$instance extends IEnumerator_1<Range>, IEnumerator, IDisposable {
403
+ readonly __tsonic_type_System_Text_RegularExpressions_Regex_ValueSplitEnumerator: never;
404
+
405
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
406
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
407
+ readonly __tsonic_iface_System_IDisposable: never;
408
+
409
+ readonly Current: Range;
410
+ GetEnumerator(): Regex_ValueSplitEnumerator;
411
+ MoveNext(): boolean;
412
+ }
413
+
414
+
415
+ export const Regex_ValueSplitEnumerator: {
416
+ new(): Regex_ValueSplitEnumerator;
417
+ };
418
+
419
+
420
+ export type Regex_ValueSplitEnumerator = Regex_ValueSplitEnumerator$instance;
421
+
438
422
  export interface RegexCompilationInfo$instance {
439
423
  readonly __tsonic_type_System_Text_RegularExpressions_RegexCompilationInfo: never;
440
424