@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,43 +2,15 @@
2
2
  // Namespace: System.Text.Unicode
3
3
  // Assembly: System.Private.CoreLib, System.Text.Encodings.Web
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 type { OperationStatus } from "../../System.Buffers/internal/index.js";
13
11
  import * as System_Internal from "../../System/internal/index.js";
14
12
  import type { Boolean as ClrBoolean, Byte, Char, IFormatProvider, Int32, Object as ClrObject, ReadOnlySpan_1, Span_1, String as ClrString, Type, ValueType, Void } from "../../System/internal/index.js";
15
13
 
16
- export interface Utf8_TryWriteInterpolatedStringHandler$instance {
17
- readonly __tsonic_type_System_Text_Unicode_Utf8_TryWriteInterpolatedStringHandler: never;
18
-
19
- AppendFormatted<T>(value: T): boolean;
20
- AppendFormatted<T>(value: T, format: string): boolean;
21
- AppendFormatted<T>(value: T, alignment: int): boolean;
22
- AppendFormatted<T>(value: T, alignment: int, format: string): boolean;
23
- AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): boolean;
24
- AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string): boolean;
25
- AppendFormatted(utf8Value: ReadOnlySpan_1<System_Internal.Byte>): boolean;
26
- AppendFormatted(utf8Value: ReadOnlySpan_1<System_Internal.Byte>, alignment?: int, format?: string): boolean;
27
- AppendFormatted(value: string): boolean;
28
- AppendFormatted(value: string, alignment?: int, format?: string): boolean;
29
- AppendFormatted(value: unknown, alignment?: int, format?: string): boolean;
30
- AppendLiteral(value: string): boolean;
31
- }
32
-
33
-
34
- export const Utf8_TryWriteInterpolatedStringHandler: {
35
- new(literalLength: int, formattedCount: int, destination: Span_1<System_Internal.Byte>, shouldAppend: boolean): Utf8_TryWriteInterpolatedStringHandler;
36
- new(literalLength: int, formattedCount: int, destination: Span_1<System_Internal.Byte>, provider: IFormatProvider, shouldAppend: boolean): Utf8_TryWriteInterpolatedStringHandler;
37
- };
38
-
39
-
40
- export type Utf8_TryWriteInterpolatedStringHandler = Utf8_TryWriteInterpolatedStringHandler$instance;
41
-
42
14
  export interface UnicodeRange$instance {
43
15
  readonly __tsonic_type_System_Text_Unicode_UnicodeRange: never;
44
16
 
@@ -227,10 +199,36 @@ export abstract class Utf8$instance {
227
199
  static FromUtf16(source: ReadOnlySpan_1<System_Internal.Char>, destination: Span_1<System_Internal.Byte>, charsRead: int, bytesWritten: int, replaceInvalidSequences?: boolean, isFinalBlock?: boolean): OperationStatus;
228
200
  static IsValid(value: ReadOnlySpan_1<System_Internal.Byte>): boolean;
229
201
  static ToUtf16(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Char>, bytesRead: int, charsWritten: int, replaceInvalidSequences?: boolean, isFinalBlock?: boolean): OperationStatus;
230
- static TryWrite(destination: Span_1<System_Internal.Byte>, provider: IFormatProvider, handler: Utf8_TryWriteInterpolatedStringHandler, bytesWritten: int): boolean;
202
+ static TryWrite(destination: Span_1<System_Internal.Byte>, provider: IFormatProvider | null, handler: Utf8_TryWriteInterpolatedStringHandler, bytesWritten: int): boolean;
231
203
  static TryWrite(destination: Span_1<System_Internal.Byte>, handler: Utf8_TryWriteInterpolatedStringHandler, bytesWritten: int): boolean;
232
204
  }
233
205
 
234
206
 
235
207
  export type Utf8 = Utf8$instance;
236
208
 
209
+ export interface Utf8_TryWriteInterpolatedStringHandler$instance {
210
+ readonly __tsonic_type_System_Text_Unicode_Utf8_TryWriteInterpolatedStringHandler: never;
211
+
212
+ AppendFormatted<T>(value: T): boolean;
213
+ AppendFormatted<T>(value: T, format: string | null): boolean;
214
+ AppendFormatted<T>(value: T, alignment: int): boolean;
215
+ AppendFormatted<T>(value: T, alignment: int, format: string | null): boolean;
216
+ AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): boolean;
217
+ AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string | null): boolean;
218
+ AppendFormatted(utf8Value: ReadOnlySpan_1<System_Internal.Byte>): boolean;
219
+ AppendFormatted(utf8Value: ReadOnlySpan_1<System_Internal.Byte>, alignment?: int, format?: string | null): boolean;
220
+ AppendFormatted(value: string | null): boolean;
221
+ AppendFormatted(value: string | null, alignment?: int, format?: string | null): boolean;
222
+ AppendFormatted(value: JsValue | null, alignment?: int, format?: string | null): boolean;
223
+ AppendLiteral(value: string): boolean;
224
+ }
225
+
226
+
227
+ export const Utf8_TryWriteInterpolatedStringHandler: {
228
+ new(literalLength: int, formattedCount: int, destination: Span_1<System_Internal.Byte>, shouldAppend: boolean): Utf8_TryWriteInterpolatedStringHandler;
229
+ new(literalLength: int, formattedCount: int, destination: Span_1<System_Internal.Byte>, provider: IFormatProvider | null, shouldAppend: boolean): Utf8_TryWriteInterpolatedStringHandler;
230
+ };
231
+
232
+
233
+ export type Utf8_TryWriteInterpolatedStringHandler = Utf8_TryWriteInterpolatedStringHandler$instance;
234
+
@@ -2542,48 +2542,6 @@
2542
2542
  "events": [],
2543
2543
  "constructors": []
2544
2544
  },
2545
- {
2546
- "stableId": "System.Private.CoreLib:System.Threading.Lock\u002BScope",
2547
- "clrName": "System.Threading.Lock\u002BScope",
2548
- "assemblyName": "System.Private.CoreLib",
2549
- "metadataToken": 0,
2550
- "kind": "Struct",
2551
- "accessibility": "Public",
2552
- "isAbstract": false,
2553
- "isSealed": true,
2554
- "isStatic": false,
2555
- "arity": 0,
2556
- "baseType": {
2557
- "stableId": "System.Private.CoreLib:System.ValueType",
2558
- "clrName": "System.ValueType"
2559
- },
2560
- "methods": [
2561
- {
2562
- "stableId": "System.Private.CoreLib:System.Threading.Lock\u002BScope::Dispose():System.Void",
2563
- "clrName": "Dispose",
2564
- "metadataToken": 100679410,
2565
- "canonicalSignature": "():System.Void",
2566
- "normalizedSignature": "Dispose|():System.Void|static=false",
2567
- "emitScope": "ClassSurface",
2568
- "provenance": "Original",
2569
- "arity": 0,
2570
- "parameterCount": 0,
2571
- "isStatic": false,
2572
- "isAbstract": false,
2573
- "isVirtual": false,
2574
- "isOverride": false,
2575
- "isSealed": false,
2576
- "visibility": "Public",
2577
- "declaringClrType": "System.Threading.Lock\u002BScope",
2578
- "declaringAssemblyName": "System.Private.CoreLib",
2579
- "isExtensionMethod": false
2580
- }
2581
- ],
2582
- "properties": [],
2583
- "fields": [],
2584
- "events": [],
2585
- "constructors": []
2586
- },
2587
2545
  {
2588
2546
  "stableId": "System.Threading:System.Threading.LockCookie",
2589
2547
  "clrName": "System.Threading.LockCookie",
@@ -5933,6 +5891,48 @@
5933
5891
  }
5934
5892
  ]
5935
5893
  },
5894
+ {
5895
+ "stableId": "System.Private.CoreLib:System.Threading.Lock\u002BScope",
5896
+ "clrName": "System.Threading.Lock\u002BScope",
5897
+ "assemblyName": "System.Private.CoreLib",
5898
+ "metadataToken": 0,
5899
+ "kind": "Struct",
5900
+ "accessibility": "Public",
5901
+ "isAbstract": false,
5902
+ "isSealed": true,
5903
+ "isStatic": false,
5904
+ "arity": 0,
5905
+ "baseType": {
5906
+ "stableId": "System.Private.CoreLib:System.ValueType",
5907
+ "clrName": "System.ValueType"
5908
+ },
5909
+ "methods": [
5910
+ {
5911
+ "stableId": "System.Private.CoreLib:System.Threading.Lock\u002BScope::Dispose():System.Void",
5912
+ "clrName": "Dispose",
5913
+ "metadataToken": 100679410,
5914
+ "canonicalSignature": "():System.Void",
5915
+ "normalizedSignature": "Dispose|():System.Void|static=false",
5916
+ "emitScope": "ClassSurface",
5917
+ "provenance": "Original",
5918
+ "arity": 0,
5919
+ "parameterCount": 0,
5920
+ "isStatic": false,
5921
+ "isAbstract": false,
5922
+ "isVirtual": false,
5923
+ "isOverride": false,
5924
+ "isSealed": false,
5925
+ "visibility": "Public",
5926
+ "declaringClrType": "System.Threading.Lock\u002BScope",
5927
+ "declaringAssemblyName": "System.Private.CoreLib",
5928
+ "isExtensionMethod": false
5929
+ }
5930
+ ],
5931
+ "properties": [],
5932
+ "fields": [],
5933
+ "events": [],
5934
+ "constructors": []
5935
+ },
5936
5936
  {
5937
5937
  "stableId": "System.Private.CoreLib:System.Threading.LockRecursionException",
5938
5938
  "clrName": "System.Threading.LockRecursionException",