@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,8 +2,9 @@
2
2
  // Namespace: System.Diagnostics.SymbolStore
3
3
  // Assembly: System.Diagnostics.StackTrace, System.Private.CoreLib
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 { FieldAttributes, ParameterAttributes } from "../../System.Reflection/internal/index.js";
@@ -27,7 +28,7 @@ export enum SymAddressKind {
27
28
  export interface ISymbolBinder$instance {
28
29
  readonly __tsonic_iface_System_Diagnostics_SymbolStore_ISymbolBinder: never;
29
30
 
30
- GetReader(importer: int, filename: string, searchPath: string): ISymbolReader | undefined;
31
+ GetReader(importer: int, filename: string, searchPath: string): ISymbolReader | null;
31
32
  }
32
33
 
33
34
 
@@ -36,7 +37,7 @@ export type ISymbolBinder = ISymbolBinder$instance;
36
37
  export interface ISymbolBinder1$instance {
37
38
  readonly __tsonic_iface_System_Diagnostics_SymbolStore_ISymbolBinder1: never;
38
39
 
39
- GetReader(importer: nint, filename: string, searchPath: string): ISymbolReader | undefined;
40
+ GetReader(importer: nint, filename: string, searchPath: string): ISymbolReader | null;
40
41
  }
41
42
 
42
43
 
@@ -81,8 +82,8 @@ export interface ISymbolMethod$instance {
81
82
  GetParameters(): ISymbolVariable[];
82
83
  GetRanges(document: ISymbolDocument, line: int, column: int): int[];
83
84
  GetScope(offset: int): ISymbolScope;
84
- GetSequencePoints(offsets: int[], documents: ISymbolDocument[], lines: int[], columns: int[], endLines: int[], endColumns: int[]): void;
85
- GetSourceStartEnd(docs: ISymbolDocument[], lines: int[], columns: int[]): boolean;
85
+ GetSequencePoints(offsets: int[] | null, documents: ISymbolDocument[] | null, lines: int[] | null, columns: int[] | null, endLines: int[] | null, endColumns: int[] | null): void;
86
+ GetSourceStartEnd(docs: ISymbolDocument[] | null, lines: int[] | null, columns: int[] | null): boolean;
86
87
  }
87
88
 
88
89
 
@@ -103,11 +104,11 @@ export interface ISymbolReader$instance {
103
104
  readonly __tsonic_iface_System_Diagnostics_SymbolStore_ISymbolReader: never;
104
105
 
105
106
  readonly UserEntryPoint: SymbolToken;
106
- GetDocument(url: string, language: Guid, languageVendor: Guid, documentType: Guid): ISymbolDocument | undefined;
107
+ GetDocument(url: string, language: Guid, languageVendor: Guid, documentType: Guid): ISymbolDocument | null;
107
108
  GetDocuments(): ISymbolDocument[];
108
109
  GetGlobalVariables(): ISymbolVariable[];
109
- GetMethod(method: SymbolToken, version: int): ISymbolMethod | undefined;
110
- GetMethod(method: SymbolToken): ISymbolMethod | undefined;
110
+ GetMethod(method: SymbolToken, version: int): ISymbolMethod | null;
111
+ GetMethod(method: SymbolToken): ISymbolMethod | null;
111
112
  GetMethodFromDocumentPosition(document: ISymbolDocument, line: int, column: int): ISymbolMethod;
112
113
  GetNamespaces(): ISymbolNamespace[];
113
114
  GetSymAttribute(parent: SymbolToken, name: string): byte[];
@@ -136,7 +137,7 @@ export interface ISymbolVariable$instance {
136
137
  readonly __tsonic_iface_System_Diagnostics_SymbolStore_ISymbolVariable: never;
137
138
 
138
139
  readonly Name: string;
139
- readonly Attributes: unknown;
140
+ readonly Attributes: JsValue;
140
141
  readonly AddressKind: SymAddressKind;
141
142
  readonly AddressField1: int;
142
143
  readonly AddressField2: int;
@@ -178,7 +179,7 @@ export interface SymbolToken$instance {
178
179
 
179
180
  readonly __tsonic_iface_System_IEquatable_1: never;
180
181
 
181
- Equals(obj: unknown): boolean;
182
+ Equals(obj: JsValue | null): boolean;
182
183
  Equals(obj: SymbolToken): boolean;
183
184
  GetHashCode(): int;
184
185
  GetToken(): int;
@@ -1336,27 +1336,6 @@
1336
1336
  "events": [],
1337
1337
  "constructors": []
1338
1338
  },
1339
- {
1340
- "stableId": "System.Private.CoreLib:System.Diagnostics.Tracing.EventSource\u002BEventSourcePrimitive",
1341
- "clrName": "System.Diagnostics.Tracing.EventSource\u002BEventSourcePrimitive",
1342
- "assemblyName": "System.Private.CoreLib",
1343
- "metadataToken": 0,
1344
- "kind": "Struct",
1345
- "accessibility": "Public",
1346
- "isAbstract": false,
1347
- "isSealed": true,
1348
- "isStatic": false,
1349
- "arity": 0,
1350
- "baseType": {
1351
- "stableId": "System.Private.CoreLib:System.ValueType",
1352
- "clrName": "System.ValueType"
1353
- },
1354
- "methods": [],
1355
- "properties": [],
1356
- "fields": [],
1357
- "events": [],
1358
- "constructors": []
1359
- },
1360
1339
  {
1361
1340
  "stableId": "System.Private.CoreLib:System.Diagnostics.Tracing.EventSourceOptions",
1362
1341
  "clrName": "System.Diagnostics.Tracing.EventSourceOptions",
@@ -3654,6 +3633,87 @@
3654
3633
  }
3655
3634
  ]
3656
3635
  },
3636
+ {
3637
+ "stableId": "System.Private.CoreLib:System.Diagnostics.Tracing.EventSource\u002BEventData",
3638
+ "clrName": "System.Diagnostics.Tracing.EventSource\u002BEventData",
3639
+ "assemblyName": "System.Private.CoreLib",
3640
+ "metadataToken": 0,
3641
+ "kind": "Struct",
3642
+ "accessibility": "ProtectedInternal",
3643
+ "isAbstract": false,
3644
+ "isSealed": true,
3645
+ "isStatic": false,
3646
+ "arity": 0,
3647
+ "baseType": {
3648
+ "stableId": "System.Private.CoreLib:System.ValueType",
3649
+ "clrName": "System.ValueType"
3650
+ },
3651
+ "methods": [],
3652
+ "properties": [
3653
+ {
3654
+ "stableId": "System.Private.CoreLib:System.Diagnostics.Tracing.EventSource\u002BEventData::DataPointer:System.IntPtr",
3655
+ "clrName": "DataPointer",
3656
+ "metadataToken": 385880977,
3657
+ "canonicalSignature": ":System.IntPtr",
3658
+ "normalizedSignature": "DataPointer|:System.IntPtr|static=false|accessor=getset",
3659
+ "emitScope": "ClassSurface",
3660
+ "provenance": "Original",
3661
+ "isIndexer": false,
3662
+ "hasGetter": true,
3663
+ "hasSetter": true,
3664
+ "isStatic": false,
3665
+ "isAbstract": false,
3666
+ "isVirtual": false,
3667
+ "isOverride": false,
3668
+ "visibility": "Public",
3669
+ "declaringClrType": "System.Diagnostics.Tracing.EventSource\u002BEventData",
3670
+ "declaringAssemblyName": "System.Private.CoreLib"
3671
+ },
3672
+ {
3673
+ "stableId": "System.Private.CoreLib:System.Diagnostics.Tracing.EventSource\u002BEventData::Size:System.Int32",
3674
+ "clrName": "Size",
3675
+ "metadataToken": 385880978,
3676
+ "canonicalSignature": ":System.Int32",
3677
+ "normalizedSignature": "Size|:System.Int32|static=false|accessor=getset",
3678
+ "emitScope": "ClassSurface",
3679
+ "provenance": "Original",
3680
+ "isIndexer": false,
3681
+ "hasGetter": true,
3682
+ "hasSetter": true,
3683
+ "isStatic": false,
3684
+ "isAbstract": false,
3685
+ "isVirtual": false,
3686
+ "isOverride": false,
3687
+ "visibility": "Public",
3688
+ "declaringClrType": "System.Diagnostics.Tracing.EventSource\u002BEventData",
3689
+ "declaringAssemblyName": "System.Private.CoreLib"
3690
+ }
3691
+ ],
3692
+ "fields": [],
3693
+ "events": [],
3694
+ "constructors": []
3695
+ },
3696
+ {
3697
+ "stableId": "System.Private.CoreLib:System.Diagnostics.Tracing.EventSource\u002BEventSourcePrimitive",
3698
+ "clrName": "System.Diagnostics.Tracing.EventSource\u002BEventSourcePrimitive",
3699
+ "assemblyName": "System.Private.CoreLib",
3700
+ "metadataToken": 0,
3701
+ "kind": "Struct",
3702
+ "accessibility": "Public",
3703
+ "isAbstract": false,
3704
+ "isSealed": true,
3705
+ "isStatic": false,
3706
+ "arity": 0,
3707
+ "baseType": {
3708
+ "stableId": "System.Private.CoreLib:System.ValueType",
3709
+ "clrName": "System.ValueType"
3710
+ },
3711
+ "methods": [],
3712
+ "properties": [],
3713
+ "fields": [],
3714
+ "events": [],
3715
+ "constructors": []
3716
+ },
3657
3717
  {
3658
3718
  "stableId": "System.Private.CoreLib:System.Diagnostics.Tracing.EventSourceAttribute",
3659
3719
  "clrName": "System.Diagnostics.Tracing.EventSourceAttribute",
@@ -2,11 +2,9 @@
2
2
  // Namespace: System.Diagnostics.Tracing
3
3
  // Assembly: System.Private.CoreLib
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 { IDictionary_2, IEnumerable_1 } from "../../System.Collections.Generic/internal/index.js";
@@ -16,7 +14,7 @@ import type { MethodBase } from "../../System.Reflection/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 * as System_Internal from "../../System/internal/index.js";
19
- import type { Attribute, Boolean as ClrBoolean, Byte, DateTime, Double, Enum, EventArgs, EventHandler_1, Exception, Func_1, Guid, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int32, Int64, ISpanFormattable, Object as ClrObject, Single, String as ClrString, TimeSpan, Type, TypeCode, ValueType, Void } from "../../System/internal/index.js";
17
+ import type { Attribute, Boolean as ClrBoolean, Byte, DateTime, Double, Enum, EventArgs, EventHandler_1, Exception, Func_1, Guid, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int32, Int64, IntPtr, ISpanFormattable, Object as ClrObject, Single, String as ClrString, TimeSpan, Type, TypeCode, ValueType, Void } from "../../System/internal/index.js";
20
18
 
21
19
  export enum EventActivityOptions {
22
20
  None = 0,
@@ -125,19 +123,6 @@ export enum EventTask {
125
123
  }
126
124
 
127
125
 
128
- export interface EventSource_EventSourcePrimitive$instance {
129
- readonly __tsonic_type_System_Diagnostics_Tracing_EventSource_EventSourcePrimitive: never;
130
-
131
- }
132
-
133
-
134
- export const EventSource_EventSourcePrimitive: {
135
- new(): EventSource_EventSourcePrimitive;
136
- };
137
-
138
-
139
- export type EventSource_EventSourcePrimitive = EventSource_EventSourcePrimitive$instance;
140
-
141
126
  export interface EventSourceOptions$instance {
142
127
  readonly __tsonic_type_System_Diagnostics_Tracing_EventSourceOptions: never;
143
128
 
@@ -165,7 +150,7 @@ export interface DiagnosticCounter$instance extends System_Internal.IDisposable$
165
150
  DisplayUnits: string;
166
151
  readonly EventSource: EventSource;
167
152
  readonly Name: string;
168
- AddMetadata(key: string, value: string): void;
153
+ AddMetadata(key: string, value: string | null): void;
169
154
  Dispose(): void;
170
155
  }
171
156
 
@@ -189,8 +174,8 @@ export interface EventAttribute$instance extends Attribute {
189
174
  readonly EventId: int;
190
175
  Keywords: EventKeywords;
191
176
  Level: EventLevel;
192
- get Message(): string | undefined;
193
- set Message(value: string | undefined);
177
+ get Message(): string | null;
178
+ set Message(value: string | null);
194
179
  Opcode: EventOpcode;
195
180
  Tags: EventTags;
196
181
  Task: EventTask;
@@ -208,8 +193,8 @@ export type EventAttribute = EventAttribute$instance;
208
193
  export interface EventCommandEventArgs$instance extends EventArgs {
209
194
  readonly __tsonic_type_System_Diagnostics_Tracing_EventCommandEventArgs: never;
210
195
 
211
- get Arguments(): IDictionary_2<System_Internal.String, string | undefined> | undefined;
212
- set Arguments(value: IDictionary_2<System_Internal.String, string | undefined> | undefined);
196
+ get Arguments(): IDictionary_2<System_Internal.String, string | null> | null;
197
+ set Arguments(value: IDictionary_2<System_Internal.String, string | null> | null);
213
198
  Command: EventCommand;
214
199
  DisableEvent(eventId: int): boolean;
215
200
  EnableEvent(eventId: int): boolean;
@@ -248,8 +233,8 @@ export type EventCounter = EventCounter$instance & __EventCounter$views;
248
233
  export interface EventDataAttribute$instance extends Attribute {
249
234
  readonly __tsonic_type_System_Diagnostics_Tracing_EventDataAttribute: never;
250
235
 
251
- get Name(): string | undefined;
252
- set Name(value: string | undefined);
236
+ get Name(): string | null;
237
+ set Name(value: string | null);
253
238
  }
254
239
 
255
240
 
@@ -297,7 +282,7 @@ export interface EventListener$instance extends System_Internal.IDisposable$inst
297
282
  Dispose(): void;
298
283
  EnableEvents(eventSource: EventSource, level: EventLevel): void;
299
284
  EnableEvents(eventSource: EventSource, level: EventLevel, matchAnyKeyword: EventKeywords): void;
300
- EnableEvents(eventSource: EventSource, level: EventLevel, matchAnyKeyword: EventKeywords, arguments: IDictionary_2<System_Internal.String, System_Internal.String>): void;
285
+ EnableEvents(eventSource: EventSource, level: EventLevel, matchAnyKeyword: EventKeywords, arguments: IDictionary_2<System_Internal.String, string | null> | null): void;
301
286
  OnEventSourceCreated(eventSource: EventSource): void;
302
287
  OnEventWritten(eventData: EventWrittenEventArgs): void;
303
288
  }
@@ -320,39 +305,39 @@ export interface EventSource$instance {
320
305
 
321
306
  readonly __tsonic_iface_System_IDisposable: never;
322
307
 
323
- readonly ConstructionException: Exception | undefined;
308
+ readonly ConstructionException: Exception | null;
324
309
  readonly Guid: Guid;
325
310
  readonly Name: string;
326
311
  readonly Settings: EventSourceSettings;
327
312
  Dispose(): void;
328
313
  Dispose(disposing: boolean): void;
329
314
  Finalize(): void;
330
- GetTrait(key: string): string | undefined;
315
+ GetTrait(key: string): string | null;
331
316
  IsEnabled(): boolean;
332
317
  IsEnabled(level: EventLevel, keywords: EventKeywords): boolean;
333
318
  IsEnabled(level: EventLevel, keywords: EventKeywords, channel: EventChannel): boolean;
334
319
  OnEventCommand(command: EventCommandEventArgs): void;
335
320
  ToString(): string;
336
- Write(eventName: string): void;
337
- Write(eventName: string, options: EventSourceOptions): void;
338
- Write<T>(eventName: string, data: T): void;
339
- Write<T>(eventName: string, options: EventSourceOptions, data: T): void;
340
- Write<T>(eventName: string, options: EventSourceOptions, data: T): void;
341
- Write<T>(eventName: string, options: EventSourceOptions, activityId: Guid, relatedActivityId: Guid, data: T): void;
321
+ Write(eventName: string | null): void;
322
+ Write(eventName: string | null, options: EventSourceOptions): void;
323
+ Write<T>(eventName: string | null, data: T): void;
324
+ Write<T>(eventName: string | null, options: EventSourceOptions, data: T): void;
325
+ Write<T>(eventName: string | null, options: EventSourceOptions, data: T): void;
326
+ Write<T>(eventName: string | null, options: EventSourceOptions, activityId: Guid, relatedActivityId: Guid, data: T): void;
342
327
  }
343
328
 
344
329
 
345
330
  export const EventSource: {
346
331
  new(eventSourceName: string): EventSource;
347
332
  new(eventSourceName: string, config: EventSourceSettings): EventSource;
348
- new(eventSourceName: string, config: EventSourceSettings, traits: string[]): EventSource;
333
+ new(eventSourceName: string, config: EventSourceSettings, traits: string[] | null): EventSource;
349
334
  readonly CurrentThreadActivityId: Guid;
350
- GenerateManifest(eventSourceType: Type, assemblyPathToIncludeInManifest: string, flags: EventManifestOptions): string | undefined;
351
- GenerateManifest(eventSourceType: Type, assemblyPathToIncludeInManifest: string): string | undefined;
335
+ GenerateManifest(eventSourceType: Type, assemblyPathToIncludeInManifest: string | null, flags: EventManifestOptions): string | null;
336
+ GenerateManifest(eventSourceType: Type, assemblyPathToIncludeInManifest: string | null): string | null;
352
337
  GetGuid(eventSourceType: Type): Guid;
353
338
  GetName(eventSourceType: Type): string;
354
339
  GetSources(): IEnumerable_1<EventSource>;
355
- SendCommand(eventSource: EventSource, command: EventCommand, commandArguments: IDictionary_2<System_Internal.String, System_Internal.String>): void;
340
+ SendCommand(eventSource: EventSource, command: EventCommand, commandArguments: IDictionary_2<System_Internal.String, string | null> | null): void;
356
341
  SetCurrentThreadActivityId(activityId: Guid, oldActivityThatWillContinue: Guid): void;
357
342
  SetCurrentThreadActivityId(activityId: Guid): void;
358
343
  };
@@ -365,15 +350,43 @@ export interface __EventSource$views {
365
350
  export type EventSource = EventSource$instance & __EventSource$views;
366
351
 
367
352
 
353
+ export interface EventSource_EventData$instance {
354
+ readonly __tsonic_type_System_Diagnostics_Tracing_EventSource_EventData: never;
355
+
356
+ DataPointer: nint;
357
+ Size: int;
358
+ }
359
+
360
+
361
+ export const EventSource_EventData: {
362
+ new(): EventSource_EventData;
363
+ };
364
+
365
+
366
+ export type EventSource_EventData = EventSource_EventData$instance;
367
+
368
+ export interface EventSource_EventSourcePrimitive$instance {
369
+ readonly __tsonic_type_System_Diagnostics_Tracing_EventSource_EventSourcePrimitive: never;
370
+
371
+ }
372
+
373
+
374
+ export const EventSource_EventSourcePrimitive: {
375
+ new(): EventSource_EventSourcePrimitive;
376
+ };
377
+
378
+
379
+ export type EventSource_EventSourcePrimitive = EventSource_EventSourcePrimitive$instance;
380
+
368
381
  export interface EventSourceAttribute$instance extends Attribute {
369
382
  readonly __tsonic_type_System_Diagnostics_Tracing_EventSourceAttribute: never;
370
383
 
371
- get Guid(): string | undefined;
372
- set Guid(value: string | undefined);
373
- get LocalizationResources(): string | undefined;
374
- set LocalizationResources(value: string | undefined);
375
- get Name(): string | undefined;
376
- set Name(value: string | undefined);
384
+ get Guid(): string | null;
385
+ set Guid(value: string | null);
386
+ get LocalizationResources(): string | null;
387
+ set LocalizationResources(value: string | null);
388
+ get Name(): string | null;
389
+ set Name(value: string | null);
377
390
  }
378
391
 
379
392
 
@@ -387,8 +400,8 @@ export type EventSourceAttribute = EventSourceAttribute$instance;
387
400
  export interface EventSourceCreatedEventArgs$instance extends EventArgs {
388
401
  readonly __tsonic_type_System_Diagnostics_Tracing_EventSourceCreatedEventArgs: never;
389
402
 
390
- get EventSource(): EventSource | undefined;
391
- set EventSource(value: EventSource | undefined);
403
+ get EventSource(): EventSource | null;
404
+ set EventSource(value: EventSource | null);
392
405
  }
393
406
 
394
407
 
@@ -409,8 +422,8 @@ export interface EventSourceException$instance extends Exception, System_Runtime
409
422
 
410
423
  export const EventSourceException: {
411
424
  new(): EventSourceException;
412
- new(message: string): EventSourceException;
413
- new(message: string, innerException: Exception): EventSourceException;
425
+ new(message: string | null): EventSourceException;
426
+ new(message: string | null, innerException: Exception | null): EventSourceException;
414
427
  };
415
428
 
416
429
 
@@ -427,19 +440,19 @@ export interface EventWrittenEventArgs$instance extends EventArgs {
427
440
  readonly ActivityId: Guid;
428
441
  readonly Channel: EventChannel;
429
442
  readonly EventId: int;
430
- get EventName(): string | undefined;
431
- set EventName(value: string | undefined);
443
+ get EventName(): string | null;
444
+ set EventName(value: string | null);
432
445
  readonly EventSource: EventSource;
433
446
  Keywords: EventKeywords;
434
447
  Level: EventLevel;
435
- get Message(): string | undefined;
436
- set Message(value: string | undefined);
448
+ get Message(): string | null;
449
+ set Message(value: string | null);
437
450
  Opcode: EventOpcode;
438
451
  OSThreadId: long;
439
- get Payload(): ReadOnlyCollection_1<unknown | undefined> | undefined;
440
- set Payload(value: ReadOnlyCollection_1<unknown | undefined> | undefined);
441
- get PayloadNames(): ReadOnlyCollection_1<System_Internal.String> | undefined;
442
- set PayloadNames(value: ReadOnlyCollection_1<System_Internal.String> | undefined);
452
+ get Payload(): ReadOnlyCollection_1<JsValue | null> | null;
453
+ set Payload(value: ReadOnlyCollection_1<JsValue | null> | null);
454
+ get PayloadNames(): ReadOnlyCollection_1<System_Internal.String> | null;
455
+ set PayloadNames(value: ReadOnlyCollection_1<System_Internal.String> | null);
443
456
  readonly RelatedActivityId: Guid;
444
457
  Tags: EventTags;
445
458
  readonly Task: EventTask;
@@ -11,7 +11,7 @@ import type { ReadOnlyCollection_1 } from './System.Collections.ObjectModel/inte
11
11
  import type { IDictionary } from './System.Collections/internal/index.js';
12
12
  import type { MethodBase } from './System.Reflection/internal/index.js';
13
13
  import type { ISerializable, SerializationInfo, StreamingContext } from './System.Runtime.Serialization/internal/index.js';
14
- import type { Attribute, Boolean as ClrBoolean, Byte, DateTime, Double, Enum, EventArgs, EventHandler_1, Exception, Func_1, Guid, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int32, Int64, ISpanFormattable, Object as ClrObject, Single, String as ClrString, TimeSpan, Type, TypeCode, ValueType, Void } from './System/internal/index.js';
14
+ import type { Attribute, Boolean as ClrBoolean, Byte, DateTime, Double, Enum, EventArgs, EventHandler_1, Exception, Func_1, Guid, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int32, Int64, IntPtr, ISpanFormattable, Object as ClrObject, Single, String as ClrString, TimeSpan, Type, TypeCode, ValueType, Void } from './System/internal/index.js';
15
15
 
16
16
  // Public API exports (curated - no internal $instance/$views leakage)
17
17
  export { DiagnosticCounter as DiagnosticCounter } from './System.Diagnostics.Tracing/internal/index.js';
@@ -19,6 +19,7 @@ export { EventActivityOptions as EventActivityOptions } from './System.Diagnosti
19
19
  export { EventCounter as EventCounter } from './System.Diagnostics.Tracing/internal/index.js';
20
20
  export { EventSource as EventSource } from './System.Diagnostics.Tracing/internal/index.js';
21
21
  export { EventSource_EventSourcePrimitive as EventSource_EventSourcePrimitive } from './System.Diagnostics.Tracing/internal/index.js';
22
+ export { EventSource_EventData as EventSource_EventData } from './System.Diagnostics.Tracing/internal/index.js';
22
23
  export { EventSourceSettings as EventSourceSettings } from './System.Diagnostics.Tracing/internal/index.js';
23
24
  export { EventListener as EventListener } from './System.Diagnostics.Tracing/internal/index.js';
24
25
  export { EventCommandEventArgs as EventCommandEventArgs } from './System.Diagnostics.Tracing/internal/index.js';