@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
@@ -2,11 +2,9 @@
2
2
  // Namespace: System.Diagnostics
3
3
  // Assembly: System.Diagnostics.DiagnosticSource, System.Diagnostics.FileVersionInfo, System.Diagnostics.Process, System.Diagnostics.TextWriterTraceListener, System.Diagnostics.TraceSource, 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 { SafeProcessHandle } from "../../Microsoft.Win32.SafeHandles/internal/index.js";
@@ -66,15 +64,6 @@ export enum ActivityTraceFlags {
66
64
  }
67
65
 
68
66
 
69
- export enum DebuggableAttribute_DebuggingModes {
70
- None = 0,
71
- Default = 1,
72
- DisableOptimizations = 256,
73
- IgnoreSymbolStoreSequencePoints = 2,
74
- EnableEditAndContinue = 4
75
- }
76
-
77
-
78
67
  export enum DebuggerBrowsableState {
79
68
  Never = 0,
80
69
  Collapsed = 2,
@@ -187,13 +176,7 @@ export enum TraceOptions {
187
176
  }
188
177
 
189
178
 
190
- export type DataReceivedEventHandler = (sender: unknown, e: DataReceivedEventArgs) => void;
191
-
192
-
193
- export type DistributedContextPropagator_PropagatorGetterCallback = (carrier: unknown, fieldName: string, fieldValue: string, fieldValues: IEnumerable_1<System_Internal.String>) => void;
194
-
195
-
196
- export type DistributedContextPropagator_PropagatorSetterCallback = (carrier: unknown, fieldName: string, fieldValue: string) => void;
179
+ export type DataReceivedEventHandler = (sender: JsValue, e: DataReceivedEventArgs) => void;
197
180
 
198
181
 
199
182
  export type ExceptionRecorder = (activity: Activity, exception: Exception, tags: TagList) => void;
@@ -202,29 +185,13 @@ export type ExceptionRecorder = (activity: Activity, exception: Exception, tags:
202
185
  export type SampleActivity_1<T> = (options: ActivityCreationOptions_1<T>) => ActivitySamplingResult;
203
186
 
204
187
 
205
- export interface Activity_Enumerator_1$instance<T> {
206
- readonly __tsonic_type_System_Diagnostics_Activity_Enumerator_1: never;
207
-
208
- readonly Current: T;
209
- GetEnumerator(): Activity_Enumerator_1<T>;
210
- MoveNext(): boolean;
211
- }
212
-
213
-
214
- export const Activity_Enumerator_1: {
215
- new<T>(): Activity_Enumerator_1<T>;
216
- };
217
-
218
-
219
- export type Activity_Enumerator_1<T> = Activity_Enumerator_1$instance<T>;
220
-
221
188
  export interface ActivityChangedEventArgs$instance {
222
189
  readonly __tsonic_type_System_Diagnostics_ActivityChangedEventArgs: never;
223
190
 
224
- get Current(): Activity | undefined;
225
- set Current(value: Activity | undefined);
226
- get Previous(): Activity | undefined;
227
- set Previous(value: Activity | undefined);
191
+ get Current(): Activity | null;
192
+ set Current(value: Activity | null);
193
+ get Previous(): Activity | null;
194
+ set Previous(value: Activity | null);
228
195
  }
229
196
 
230
197
 
@@ -244,18 +211,18 @@ export interface ActivityContext$instance {
244
211
  readonly SpanId: ActivitySpanId;
245
212
  readonly TraceFlags: ActivityTraceFlags;
246
213
  readonly TraceId: ActivityTraceId;
247
- readonly TraceState: string | undefined;
214
+ readonly TraceState: string | null;
248
215
  Equals(value: ActivityContext): boolean;
249
- Equals(obj: unknown): boolean;
216
+ Equals(obj: JsValue | null): boolean;
250
217
  GetHashCode(): int;
251
218
  }
252
219
 
253
220
 
254
221
  export const ActivityContext: {
255
- new(traceId: ActivityTraceId, spanId: ActivitySpanId, traceFlags: ActivityTraceFlags, traceState: string, isRemote: boolean): ActivityContext;
256
- Parse(traceParent: string, traceState: string): ActivityContext;
257
- TryParse(traceParent: string, traceState: string, isRemote: boolean, context: ActivityContext): boolean;
258
- TryParse(traceParent: string, traceState: string, context: ActivityContext): boolean;
222
+ new(traceId: ActivityTraceId, spanId: ActivitySpanId, traceFlags: ActivityTraceFlags, traceState: string | null, isRemote: boolean): ActivityContext;
223
+ Parse(traceParent: string, traceState: string | null): ActivityContext;
224
+ TryParse(traceParent: string | null, traceState: string | null, isRemote: boolean, context: ActivityContext): boolean;
225
+ TryParse(traceParent: string | null, traceState: string | null, context: ActivityContext): boolean;
259
226
  };
260
227
 
261
228
 
@@ -273,15 +240,15 @@ export interface ActivityCreationOptions_1$instance<T> {
273
240
  readonly __tsonic_type_System_Diagnostics_ActivityCreationOptions_1: never;
274
241
 
275
242
  readonly Kind: ActivityKind;
276
- readonly Links: IEnumerable_1<ActivityLink> | undefined;
243
+ readonly Links: IEnumerable_1<ActivityLink> | null;
277
244
  readonly Name: string;
278
245
  readonly Parent: T;
279
246
  readonly SamplingTags: ActivityTagsCollection;
280
247
  readonly Source: ActivitySource;
281
- readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined;
248
+ readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null;
282
249
  readonly TraceId: ActivityTraceId;
283
- get TraceState(): string | undefined;
284
- set TraceState(value: string | undefined);
250
+ get TraceState(): string | null;
251
+ set TraceState(value: string | null);
285
252
  }
286
253
 
287
254
 
@@ -296,15 +263,15 @@ export interface ActivityEvent$instance {
296
263
  readonly __tsonic_type_System_Diagnostics_ActivityEvent: never;
297
264
 
298
265
  readonly Name: string;
299
- readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>;
266
+ readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>>;
300
267
  readonly Timestamp: DateTimeOffset;
301
- EnumerateTagObjects(): Activity_Enumerator_1<KeyValuePair_2<System_Internal.String, unknown>>;
268
+ EnumerateTagObjects(): Activity_Enumerator_1<KeyValuePair_2<System_Internal.String, JsValue>>;
302
269
  }
303
270
 
304
271
 
305
272
  export const ActivityEvent: {
306
273
  new(name: string): ActivityEvent;
307
- new(name: string, timestamp: DateTimeOffset, tags: ActivityTagsCollection): ActivityEvent;
274
+ new(name: string, timestamp: DateTimeOffset, tags: ActivityTagsCollection | null): ActivityEvent;
308
275
  };
309
276
 
310
277
 
@@ -316,16 +283,16 @@ export interface ActivityLink$instance {
316
283
  readonly __tsonic_iface_System_IEquatable_1: never;
317
284
 
318
285
  readonly Context: ActivityContext;
319
- readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined;
320
- EnumerateTagObjects(): Activity_Enumerator_1<KeyValuePair_2<System_Internal.String, unknown>>;
321
- Equals(obj: unknown): boolean;
286
+ readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null;
287
+ EnumerateTagObjects(): Activity_Enumerator_1<KeyValuePair_2<System_Internal.String, JsValue>>;
288
+ Equals(obj: JsValue | null): boolean;
322
289
  Equals(value: ActivityLink): boolean;
323
290
  GetHashCode(): int;
324
291
  }
325
292
 
326
293
 
327
294
  export const ActivityLink: {
328
- new(context: ActivityContext, tags: ActivityTagsCollection): ActivityLink;
295
+ new(context: ActivityContext, tags: ActivityTagsCollection | null): ActivityLink;
329
296
  };
330
297
 
331
298
 
@@ -346,7 +313,7 @@ export interface ActivitySpanId$instance {
346
313
 
347
314
  CopyTo(destination: Span_1<System_Internal.Byte>): void;
348
315
  Equals(spanId: ActivitySpanId): boolean;
349
- Equals(obj: unknown): boolean;
316
+ Equals(obj: JsValue | null): boolean;
350
317
  GetHashCode(): int;
351
318
  ToHexString(): string;
352
319
  ToString(): string;
@@ -372,33 +339,6 @@ export interface __ActivitySpanId$views {
372
339
  export type ActivitySpanId = ActivitySpanId$instance & __ActivitySpanId$views;
373
340
 
374
341
 
375
- export interface ActivityTagsCollection_Enumerator$instance extends IDisposable {
376
- readonly __tsonic_type_System_Diagnostics_ActivityTagsCollection_Enumerator: never;
377
-
378
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
379
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
380
- readonly __tsonic_iface_System_IDisposable: never;
381
-
382
- readonly Current: KeyValuePair_2<System_Internal.String, unknown>;
383
- Dispose(): void;
384
- MoveNext(): boolean;
385
- Reset(): void;
386
- }
387
-
388
-
389
- export const ActivityTagsCollection_Enumerator: {
390
- new(): ActivityTagsCollection_Enumerator;
391
- };
392
-
393
-
394
- export interface __ActivityTagsCollection_Enumerator$views {
395
- As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<KeyValuePair_2<System_Internal.String, unknown>>;
396
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
397
- }
398
-
399
- export type ActivityTagsCollection_Enumerator = ActivityTagsCollection_Enumerator$instance & __ActivityTagsCollection_Enumerator$views;
400
-
401
-
402
342
  export interface ActivityTraceId$instance {
403
343
  readonly __tsonic_type_System_Diagnostics_ActivityTraceId: never;
404
344
 
@@ -406,7 +346,7 @@ export interface ActivityTraceId$instance {
406
346
 
407
347
  CopyTo(destination: Span_1<System_Internal.Byte>): void;
408
348
  Equals(traceId: ActivityTraceId): boolean;
409
- Equals(obj: unknown): boolean;
349
+ Equals(obj: JsValue | null): boolean;
410
350
  GetHashCode(): int;
411
351
  ToHexString(): string;
412
352
  ToString(): string;
@@ -432,52 +372,6 @@ export interface __ActivityTraceId$views {
432
372
  export type ActivityTraceId = ActivityTraceId$instance & __ActivityTraceId$views;
433
373
 
434
374
 
435
- export interface Debug_AssertInterpolatedStringHandler$instance {
436
- readonly __tsonic_type_System_Diagnostics_Debug_AssertInterpolatedStringHandler: never;
437
-
438
- AppendFormatted<T>(value: T): void;
439
- AppendFormatted<T>(value: T, format: string): void;
440
- AppendFormatted<T>(value: T, alignment: int): void;
441
- AppendFormatted<T>(value: T, alignment: int, format: string): void;
442
- AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): void;
443
- AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string): void;
444
- AppendFormatted(value: string): void;
445
- AppendFormatted(value: string, alignment?: int, format?: string): void;
446
- AppendFormatted(value: unknown, alignment?: int, format?: string): void;
447
- AppendLiteral(value: string): void;
448
- }
449
-
450
-
451
- export const Debug_AssertInterpolatedStringHandler: {
452
- new(literalLength: int, formattedCount: int, condition: boolean, shouldAppend: boolean): Debug_AssertInterpolatedStringHandler;
453
- };
454
-
455
-
456
- export type Debug_AssertInterpolatedStringHandler = Debug_AssertInterpolatedStringHandler$instance;
457
-
458
- export interface Debug_WriteIfInterpolatedStringHandler$instance {
459
- readonly __tsonic_type_System_Diagnostics_Debug_WriteIfInterpolatedStringHandler: never;
460
-
461
- AppendFormatted<T>(value: T): void;
462
- AppendFormatted<T>(value: T, format: string): void;
463
- AppendFormatted<T>(value: T, alignment: int): void;
464
- AppendFormatted<T>(value: T, alignment: int, format: string): void;
465
- AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): void;
466
- AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string): void;
467
- AppendFormatted(value: string): void;
468
- AppendFormatted(value: string, alignment?: int, format?: string): void;
469
- AppendFormatted(value: unknown, alignment?: int, format?: string): void;
470
- AppendLiteral(value: string): void;
471
- }
472
-
473
-
474
- export const Debug_WriteIfInterpolatedStringHandler: {
475
- new(literalLength: int, formattedCount: int, condition: boolean, shouldAppend: boolean): Debug_WriteIfInterpolatedStringHandler;
476
- };
477
-
478
-
479
- export type Debug_WriteIfInterpolatedStringHandler = Debug_WriteIfInterpolatedStringHandler$instance;
480
-
481
375
  export interface TagList$instance {
482
376
  readonly __tsonic_type_System_Diagnostics_TagList: never;
483
377
 
@@ -490,44 +384,44 @@ export interface TagList$instance {
490
384
 
491
385
  readonly Count: int;
492
386
  readonly IsReadOnly: boolean;
493
- Add(key: string, value: unknown): void;
494
- Add(tag: KeyValuePair_2<System_Internal.String, unknown>): void;
387
+ Add(key: string, value: JsValue | null): void;
388
+ Add(tag: KeyValuePair_2<System_Internal.String, JsValue>): void;
495
389
  Clear(): void;
496
- Contains(item: KeyValuePair_2<System_Internal.String, unknown>): boolean;
497
- CopyTo(tags: Span_1<KeyValuePair_2<System_Internal.String, unknown>>): void;
498
- CopyTo(array: KeyValuePair_2<System_Internal.String, unknown>[], arrayIndex: int): void;
499
- GetEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, unknown>>;
500
- IndexOf(item: KeyValuePair_2<System_Internal.String, unknown>): int;
501
- Insert(index: int, item: KeyValuePair_2<System_Internal.String, unknown>): void;
502
- Remove(item: KeyValuePair_2<System_Internal.String, unknown>): boolean;
390
+ Contains(item: KeyValuePair_2<System_Internal.String, JsValue>): boolean;
391
+ CopyTo(tags: Span_1<KeyValuePair_2<System_Internal.String, JsValue>>): void;
392
+ CopyTo(array: KeyValuePair_2<System_Internal.String, JsValue>[], arrayIndex: int): void;
393
+ GetEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, JsValue>>;
394
+ IndexOf(item: KeyValuePair_2<System_Internal.String, JsValue>): int;
395
+ Insert(index: int, item: KeyValuePair_2<System_Internal.String, JsValue>): void;
396
+ Remove(item: KeyValuePair_2<System_Internal.String, JsValue>): boolean;
503
397
  RemoveAt(index: int): void;
504
398
  }
505
399
 
506
400
 
507
401
  export const TagList: {
508
- new(tagList: ReadOnlySpan_1<KeyValuePair_2<System_Internal.String, unknown>>): TagList;
402
+ new(tagList: ReadOnlySpan_1<KeyValuePair_2<System_Internal.String, JsValue>>): TagList;
509
403
  };
510
404
 
511
405
 
512
406
  export interface __TagList$views {
513
- As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<KeyValuePair_2<System_Internal.String, unknown>>;
514
- As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<KeyValuePair_2<System_Internal.String, unknown>>;
515
- As_IList_1(): System_Collections_Generic_Internal.IList_1$instance<KeyValuePair_2<System_Internal.String, unknown>>;
516
- As_IReadOnlyCollection_1(): System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<KeyValuePair_2<System_Internal.String, unknown>>;
407
+ As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<KeyValuePair_2<System_Internal.String, JsValue>>;
408
+ As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<KeyValuePair_2<System_Internal.String, JsValue>>;
409
+ As_IList_1(): System_Collections_Generic_Internal.IList_1$instance<KeyValuePair_2<System_Internal.String, JsValue>>;
410
+ As_IReadOnlyCollection_1(): System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<KeyValuePair_2<System_Internal.String, JsValue>>;
517
411
  As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
518
412
  }
519
413
 
520
- export type TagList = TagList$instance & __TagList$views & { [index: number]: KeyValuePair_2<System_Internal.String, unknown>; };
414
+ export type TagList = TagList$instance & __TagList$views & { [index: number]: KeyValuePair_2<System_Internal.String, JsValue>; };
521
415
 
522
416
 
523
- export interface TagList_Enumerator$instance extends IDisposable {
417
+ export interface TagList_Enumerator$instance extends IEnumerator_1<KeyValuePair_2<System_Internal.String, JsValue>>, IEnumerator, IDisposable {
524
418
  readonly __tsonic_type_System_Diagnostics_TagList_Enumerator: never;
525
419
 
526
420
  readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
527
421
  readonly __tsonic_iface_System_Collections_IEnumerator: never;
528
422
  readonly __tsonic_iface_System_IDisposable: never;
529
423
 
530
- readonly Current: KeyValuePair_2<System_Internal.String, unknown>;
424
+ readonly Current: KeyValuePair_2<System_Internal.String, JsValue>;
531
425
  Dispose(): void;
532
426
  MoveNext(): boolean;
533
427
  Reset(): void;
@@ -539,13 +433,7 @@ export const TagList_Enumerator: {
539
433
  };
540
434
 
541
435
 
542
- export interface __TagList_Enumerator$views {
543
- As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<KeyValuePair_2<System_Internal.String, unknown>>;
544
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
545
- }
546
-
547
- export type TagList_Enumerator = TagList_Enumerator$instance & __TagList_Enumerator$views;
548
-
436
+ export type TagList_Enumerator = TagList_Enumerator$instance;
549
437
 
550
438
  export interface Activity$instance {
551
439
  readonly __tsonic_type_System_Diagnostics_Activity: never;
@@ -559,52 +447,52 @@ export interface Activity$instance {
559
447
  Duration: TimeSpan;
560
448
  readonly Events: IEnumerable_1<ActivityEvent>;
561
449
  HasRemoteParent: boolean;
562
- readonly Id: string | undefined;
450
+ readonly Id: string | null;
563
451
  IdFormat: ActivityIdFormat;
564
452
  IsAllDataRequested: boolean;
565
453
  IsStopped: boolean;
566
454
  Kind: ActivityKind;
567
455
  readonly Links: IEnumerable_1<ActivityLink>;
568
456
  readonly OperationName: string;
569
- get Parent(): Activity | undefined;
570
- set Parent(value: Activity | undefined);
571
- readonly ParentId: string | undefined;
457
+ get Parent(): Activity | null;
458
+ set Parent(value: Activity | null);
459
+ readonly ParentId: string | null;
572
460
  readonly ParentSpanId: ActivitySpanId;
573
461
  readonly Recorded: boolean;
574
- readonly RootId: string | undefined;
462
+ readonly RootId: string | null;
575
463
  Source: ActivitySource;
576
464
  readonly SpanId: ActivitySpanId;
577
465
  StartTimeUtc: DateTime;
578
466
  readonly Status: ActivityStatusCode;
579
- readonly StatusDescription: string | undefined;
580
- readonly TagObjects: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>;
467
+ readonly StatusDescription: string | null;
468
+ readonly TagObjects: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>>;
581
469
  readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>>;
582
470
  readonly TraceId: ActivityTraceId;
583
- get TraceStateString(): string | undefined;
584
- set TraceStateString(value: string | undefined);
585
- AddBaggage(key: string, value: string): Activity;
471
+ get TraceStateString(): string | null;
472
+ set TraceStateString(value: string | null);
473
+ AddBaggage(key: string, value: string | null): Activity;
586
474
  AddEvent(e: ActivityEvent): Activity;
587
475
  AddException(exception: Exception, tags?: TagList, timestamp?: DateTimeOffset): Activity;
588
476
  AddLink(link: ActivityLink): Activity;
589
- AddTag(key: string, value: string): Activity;
590
- AddTag(key: string, value: unknown): Activity;
477
+ AddTag(key: string, value: string | null): Activity;
478
+ AddTag(key: string, value: JsValue | null): Activity;
591
479
  Dispose(): void;
592
480
  Dispose(disposing: boolean): void;
593
481
  EnumerateEvents(): Activity_Enumerator_1<ActivityEvent>;
594
482
  EnumerateLinks(): Activity_Enumerator_1<ActivityLink>;
595
- EnumerateTagObjects(): Activity_Enumerator_1<KeyValuePair_2<System_Internal.String, unknown>>;
596
- GetBaggageItem(key: string): string | undefined;
597
- GetCustomProperty(propertyName: string): unknown | undefined;
598
- GetTagItem(key: string): unknown | undefined;
599
- SetBaggage(key: string, value: string): Activity;
600
- SetCustomProperty(propertyName: string, propertyValue: unknown): void;
483
+ EnumerateTagObjects(): Activity_Enumerator_1<KeyValuePair_2<System_Internal.String, JsValue>>;
484
+ GetBaggageItem(key: string): string | null;
485
+ GetCustomProperty(propertyName: string): JsValue | null;
486
+ GetTagItem(key: string): JsValue | null;
487
+ SetBaggage(key: string, value: string | null): Activity;
488
+ SetCustomProperty(propertyName: string, propertyValue: JsValue | null): void;
601
489
  SetEndTime(endTimeUtc: DateTime): Activity;
602
490
  SetIdFormat(format: ActivityIdFormat): Activity;
603
491
  SetParentId(parentId: string): Activity;
604
492
  SetParentId(traceId: ActivityTraceId, spanId: ActivitySpanId, activityTraceFlags?: ActivityTraceFlags): Activity;
605
493
  SetStartTime(startTimeUtc: DateTime): Activity;
606
- SetStatus(code: ActivityStatusCode, description?: string): Activity;
607
- SetTag(key: string, value: unknown): Activity;
494
+ SetStatus(code: ActivityStatusCode, description?: string | null): Activity;
495
+ SetTag(key: string, value: JsValue | null): Activity;
608
496
  Start(): Activity;
609
497
  Stop(): void;
610
498
  }
@@ -613,10 +501,10 @@ export interface Activity$instance {
613
501
  export const Activity: {
614
502
  new(operationName: string): Activity;
615
503
  ForceDefaultIdFormat: boolean;
616
- get Current(): Activity | undefined;
617
- set Current(value: Activity | undefined);
618
- get TraceIdGenerator(): Func_1<ActivityTraceId> | undefined;
619
- set TraceIdGenerator(value: Func_1<ActivityTraceId> | undefined);
504
+ get Current(): Activity | null;
505
+ set Current(value: Activity | null);
506
+ get TraceIdGenerator(): Func_1<ActivityTraceId> | null;
507
+ set TraceIdGenerator(value: Func_1<ActivityTraceId> | null);
620
508
  DefaultIdFormat: ActivityIdFormat;
621
509
  };
622
510
 
@@ -628,23 +516,39 @@ export interface __Activity$views {
628
516
  export type Activity = Activity$instance & __Activity$views;
629
517
 
630
518
 
519
+ export interface Activity_Enumerator_1$instance<T> {
520
+ readonly __tsonic_type_System_Diagnostics_Activity_Enumerator_1: never;
521
+
522
+ readonly Current: T;
523
+ GetEnumerator(): Activity_Enumerator_1<T>;
524
+ MoveNext(): boolean;
525
+ }
526
+
527
+
528
+ export const Activity_Enumerator_1: {
529
+ new<T>(): Activity_Enumerator_1<T>;
530
+ };
531
+
532
+
533
+ export type Activity_Enumerator_1<T> = Activity_Enumerator_1$instance<T>;
534
+
631
535
  export interface ActivityListener$instance extends System_Internal.IDisposable$instance {
632
536
  readonly __tsonic_type_System_Diagnostics_ActivityListener: never;
633
537
 
634
538
  readonly __tsonic_iface_System_IDisposable: never;
635
539
 
636
- get ActivityStarted(): Action_1<Activity> | undefined;
637
- set ActivityStarted(value: Action_1<Activity> | undefined);
638
- get ActivityStopped(): Action_1<Activity> | undefined;
639
- set ActivityStopped(value: Action_1<Activity> | undefined);
640
- get ExceptionRecorder(): ExceptionRecorder | undefined;
641
- set ExceptionRecorder(value: ExceptionRecorder | undefined);
642
- get Sample(): SampleActivity_1<ActivityContext> | undefined;
643
- set Sample(value: SampleActivity_1<ActivityContext> | undefined);
644
- get SampleUsingParentId(): SampleActivity_1<System_Internal.String> | undefined;
645
- set SampleUsingParentId(value: SampleActivity_1<System_Internal.String> | undefined);
646
- get ShouldListenTo(): Func_2<ActivitySource, System_Internal.Boolean> | undefined;
647
- set ShouldListenTo(value: Func_2<ActivitySource, System_Internal.Boolean> | undefined);
540
+ get ActivityStarted(): Action_1<Activity> | null;
541
+ set ActivityStarted(value: Action_1<Activity> | null);
542
+ get ActivityStopped(): Action_1<Activity> | null;
543
+ set ActivityStopped(value: Action_1<Activity> | null);
544
+ get ExceptionRecorder(): ExceptionRecorder | null;
545
+ set ExceptionRecorder(value: ExceptionRecorder | null);
546
+ get Sample(): SampleActivity_1<ActivityContext> | null;
547
+ set Sample(value: SampleActivity_1<ActivityContext> | null);
548
+ get SampleUsingParentId(): SampleActivity_1<System_Internal.String> | null;
549
+ set SampleUsingParentId(value: SampleActivity_1<System_Internal.String> | null);
550
+ get ShouldListenTo(): Func_2<ActivitySource, System_Internal.Boolean> | null;
551
+ set ShouldListenTo(value: Func_2<ActivitySource, System_Internal.Boolean> | null);
648
552
  Dispose(): void;
649
553
  }
650
554
 
@@ -667,25 +571,25 @@ export interface ActivitySource$instance extends System_Internal.IDisposable$ins
667
571
  readonly __tsonic_iface_System_IDisposable: never;
668
572
 
669
573
  readonly Name: string;
670
- readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined;
671
- readonly TelemetrySchemaUrl: string | undefined;
672
- readonly Version: string | undefined;
673
- CreateActivity(name: string, kind: ActivityKind): Activity | undefined;
674
- CreateActivity(name: string, kind: ActivityKind, parentContext: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>, links?: IEnumerable_1<ActivityLink>, idFormat?: ActivityIdFormat): Activity | undefined;
675
- CreateActivity(name: string, kind: ActivityKind, parentId: string, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>, links?: IEnumerable_1<ActivityLink>, idFormat?: ActivityIdFormat): Activity | undefined;
574
+ readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null;
575
+ readonly TelemetrySchemaUrl: string | null;
576
+ readonly Version: string | null;
577
+ CreateActivity(name: string, kind: ActivityKind): Activity | null;
578
+ CreateActivity(name: string, kind: ActivityKind, parentContext: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null, links?: IEnumerable_1<ActivityLink> | null, idFormat?: ActivityIdFormat): Activity | null;
579
+ CreateActivity(name: string, kind: ActivityKind, parentId: string | null, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null, links?: IEnumerable_1<ActivityLink> | null, idFormat?: ActivityIdFormat): Activity | null;
676
580
  Dispose(): void;
677
581
  HasListeners(): boolean;
678
- StartActivity(name?: string, kind?: ActivityKind): Activity | undefined;
679
- StartActivity(name: string, kind: ActivityKind, parentContext: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>, links?: IEnumerable_1<ActivityLink>, startTime?: DateTimeOffset): Activity | undefined;
680
- StartActivity(name: string, kind: ActivityKind, parentId: string, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>, links?: IEnumerable_1<ActivityLink>, startTime?: DateTimeOffset): Activity | undefined;
681
- StartActivity(kind: ActivityKind, parentContext?: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>, links?: IEnumerable_1<ActivityLink>, startTime?: DateTimeOffset, name?: string): Activity | undefined;
582
+ StartActivity(name?: string, kind?: ActivityKind): Activity | null;
583
+ StartActivity(name: string, kind: ActivityKind, parentContext: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null, links?: IEnumerable_1<ActivityLink> | null, startTime?: DateTimeOffset): Activity | null;
584
+ StartActivity(name: string, kind: ActivityKind, parentId: string | null, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null, links?: IEnumerable_1<ActivityLink> | null, startTime?: DateTimeOffset): Activity | null;
585
+ StartActivity(kind: ActivityKind, parentContext?: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null, links?: IEnumerable_1<ActivityLink> | null, startTime?: DateTimeOffset, name?: string): Activity | null;
682
586
  }
683
587
 
684
588
 
685
589
  export const ActivitySource: {
686
590
  new(name: string): ActivitySource;
687
- new(name: string, version: string): ActivitySource;
688
- new(name: string, version: string, tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>): ActivitySource;
591
+ new(name: string, version: string | null): ActivitySource;
592
+ new(name: string, version: string | null, tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null): ActivitySource;
689
593
  new(options: ActivitySourceOptions): ActivitySource;
690
594
  AddActivityListener(listener: ActivityListener): void;
691
595
  };
@@ -702,12 +606,12 @@ export interface ActivitySourceOptions$instance {
702
606
  readonly __tsonic_type_System_Diagnostics_ActivitySourceOptions: never;
703
607
 
704
608
  Name: string;
705
- get Tags(): IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined;
706
- set Tags(value: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined);
707
- get TelemetrySchemaUrl(): string | undefined;
708
- set TelemetrySchemaUrl(value: string | undefined);
709
- get Version(): string | undefined;
710
- set Version(value: string | undefined);
609
+ get Tags(): IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null;
610
+ set Tags(value: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null);
611
+ get TelemetrySchemaUrl(): string | null;
612
+ set TelemetrySchemaUrl(value: string | null);
613
+ get Version(): string | null;
614
+ set Version(value: string | null);
711
615
  }
712
616
 
713
617
 
@@ -729,36 +633,56 @@ export interface ActivityTagsCollection$instance {
729
633
  readonly Count: int;
730
634
  readonly IsReadOnly: boolean;
731
635
  readonly Keys: ICollection_1<System_Internal.String>;
732
- readonly Values: ICollection_1<unknown | undefined>;
733
- Add(key: string, value: unknown): void;
734
- Add(item: KeyValuePair_2<System_Internal.String, unknown>): void;
636
+ readonly Values: ICollection_1<JsValue | null>;
637
+ Add(key: string, value: JsValue | null): void;
638
+ Add(item: KeyValuePair_2<System_Internal.String, JsValue>): void;
735
639
  Clear(): void;
736
- Contains(item: KeyValuePair_2<System_Internal.String, unknown>): boolean;
640
+ Contains(item: KeyValuePair_2<System_Internal.String, JsValue>): boolean;
737
641
  ContainsKey(key: string): boolean;
738
- CopyTo(array: KeyValuePair_2<System_Internal.String, unknown>[], arrayIndex: int): void;
642
+ CopyTo(array: KeyValuePair_2<System_Internal.String, JsValue>[], arrayIndex: int): void;
739
643
  GetEnumerator(): ActivityTagsCollection_Enumerator;
740
644
  Remove(key: string): boolean;
741
- Remove(item: KeyValuePair_2<System_Internal.String, unknown>): boolean;
742
- TryGetValue(key: string, value: unknown): boolean;
645
+ Remove(item: KeyValuePair_2<System_Internal.String, JsValue>): boolean;
646
+ TryGetValue(key: string, value: JsValue | null): boolean;
743
647
  }
744
648
 
745
649
 
746
650
  export const ActivityTagsCollection: {
747
651
  new(): ActivityTagsCollection;
748
- new(list: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>): ActivityTagsCollection;
652
+ new(list: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>>): ActivityTagsCollection;
749
653
  };
750
654
 
751
655
 
752
656
  export interface __ActivityTagsCollection$views {
753
- As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<KeyValuePair_2<System_Internal.String, unknown>>;
754
- As_IDictionary_2(): System_Collections_Generic_Internal.IDictionary_2$instance<System_Internal.String, unknown>;
755
- As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<KeyValuePair_2<System_Internal.String, unknown>>;
657
+ As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<KeyValuePair_2<System_Internal.String, JsValue>>;
658
+ As_IDictionary_2(): System_Collections_Generic_Internal.IDictionary_2$instance<System_Internal.String, JsValue>;
659
+ As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<KeyValuePair_2<System_Internal.String, JsValue>>;
756
660
  As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
757
661
  }
758
662
 
759
- export type ActivityTagsCollection = ActivityTagsCollection$instance & __ActivityTagsCollection$views & { [key: string]: unknown | undefined; };
663
+ export type ActivityTagsCollection = ActivityTagsCollection$instance & __ActivityTagsCollection$views & { [key: string]: JsValue | null; };
664
+
665
+
666
+ export interface ActivityTagsCollection_Enumerator$instance extends IEnumerator_1<KeyValuePair_2<System_Internal.String, JsValue>>, IEnumerator, IDisposable {
667
+ readonly __tsonic_type_System_Diagnostics_ActivityTagsCollection_Enumerator: never;
668
+
669
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
670
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
671
+ readonly __tsonic_iface_System_IDisposable: never;
672
+
673
+ readonly Current: KeyValuePair_2<System_Internal.String, JsValue>;
674
+ Dispose(): void;
675
+ MoveNext(): boolean;
676
+ }
677
+
678
+
679
+ export const ActivityTagsCollection_Enumerator: {
680
+ new(): ActivityTagsCollection_Enumerator;
681
+ };
760
682
 
761
683
 
684
+ export type ActivityTagsCollection_Enumerator = ActivityTagsCollection_Enumerator$instance;
685
+
762
686
  export interface BooleanSwitch$instance extends Switch {
763
687
  readonly __tsonic_type_System_Diagnostics_BooleanSwitch: never;
764
688
 
@@ -768,8 +692,8 @@ export interface BooleanSwitch$instance extends Switch {
768
692
 
769
693
 
770
694
  export const BooleanSwitch: {
771
- new(displayName: string, description: string): BooleanSwitch;
772
- new(displayName: string, description: string, defaultSwitchValue: string): BooleanSwitch;
695
+ new(displayName: string, description: string | null): BooleanSwitch;
696
+ new(displayName: string, description: string | null, defaultSwitchValue: string): BooleanSwitch;
773
697
  };
774
698
 
775
699
 
@@ -817,7 +741,7 @@ export interface CorrelationManager$instance {
817
741
  ActivityId: Guid;
818
742
  readonly LogicalOperationStack: Stack;
819
743
  StartLogicalOperation(): void;
820
- StartLogicalOperation(operationId: unknown): void;
744
+ StartLogicalOperation(operationId: JsValue): void;
821
745
  StopLogicalOperation(): void;
822
746
  }
823
747
 
@@ -831,7 +755,7 @@ export type CorrelationManager = CorrelationManager$instance;
831
755
  export interface DataReceivedEventArgs$instance extends EventArgs {
832
756
  readonly __tsonic_type_System_Diagnostics_DataReceivedEventArgs: never;
833
757
 
834
- readonly Data: string | undefined;
758
+ readonly Data: string | null;
835
759
  }
836
760
 
837
761
 
@@ -858,6 +782,15 @@ export const DebuggableAttribute: {
858
782
 
859
783
  export type DebuggableAttribute = DebuggableAttribute$instance;
860
784
 
785
+ export enum DebuggableAttribute_DebuggingModes {
786
+ None = 0,
787
+ Default = 1,
788
+ DisableOptimizations = 256,
789
+ IgnoreSymbolStoreSequencePoints = 2,
790
+ EnableEditAndContinue = 4
791
+ }
792
+
793
+
861
794
  export interface DebuggerBrowsableAttribute$instance extends Attribute {
862
795
  readonly __tsonic_type_System_Diagnostics_DebuggerBrowsableAttribute: never;
863
796
 
@@ -888,20 +821,20 @@ export type DebuggerDisableUserUnhandledExceptionsAttribute = DebuggerDisableUse
888
821
  export interface DebuggerDisplayAttribute$instance extends Attribute {
889
822
  readonly __tsonic_type_System_Diagnostics_DebuggerDisplayAttribute: never;
890
823
 
891
- get Name(): string | undefined;
892
- set Name(value: string | undefined);
893
- get Target(): Type | undefined;
894
- set Target(value: Type | undefined);
895
- get TargetTypeName(): string | undefined;
896
- set TargetTypeName(value: string | undefined);
897
- get Type(): string | undefined;
898
- set Type(value: string | undefined);
824
+ get Name(): string | null;
825
+ set Name(value: string | null);
826
+ get Target(): Type | null;
827
+ set Target(value: Type | null);
828
+ get TargetTypeName(): string | null;
829
+ set TargetTypeName(value: string | null);
830
+ get Type(): string | null;
831
+ set Type(value: string | null);
899
832
  readonly Value: string;
900
833
  }
901
834
 
902
835
 
903
836
  export const DebuggerDisplayAttribute: {
904
- new(value: string): DebuggerDisplayAttribute;
837
+ new(value: string | null): DebuggerDisplayAttribute;
905
838
  };
906
839
 
907
840
 
@@ -963,10 +896,10 @@ export interface DebuggerTypeProxyAttribute$instance extends Attribute {
963
896
  readonly __tsonic_type_System_Diagnostics_DebuggerTypeProxyAttribute: never;
964
897
 
965
898
  readonly ProxyTypeName: string;
966
- get Target(): Type | undefined;
967
- set Target(value: Type | undefined);
968
- get TargetTypeName(): string | undefined;
969
- set TargetTypeName(value: string | undefined);
899
+ get Target(): Type | null;
900
+ set Target(value: Type | null);
901
+ get TargetTypeName(): string | null;
902
+ set TargetTypeName(value: string | null);
970
903
  }
971
904
 
972
905
 
@@ -981,24 +914,24 @@ export type DebuggerTypeProxyAttribute = DebuggerTypeProxyAttribute$instance;
981
914
  export interface DebuggerVisualizerAttribute$instance extends Attribute {
982
915
  readonly __tsonic_type_System_Diagnostics_DebuggerVisualizerAttribute: never;
983
916
 
984
- get Description(): string | undefined;
985
- set Description(value: string | undefined);
986
- get Target(): Type | undefined;
987
- set Target(value: Type | undefined);
988
- get TargetTypeName(): string | undefined;
989
- set TargetTypeName(value: string | undefined);
990
- readonly VisualizerObjectSourceTypeName: string | undefined;
917
+ get Description(): string | null;
918
+ set Description(value: string | null);
919
+ get Target(): Type | null;
920
+ set Target(value: Type | null);
921
+ get TargetTypeName(): string | null;
922
+ set TargetTypeName(value: string | null);
923
+ readonly VisualizerObjectSourceTypeName: string | null;
991
924
  readonly VisualizerTypeName: string;
992
925
  }
993
926
 
994
927
 
995
928
  export const DebuggerVisualizerAttribute: {
996
929
  new(visualizerTypeName: string): DebuggerVisualizerAttribute;
997
- new(visualizerTypeName: string, visualizerObjectSourceTypeName: string): DebuggerVisualizerAttribute;
930
+ new(visualizerTypeName: string, visualizerObjectSourceTypeName: string | null): DebuggerVisualizerAttribute;
998
931
  new(visualizerTypeName: string, visualizerObjectSource: Type): DebuggerVisualizerAttribute;
999
932
  new(visualizer: Type): DebuggerVisualizerAttribute;
1000
933
  new(visualizer: Type, visualizerObjectSource: Type): DebuggerVisualizerAttribute;
1001
- new(visualizer: Type, visualizerObjectSourceTypeName: string): DebuggerVisualizerAttribute;
934
+ new(visualizer: Type, visualizerObjectSourceTypeName: string | null): DebuggerVisualizerAttribute;
1002
935
  };
1003
936
 
1004
937
 
@@ -1007,17 +940,17 @@ export type DebuggerVisualizerAttribute = DebuggerVisualizerAttribute$instance;
1007
940
  export interface DebugProvider$instance {
1008
941
  readonly __tsonic_type_System_Diagnostics_DebugProvider: never;
1009
942
 
1010
- Fail(message: string, detailMessage: string): void;
943
+ Fail(message: string | null, detailMessage: string | null): void;
1011
944
  OnIndentLevelChanged(indentLevel: int): void;
1012
945
  OnIndentSizeChanged(indentSize: int): void;
1013
- Write(message: string): void;
1014
- WriteLine(message: string): void;
946
+ Write(message: string | null): void;
947
+ WriteLine(message: string | null): void;
1015
948
  }
1016
949
 
1017
950
 
1018
951
  export const DebugProvider: {
1019
952
  new(): DebugProvider;
1020
- FailCore(stackTrace: string, message: string, detailMessage: string, errorSource: string): void;
953
+ FailCore(stackTrace: string, message: string | null, detailMessage: string | null, errorSource: string): void;
1021
954
  WriteCore(message: string): void;
1022
955
  };
1023
956
 
@@ -1030,18 +963,18 @@ export interface DefaultTraceListener$instance extends TraceListener$instance {
1030
963
  readonly __tsonic_iface_System_IDisposable: never;
1031
964
 
1032
965
  AssertUiEnabled: boolean;
1033
- get LogFileName(): string | undefined;
1034
- set LogFileName(value: string | undefined);
1035
- Fail(message: string): void;
1036
- Fail(message: string, detailMessage: string): void;
1037
- Write(message: string): void;
1038
- Write(o: unknown): void;
1039
- Write(message: string, category: string): void;
1040
- Write(o: unknown, category: string): void;
1041
- WriteLine(message: string): void;
1042
- WriteLine(o: unknown): void;
1043
- WriteLine(message: string, category: string): void;
1044
- WriteLine(o: unknown, category: string): void;
966
+ get LogFileName(): string | null;
967
+ set LogFileName(value: string | null);
968
+ Fail(message: string | null): void;
969
+ Fail(message: string | null, detailMessage: string | null): void;
970
+ Write(message: string | null): void;
971
+ Write(o: JsValue | null): void;
972
+ Write(message: string | null, category: string | null): void;
973
+ Write(o: JsValue | null, category: string | null): void;
974
+ WriteLine(message: string | null): void;
975
+ WriteLine(o: JsValue | null): void;
976
+ WriteLine(message: string | null, category: string | null): void;
977
+ WriteLine(o: JsValue | null, category: string | null): void;
1045
978
  }
1046
979
 
1047
980
 
@@ -1064,21 +997,21 @@ export interface DelimitedListTraceListener$instance extends TextWriterTraceList
1064
997
 
1065
998
  Delimiter: string;
1066
999
  GetSupportedAttributes(): string[];
1067
- TraceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, data: unknown): void;
1068
- TraceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, ...data: unknown[]): void;
1069
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, format: string, ...args: unknown[]): void;
1070
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, message: string): void;
1071
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int): void;
1000
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, data: JsValue | null): void;
1001
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, ...data: (JsValue | null)[] | null): void;
1002
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, format: string | null, ...args: (JsValue | null)[] | null): void;
1003
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, message: string | null): void;
1004
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int): void;
1072
1005
  }
1073
1006
 
1074
1007
 
1075
1008
  export const DelimitedListTraceListener: {
1076
1009
  new(stream: Stream): DelimitedListTraceListener;
1077
- new(stream: Stream, name: string): DelimitedListTraceListener;
1010
+ new(stream: Stream, name: string | null): DelimitedListTraceListener;
1078
1011
  new(writer: TextWriter): DelimitedListTraceListener;
1079
- new(writer: TextWriter, name: string): DelimitedListTraceListener;
1080
- new(fileName: string): DelimitedListTraceListener;
1081
- new(fileName: string, name: string): DelimitedListTraceListener;
1012
+ new(writer: TextWriter, name: string | null): DelimitedListTraceListener;
1013
+ new(fileName: string | null): DelimitedListTraceListener;
1014
+ new(fileName: string | null, name: string | null): DelimitedListTraceListener;
1082
1015
  };
1083
1016
 
1084
1017
 
@@ -1099,15 +1032,15 @@ export interface DiagnosticListener$instance extends DiagnosticSource, System_In
1099
1032
  Dispose(): void;
1100
1033
  IsEnabled(): boolean;
1101
1034
  IsEnabled(name: string): boolean;
1102
- IsEnabled(name: string, arg1: unknown, arg2?: unknown): boolean;
1103
- OnActivityExport(activity: Activity, payload: unknown): void;
1104
- OnActivityImport(activity: Activity, payload: unknown): void;
1105
- Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Func_4<System_Internal.String, unknown, unknown, System_Internal.Boolean>, onActivityImport?: Action_2<Activity, unknown>, onActivityExport?: Action_2<Activity, unknown>): IDisposable;
1106
- Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Predicate_1<System_Internal.String>): IDisposable;
1107
- Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Func_4<System_Internal.String, unknown, unknown, System_Internal.Boolean>): IDisposable;
1108
- Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>): IDisposable;
1035
+ IsEnabled(name: string, arg1: JsValue | null, arg2?: JsValue | null): boolean;
1036
+ OnActivityExport(activity: Activity, payload: JsValue | null): void;
1037
+ OnActivityImport(activity: Activity, payload: JsValue | null): void;
1038
+ Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, JsValue>>, isEnabled: Func_4<System_Internal.String, JsValue | null, JsValue | null, System_Internal.Boolean> | null, onActivityImport?: Action_2<Activity, JsValue | null> | null, onActivityExport?: Action_2<Activity, JsValue | null> | null): IDisposable;
1039
+ Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, JsValue>>, isEnabled: Predicate_1<System_Internal.String> | null): IDisposable;
1040
+ Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, JsValue>>, isEnabled: Func_4<System_Internal.String, JsValue | null, JsValue | null, System_Internal.Boolean> | null): IDisposable;
1041
+ Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, JsValue>>): IDisposable;
1109
1042
  ToString(): string;
1110
- Write(name: string, value: unknown): void;
1043
+ Write(name: string, value: JsValue | null): void;
1111
1044
  Write<T>(name: string, value: T): void;
1112
1045
  }
1113
1046
 
@@ -1120,7 +1053,7 @@ export const DiagnosticListener: {
1120
1053
 
1121
1054
  export interface __DiagnosticListener$views {
1122
1055
  As_IDisposable(): System_Internal.IDisposable$instance;
1123
- As_IObservable_1(): System_Internal.IObservable_1$instance<KeyValuePair_2<System_Internal.String, unknown>>;
1056
+ As_IObservable_1(): System_Internal.IObservable_1$instance<KeyValuePair_2<System_Internal.String, JsValue>>;
1124
1057
  }
1125
1058
 
1126
1059
  export type DiagnosticListener = DiagnosticListener$instance & __DiagnosticListener$views;
@@ -1129,15 +1062,15 @@ export type DiagnosticListener = DiagnosticListener$instance & __DiagnosticListe
1129
1062
  export interface DiagnosticMethodInfo$instance {
1130
1063
  readonly __tsonic_type_System_Diagnostics_DiagnosticMethodInfo: never;
1131
1064
 
1132
- readonly DeclaringAssemblyName: string | undefined;
1133
- readonly DeclaringTypeName: string | undefined;
1065
+ readonly DeclaringAssemblyName: string | null;
1066
+ readonly DeclaringTypeName: string | null;
1134
1067
  readonly Name: string;
1135
1068
  }
1136
1069
 
1137
1070
 
1138
1071
  export const DiagnosticMethodInfo: {
1139
- Create(delegate: Function): DiagnosticMethodInfo | undefined;
1140
- Create(frame: StackFrame): DiagnosticMethodInfo | undefined;
1072
+ Create(delegate: Function): DiagnosticMethodInfo | null;
1073
+ Create(frame: StackFrame): DiagnosticMethodInfo | null;
1141
1074
  };
1142
1075
 
1143
1076
 
@@ -1147,14 +1080,14 @@ export interface DiagnosticSource$instance {
1147
1080
  readonly __tsonic_type_System_Diagnostics_DiagnosticSource: never;
1148
1081
 
1149
1082
  IsEnabled(name: string): boolean;
1150
- IsEnabled(name: string, arg1: unknown, arg2?: unknown): boolean;
1151
- OnActivityExport(activity: Activity, payload: unknown): void;
1152
- OnActivityImport(activity: Activity, payload: unknown): void;
1153
- StartActivity(activity: Activity, args: unknown): Activity;
1083
+ IsEnabled(name: string, arg1: JsValue | null, arg2?: JsValue | null): boolean;
1084
+ OnActivityExport(activity: Activity, payload: JsValue | null): void;
1085
+ OnActivityImport(activity: Activity, payload: JsValue | null): void;
1086
+ StartActivity(activity: Activity, args: JsValue | null): Activity;
1154
1087
  StartActivity<T>(activity: Activity, args: T): Activity;
1155
- StopActivity(activity: Activity, args: unknown): void;
1088
+ StopActivity(activity: Activity, args: JsValue | null): void;
1156
1089
  StopActivity<T>(activity: Activity, args: T): void;
1157
- Write(name: string, value: unknown): void;
1090
+ Write(name: string, value: JsValue | null): void;
1158
1091
  Write<T>(name: string, value: T): void;
1159
1092
  }
1160
1093
 
@@ -1169,9 +1102,9 @@ export interface DistributedContextPropagator$instance {
1169
1102
  readonly __tsonic_type_System_Diagnostics_DistributedContextPropagator: never;
1170
1103
 
1171
1104
  readonly Fields: IReadOnlyCollection_1<System_Internal.String>;
1172
- ExtractBaggage(carrier: unknown, getter: DistributedContextPropagator_PropagatorGetterCallback): IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>> | undefined;
1173
- ExtractTraceIdAndState(carrier: unknown, getter: DistributedContextPropagator_PropagatorGetterCallback, traceId: string, traceState: string): void;
1174
- Inject(activity: Activity, carrier: unknown, setter: DistributedContextPropagator_PropagatorSetterCallback): void;
1105
+ ExtractBaggage(carrier: JsValue | null, getter: DistributedContextPropagator_PropagatorGetterCallback | null): IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>> | null;
1106
+ ExtractTraceIdAndState(carrier: JsValue | null, getter: DistributedContextPropagator_PropagatorGetterCallback | null, traceId: string | null, traceState: string | null): void;
1107
+ Inject(activity: Activity | null, carrier: JsValue | null, setter: DistributedContextPropagator_PropagatorSetterCallback | null): void;
1175
1108
  }
1176
1109
 
1177
1110
 
@@ -1187,11 +1120,17 @@ export const DistributedContextPropagator: (abstract new() => DistributedContext
1187
1120
 
1188
1121
  export type DistributedContextPropagator = DistributedContextPropagator$instance;
1189
1122
 
1123
+ export type DistributedContextPropagator_PropagatorGetterCallback = (carrier: JsValue | null, fieldName: string, fieldValue: string | null, fieldValues: IEnumerable_1<System_Internal.String> | null) => void;
1124
+
1125
+
1126
+ export type DistributedContextPropagator_PropagatorSetterCallback = (carrier: JsValue | null, fieldName: string, fieldValue: string) => void;
1127
+
1128
+
1190
1129
  export interface EventTypeFilter$instance extends TraceFilter {
1191
1130
  readonly __tsonic_type_System_Diagnostics_EventTypeFilter: never;
1192
1131
 
1193
1132
  EventType: SourceLevels;
1194
- ShouldTrace(cache: TraceEventCache, source: string, eventType: TraceEventType, id: int, formatOrMessage: string, args: unknown[], data1: unknown, data: unknown[]): boolean;
1133
+ ShouldTrace(cache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, formatOrMessage: string | null, args: (JsValue | null)[] | null, data1: JsValue | null, data: (JsValue | null)[] | null): boolean;
1195
1134
  }
1196
1135
 
1197
1136
 
@@ -1205,33 +1144,33 @@ export type EventTypeFilter = EventTypeFilter$instance;
1205
1144
  export interface FileVersionInfo$instance {
1206
1145
  readonly __tsonic_type_System_Diagnostics_FileVersionInfo: never;
1207
1146
 
1208
- readonly Comments: string | undefined;
1209
- readonly CompanyName: string | undefined;
1147
+ readonly Comments: string | null;
1148
+ readonly CompanyName: string | null;
1210
1149
  readonly FileBuildPart: int;
1211
- readonly FileDescription: string | undefined;
1150
+ readonly FileDescription: string | null;
1212
1151
  readonly FileMajorPart: int;
1213
1152
  readonly FileMinorPart: int;
1214
1153
  readonly FileName: string;
1215
1154
  readonly FilePrivatePart: int;
1216
- readonly FileVersion: string | undefined;
1217
- readonly InternalName: string | undefined;
1155
+ readonly FileVersion: string | null;
1156
+ readonly InternalName: string | null;
1218
1157
  readonly IsDebug: boolean;
1219
1158
  readonly IsPatched: boolean;
1220
1159
  readonly IsPreRelease: boolean;
1221
1160
  readonly IsPrivateBuild: boolean;
1222
1161
  readonly IsSpecialBuild: boolean;
1223
- readonly Language: string | undefined;
1224
- readonly LegalCopyright: string | undefined;
1225
- readonly LegalTrademarks: string | undefined;
1226
- readonly OriginalFilename: string | undefined;
1227
- readonly PrivateBuild: string | undefined;
1162
+ readonly Language: string | null;
1163
+ readonly LegalCopyright: string | null;
1164
+ readonly LegalTrademarks: string | null;
1165
+ readonly OriginalFilename: string | null;
1166
+ readonly PrivateBuild: string | null;
1228
1167
  readonly ProductBuildPart: int;
1229
1168
  readonly ProductMajorPart: int;
1230
1169
  readonly ProductMinorPart: int;
1231
- readonly ProductName: string | undefined;
1170
+ readonly ProductName: string | null;
1232
1171
  readonly ProductPrivatePart: int;
1233
- readonly ProductVersion: string | undefined;
1234
- readonly SpecialBuild: string | undefined;
1172
+ readonly ProductVersion: string | null;
1173
+ readonly SpecialBuild: string | null;
1235
1174
  ToString(): string;
1236
1175
  }
1237
1176
 
@@ -1301,7 +1240,7 @@ export interface Process$instance extends Component {
1301
1240
  readonly HasExited: boolean;
1302
1241
  readonly Id: int;
1303
1242
  readonly MachineName: string;
1304
- readonly MainModule: ProcessModule | undefined;
1243
+ readonly MainModule: ProcessModule | null;
1305
1244
  readonly MainWindowHandle: nint;
1306
1245
  readonly MainWindowTitle: string;
1307
1246
  MaxWorkingSet: nint;
@@ -1334,8 +1273,8 @@ export interface Process$instance extends Component {
1334
1273
  readonly StandardOutput: StreamReader;
1335
1274
  StartInfo: ProcessStartInfo;
1336
1275
  readonly StartTime: DateTime;
1337
- get SynchronizingObject(): ISynchronizeInvoke | undefined;
1338
- set SynchronizingObject(value: ISynchronizeInvoke | undefined);
1276
+ get SynchronizingObject(): ISynchronizeInvoke | null;
1277
+ set SynchronizingObject(value: ISynchronizeInvoke | null);
1339
1278
  readonly Threads: ProcessThreadCollection;
1340
1279
  readonly TotalProcessorTime: TimeSpan;
1341
1280
  readonly UserProcessorTime: TimeSpan;
@@ -1374,10 +1313,10 @@ export const Process: {
1374
1313
  GetProcessById(processId: int): Process;
1375
1314
  GetProcesses(): Process[];
1376
1315
  GetProcesses(machineName: string): Process[];
1377
- GetProcessesByName(processName: string, machineName: string): Process[];
1378
- GetProcessesByName(processName: string): Process[];
1316
+ GetProcessesByName(processName: string | null, machineName: string): Process[];
1317
+ GetProcessesByName(processName: string | null): Process[];
1379
1318
  LeaveDebugMode(): void;
1380
- Start(startInfo: ProcessStartInfo): Process | undefined;
1319
+ Start(startInfo: ProcessStartInfo): Process | null;
1381
1320
  Start(fileName: string, arguments: IEnumerable_1<System_Internal.String>): Process;
1382
1321
  Start(fileName: string, userName: string, password: SecureString, domain: string): Process;
1383
1322
  Start(fileName: string, arguments: string, userName: string, password: SecureString, domain: string): Process;
@@ -1455,25 +1394,25 @@ export interface ProcessStartInfo$instance {
1455
1394
  CreateNewProcessGroup: boolean;
1456
1395
  CreateNoWindow: boolean;
1457
1396
  Domain: string;
1458
- readonly Environment: IDictionary_2<System_Internal.String, string | undefined>;
1397
+ readonly Environment: IDictionary_2<System_Internal.String, string | null>;
1459
1398
  readonly EnvironmentVariables: StringDictionary;
1460
1399
  ErrorDialog: boolean;
1461
1400
  ErrorDialogParentHandle: nint;
1462
1401
  FileName: string;
1463
1402
  LoadUserProfile: boolean;
1464
- get Password(): SecureString | undefined;
1465
- set Password(value: SecureString | undefined);
1466
- get PasswordInClearText(): string | undefined;
1467
- set PasswordInClearText(value: string | undefined);
1403
+ get Password(): SecureString | null;
1404
+ set Password(value: SecureString | null);
1405
+ get PasswordInClearText(): string | null;
1406
+ set PasswordInClearText(value: string | null);
1468
1407
  RedirectStandardError: boolean;
1469
1408
  RedirectStandardInput: boolean;
1470
1409
  RedirectStandardOutput: boolean;
1471
- get StandardErrorEncoding(): Encoding | undefined;
1472
- set StandardErrorEncoding(value: Encoding | undefined);
1473
- get StandardInputEncoding(): Encoding | undefined;
1474
- set StandardInputEncoding(value: Encoding | undefined);
1475
- get StandardOutputEncoding(): Encoding | undefined;
1476
- set StandardOutputEncoding(value: Encoding | undefined);
1410
+ get StandardErrorEncoding(): Encoding | null;
1411
+ set StandardErrorEncoding(value: Encoding | null);
1412
+ get StandardInputEncoding(): Encoding | null;
1413
+ set StandardInputEncoding(value: Encoding | null);
1414
+ get StandardOutputEncoding(): Encoding | null;
1415
+ set StandardOutputEncoding(value: Encoding | null);
1477
1416
  UseCredentialsForNetworkingOnly: boolean;
1478
1417
  UserName: string;
1479
1418
  UseShellExecute: boolean;
@@ -1562,7 +1501,7 @@ export interface SourceFilter$instance extends TraceFilter {
1562
1501
  readonly __tsonic_type_System_Diagnostics_SourceFilter: never;
1563
1502
 
1564
1503
  Source: string;
1565
- ShouldTrace(cache: TraceEventCache, source: string, eventType: TraceEventType, id: int, formatOrMessage: string, args: unknown[], data1: unknown, data: unknown[]): boolean;
1504
+ ShouldTrace(cache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, formatOrMessage: string | null, args: (JsValue | null)[] | null, data1: JsValue | null, data: (JsValue | null)[] | null): boolean;
1566
1505
  }
1567
1506
 
1568
1507
 
@@ -1595,9 +1534,9 @@ export interface StackFrame$instance {
1595
1534
 
1596
1535
  GetFileColumnNumber(): int;
1597
1536
  GetFileLineNumber(): int;
1598
- GetFileName(): string | undefined;
1537
+ GetFileName(): string | null;
1599
1538
  GetILOffset(): int;
1600
- GetMethod(): MethodBase | undefined;
1539
+ GetMethod(): MethodBase | null;
1601
1540
  GetNativeOffset(): int;
1602
1541
  ToString(): string;
1603
1542
  }
@@ -1608,8 +1547,8 @@ export const StackFrame: {
1608
1547
  new(needFileInfo: boolean): StackFrame;
1609
1548
  new(skipFrames: int): StackFrame;
1610
1549
  new(skipFrames: int, needFileInfo: boolean): StackFrame;
1611
- new(fileName: string, lineNumber: int): StackFrame;
1612
- new(fileName: string, lineNumber: int, colNumber: int): StackFrame;
1550
+ new(fileName: string | null, lineNumber: int): StackFrame;
1551
+ new(fileName: string | null, lineNumber: int, colNumber: int): StackFrame;
1613
1552
  readonly OFFSET_UNKNOWN: int;
1614
1553
  };
1615
1554
 
@@ -1620,7 +1559,7 @@ export interface StackTrace$instance {
1620
1559
  readonly __tsonic_type_System_Diagnostics_StackTrace: never;
1621
1560
 
1622
1561
  readonly FrameCount: int;
1623
- GetFrame(index: int): StackFrame | undefined;
1562
+ GetFrame(index: int): StackFrame | null;
1624
1563
  GetFrames(): StackFrame[];
1625
1564
  ToString(): string;
1626
1565
  }
@@ -1692,14 +1631,14 @@ export interface Switch$instance {
1692
1631
  readonly Description: string;
1693
1632
  readonly DisplayName: string;
1694
1633
  Value: string;
1695
- GetSupportedAttributes(): string[] | undefined;
1634
+ GetSupportedAttributes(): string[] | null;
1696
1635
  OnSwitchSettingChanged(): void;
1697
1636
  OnValueChanged(): void;
1698
1637
  Refresh(): void;
1699
1638
  }
1700
1639
 
1701
1640
 
1702
- export const Switch: (abstract new(displayName: string, description: string) => Switch) & (abstract new(displayName: string, description: string, defaultSwitchValue: string) => Switch) & {
1641
+ export const Switch: (abstract new(displayName: string, description: string | null) => Switch) & (abstract new(displayName: string, description: string | null, defaultSwitchValue: string) => Switch) & {
1703
1642
  };
1704
1643
 
1705
1644
 
@@ -1708,8 +1647,8 @@ export type Switch = Switch$instance;
1708
1647
  export interface SwitchAttribute$instance extends Attribute {
1709
1648
  readonly __tsonic_type_System_Diagnostics_SwitchAttribute: never;
1710
1649
 
1711
- get SwitchDescription(): string | undefined;
1712
- set SwitchDescription(value: string | undefined);
1650
+ get SwitchDescription(): string | null;
1651
+ set SwitchDescription(value: string | null);
1713
1652
  SwitchName: string;
1714
1653
  SwitchType: Type;
1715
1654
  }
@@ -1742,31 +1681,31 @@ export interface TextWriterTraceListener$instance extends TraceListener$instance
1742
1681
 
1743
1682
  readonly __tsonic_iface_System_IDisposable: never;
1744
1683
 
1745
- get Writer(): TextWriter | undefined;
1746
- set Writer(value: TextWriter | undefined);
1684
+ get Writer(): TextWriter | null;
1685
+ set Writer(value: TextWriter | null);
1747
1686
  Close(): void;
1748
1687
  Dispose(disposing: boolean): void;
1749
1688
  Dispose(): void;
1750
1689
  Flush(): void;
1751
- Write(message: string): void;
1752
- Write(o: unknown): void;
1753
- Write(message: string, category: string): void;
1754
- Write(o: unknown, category: string): void;
1755
- WriteLine(message: string): void;
1756
- WriteLine(o: unknown): void;
1757
- WriteLine(message: string, category: string): void;
1758
- WriteLine(o: unknown, category: string): void;
1690
+ Write(message: string | null): void;
1691
+ Write(o: JsValue | null): void;
1692
+ Write(message: string | null, category: string | null): void;
1693
+ Write(o: JsValue | null, category: string | null): void;
1694
+ WriteLine(message: string | null): void;
1695
+ WriteLine(o: JsValue | null): void;
1696
+ WriteLine(message: string | null, category: string | null): void;
1697
+ WriteLine(o: JsValue | null, category: string | null): void;
1759
1698
  }
1760
1699
 
1761
1700
 
1762
1701
  export const TextWriterTraceListener: {
1763
1702
  new(): TextWriterTraceListener;
1764
1703
  new(stream: Stream): TextWriterTraceListener;
1765
- new(stream: Stream, name: string): TextWriterTraceListener;
1704
+ new(stream: Stream, name: string | null): TextWriterTraceListener;
1766
1705
  new(writer: TextWriter): TextWriterTraceListener;
1767
- new(writer: TextWriter, name: string): TextWriterTraceListener;
1768
- new(fileName: string): TextWriterTraceListener;
1769
- new(fileName: string, name: string): TextWriterTraceListener;
1706
+ new(writer: TextWriter, name: string | null): TextWriterTraceListener;
1707
+ new(fileName: string | null): TextWriterTraceListener;
1708
+ new(fileName: string | null, name: string | null): TextWriterTraceListener;
1770
1709
  };
1771
1710
 
1772
1711
 
@@ -1790,38 +1729,38 @@ export const Trace: {
1790
1729
  UseGlobalLock: boolean;
1791
1730
  IndentLevel: int;
1792
1731
  IndentSize: int;
1793
- Assert(condition: boolean, message: string, detailMessage: string): void;
1794
- Assert(condition: boolean, message?: string): void;
1732
+ Assert(condition: boolean, message: string | null, detailMessage: string | null): void;
1733
+ Assert(condition: boolean, message?: string | null): void;
1795
1734
  Assert(condition: boolean): void;
1796
1735
  Close(): void;
1797
- Fail(message: string, detailMessage: string): void;
1798
- Fail(message: string): void;
1736
+ Fail(message: string | null, detailMessage: string | null): void;
1737
+ Fail(message: string | null): void;
1799
1738
  Flush(): void;
1800
1739
  Indent(): void;
1801
1740
  Refresh(): void;
1802
- TraceError(format: string, ...args: unknown[]): void;
1803
- TraceError(message: string): void;
1804
- TraceInformation(format: string, ...args: unknown[]): void;
1805
- TraceInformation(message: string): void;
1806
- TraceWarning(format: string, ...args: unknown[]): void;
1807
- TraceWarning(message: string): void;
1741
+ TraceError(format: string, ...args: (JsValue | null)[] | null): void;
1742
+ TraceError(message: string | null): void;
1743
+ TraceInformation(format: string, ...args: (JsValue | null)[] | null): void;
1744
+ TraceInformation(message: string | null): void;
1745
+ TraceWarning(format: string, ...args: (JsValue | null)[] | null): void;
1746
+ TraceWarning(message: string | null): void;
1808
1747
  Unindent(): void;
1809
- Write(value: unknown, category: string): void;
1810
- Write(value: unknown): void;
1811
- Write(message: string, category: string): void;
1812
- Write(message: string): void;
1813
- WriteIf(condition: boolean, value: unknown, category: string): void;
1814
- WriteIf(condition: boolean, value: unknown): void;
1815
- WriteIf(condition: boolean, message: string, category: string): void;
1816
- WriteIf(condition: boolean, message: string): void;
1817
- WriteLine(value: unknown, category: string): void;
1818
- WriteLine(value: unknown): void;
1819
- WriteLine(message: string, category: string): void;
1820
- WriteLine(message: string): void;
1821
- WriteLineIf(condition: boolean, value: unknown, category: string): void;
1822
- WriteLineIf(condition: boolean, value: unknown): void;
1823
- WriteLineIf(condition: boolean, message: string, category: string): void;
1824
- WriteLineIf(condition: boolean, message: string): void;
1748
+ Write(value: JsValue | null, category: string | null): void;
1749
+ Write(value: JsValue | null): void;
1750
+ Write(message: string | null, category: string | null): void;
1751
+ Write(message: string | null): void;
1752
+ WriteIf(condition: boolean, value: JsValue | null, category: string | null): void;
1753
+ WriteIf(condition: boolean, value: JsValue | null): void;
1754
+ WriteIf(condition: boolean, message: string | null, category: string | null): void;
1755
+ WriteIf(condition: boolean, message: string | null): void;
1756
+ WriteLine(value: JsValue | null, category: string | null): void;
1757
+ WriteLine(value: JsValue | null): void;
1758
+ WriteLine(message: string | null, category: string | null): void;
1759
+ WriteLine(message: string | null): void;
1760
+ WriteLineIf(condition: boolean, value: JsValue | null, category: string | null): void;
1761
+ WriteLineIf(condition: boolean, value: JsValue | null): void;
1762
+ WriteLineIf(condition: boolean, message: string | null, category: string | null): void;
1763
+ WriteLineIf(condition: boolean, message: string | null): void;
1825
1764
  };
1826
1765
 
1827
1766
 
@@ -1849,7 +1788,7 @@ export type TraceEventCache = TraceEventCache$instance;
1849
1788
  export interface TraceFilter$instance {
1850
1789
  readonly __tsonic_type_System_Diagnostics_TraceFilter: never;
1851
1790
 
1852
- ShouldTrace(cache: TraceEventCache, source: string, eventType: TraceEventType, id: int, formatOrMessage: string, args: unknown[], data1: unknown, data: unknown[]): boolean;
1791
+ ShouldTrace(cache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, formatOrMessage: string | null, args: (JsValue | null)[] | null, data1: JsValue | null, data: (JsValue | null)[] | null): boolean;
1853
1792
  }
1854
1793
 
1855
1794
 
@@ -1865,8 +1804,8 @@ export interface TraceListener$instance extends MarshalByRefObject {
1865
1804
  readonly __tsonic_iface_System_IDisposable: never;
1866
1805
 
1867
1806
  readonly Attributes: StringDictionary;
1868
- get Filter(): TraceFilter | undefined;
1869
- set Filter(value: TraceFilter | undefined);
1807
+ get Filter(): TraceFilter | null;
1808
+ set Filter(value: TraceFilter | null);
1870
1809
  IndentLevel: int;
1871
1810
  IndentSize: int;
1872
1811
  readonly IsThreadSafe: boolean;
@@ -1875,29 +1814,29 @@ export interface TraceListener$instance extends MarshalByRefObject {
1875
1814
  Close(): void;
1876
1815
  Dispose(): void;
1877
1816
  Dispose(disposing: boolean): void;
1878
- Fail(message: string): void;
1879
- Fail(message: string, detailMessage: string): void;
1817
+ Fail(message: string | null): void;
1818
+ Fail(message: string | null, detailMessage: string | null): void;
1880
1819
  Flush(): void;
1881
- GetSupportedAttributes(): string[] | undefined;
1882
- TraceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, data: unknown): void;
1883
- TraceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, ...data: unknown[]): void;
1884
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int): void;
1885
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, message: string): void;
1886
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, format: string, ...args: unknown[]): void;
1887
- TraceTransfer(eventCache: TraceEventCache, source: string, id: int, message: string, relatedActivityId: Guid): void;
1888
- Write(message: string): void;
1889
- Write(o: unknown): void;
1890
- Write(message: string, category: string): void;
1891
- Write(o: unknown, category: string): void;
1820
+ GetSupportedAttributes(): string[] | null;
1821
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, data: JsValue | null): void;
1822
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, ...data: (JsValue | null)[] | null): void;
1823
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int): void;
1824
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, message: string | null): void;
1825
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, format: string | null, ...args: (JsValue | null)[] | null): void;
1826
+ TraceTransfer(eventCache: TraceEventCache | null, source: string, id: int, message: string | null, relatedActivityId: Guid): void;
1827
+ Write(message: string | null): void;
1828
+ Write(o: JsValue | null): void;
1829
+ Write(message: string | null, category: string | null): void;
1830
+ Write(o: JsValue | null, category: string | null): void;
1892
1831
  WriteIndent(): void;
1893
- WriteLine(message: string): void;
1894
- WriteLine(o: unknown): void;
1895
- WriteLine(message: string, category: string): void;
1896
- WriteLine(o: unknown, category: string): void;
1832
+ WriteLine(message: string | null): void;
1833
+ WriteLine(o: JsValue | null): void;
1834
+ WriteLine(message: string | null, category: string | null): void;
1835
+ WriteLine(o: JsValue | null, category: string | null): void;
1897
1836
  }
1898
1837
 
1899
1838
 
1900
- export const TraceListener: (abstract new() => TraceListener) & (abstract new(name: string) => TraceListener) & {
1839
+ export const TraceListener: (abstract new() => TraceListener) & (abstract new(name: string | null) => TraceListener) & {
1901
1840
  };
1902
1841
 
1903
1842
 
@@ -1920,14 +1859,14 @@ export interface TraceListenerCollection$instance {
1920
1859
  AddRange(value: TraceListener[]): void;
1921
1860
  AddRange(value: TraceListenerCollection): void;
1922
1861
  Clear(): void;
1923
- Contains(listener: TraceListener): boolean;
1862
+ Contains(listener: TraceListener | null): boolean;
1924
1863
  CopyTo(listeners: TraceListener[], index: int): void;
1925
1864
  get_Item(i: int): TraceListener;
1926
- get_Item(name: string): TraceListener | undefined;
1865
+ get_Item(name: string): TraceListener | null;
1927
1866
  GetEnumerator(): IEnumerator;
1928
- IndexOf(listener: TraceListener): int;
1867
+ IndexOf(listener: TraceListener | null): int;
1929
1868
  Insert(index: int, listener: TraceListener): void;
1930
- Remove(listener: TraceListener): void;
1869
+ Remove(listener: TraceListener | null): void;
1931
1870
  Remove(name: string): void;
1932
1871
  RemoveAt(index: int): void;
1933
1872
  set_Item(i: int, value: TraceListener): void;
@@ -1957,15 +1896,15 @@ export interface TraceSource$instance {
1957
1896
  Switch: SourceSwitch;
1958
1897
  Close(): void;
1959
1898
  Flush(): void;
1960
- GetSupportedAttributes(): string[] | undefined;
1961
- TraceData(eventType: TraceEventType, id: int, data: unknown): void;
1962
- TraceData(eventType: TraceEventType, id: int, ...data: unknown[]): void;
1899
+ GetSupportedAttributes(): string[] | null;
1900
+ TraceData(eventType: TraceEventType, id: int, data: JsValue | null): void;
1901
+ TraceData(eventType: TraceEventType, id: int, ...data: (JsValue | null)[] | null): void;
1963
1902
  TraceEvent(eventType: TraceEventType, id: int): void;
1964
- TraceEvent(eventType: TraceEventType, id: int, message: string): void;
1965
- TraceEvent(eventType: TraceEventType, id: int, format: string, ...args: unknown[]): void;
1966
- TraceInformation(message: string): void;
1967
- TraceInformation(format: string, ...args: unknown[]): void;
1968
- TraceTransfer(id: int, message: string, relatedActivityId: Guid): void;
1903
+ TraceEvent(eventType: TraceEventType, id: int, message: string | null): void;
1904
+ TraceEvent(eventType: TraceEventType, id: int, format: string | null, ...args: (JsValue | null)[] | null): void;
1905
+ TraceInformation(message: string | null): void;
1906
+ TraceInformation(format: string | null, ...args: (JsValue | null)[] | null): void;
1907
+ TraceTransfer(id: int, message: string | null, relatedActivityId: Guid): void;
1969
1908
  }
1970
1909
 
1971
1910
 
@@ -1991,8 +1930,8 @@ export interface TraceSwitch$instance extends Switch {
1991
1930
 
1992
1931
 
1993
1932
  export const TraceSwitch: {
1994
- new(displayName: string, description: string): TraceSwitch;
1995
- new(displayName: string, description: string, defaultSwitchValue: string): TraceSwitch;
1933
+ new(displayName: string, description: string | null): TraceSwitch;
1934
+ new(displayName: string, description: string | null, defaultSwitchValue: string): TraceSwitch;
1996
1935
  };
1997
1936
 
1998
1937
 
@@ -2008,8 +1947,8 @@ export interface UnreachableException$instance extends Exception, System_Runtime
2008
1947
 
2009
1948
  export const UnreachableException: {
2010
1949
  new(): UnreachableException;
2011
- new(message: string): UnreachableException;
2012
- new(message: string, innerException: Exception): UnreachableException;
1950
+ new(message: string | null): UnreachableException;
1951
+ new(message: string | null, innerException: Exception | null): UnreachableException;
2013
1952
  };
2014
1953
 
2015
1954
 
@@ -2026,32 +1965,32 @@ export interface XmlWriterTraceListener$instance extends TextWriterTraceListener
2026
1965
  readonly __tsonic_iface_System_IDisposable: never;
2027
1966
 
2028
1967
  Close(): void;
2029
- Fail(message: string, detailMessage: string): void;
2030
- Fail(message: string): void;
2031
- TraceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, data: unknown): void;
2032
- TraceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, ...data: unknown[]): void;
2033
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, format: string, ...args: unknown[]): void;
2034
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, message: string): void;
2035
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int): void;
2036
- TraceTransfer(eventCache: TraceEventCache, source: string, id: int, message: string, relatedActivityId: Guid): void;
2037
- Write(message: string): void;
2038
- Write(o: unknown): void;
2039
- Write(message: string, category: string): void;
2040
- Write(o: unknown, category: string): void;
2041
- WriteLine(message: string): void;
2042
- WriteLine(o: unknown): void;
2043
- WriteLine(message: string, category: string): void;
2044
- WriteLine(o: unknown, category: string): void;
1968
+ Fail(message: string | null, detailMessage: string | null): void;
1969
+ Fail(message: string | null): void;
1970
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, data: JsValue | null): void;
1971
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, ...data: (JsValue | null)[] | null): void;
1972
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, format: string | null, ...args: (JsValue | null)[] | null): void;
1973
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, message: string | null): void;
1974
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int): void;
1975
+ TraceTransfer(eventCache: TraceEventCache | null, source: string, id: int, message: string | null, relatedActivityId: Guid): void;
1976
+ Write(message: string | null): void;
1977
+ Write(o: JsValue | null): void;
1978
+ Write(message: string | null, category: string | null): void;
1979
+ Write(o: JsValue | null, category: string | null): void;
1980
+ WriteLine(message: string | null): void;
1981
+ WriteLine(o: JsValue | null): void;
1982
+ WriteLine(message: string | null, category: string | null): void;
1983
+ WriteLine(o: JsValue | null, category: string | null): void;
2045
1984
  }
2046
1985
 
2047
1986
 
2048
1987
  export const XmlWriterTraceListener: {
2049
1988
  new(stream: Stream): XmlWriterTraceListener;
2050
- new(stream: Stream, name: string): XmlWriterTraceListener;
1989
+ new(stream: Stream, name: string | null): XmlWriterTraceListener;
2051
1990
  new(writer: TextWriter): XmlWriterTraceListener;
2052
- new(writer: TextWriter, name: string): XmlWriterTraceListener;
2053
- new(filename: string): XmlWriterTraceListener;
2054
- new(filename: string, name: string): XmlWriterTraceListener;
1991
+ new(writer: TextWriter, name: string | null): XmlWriterTraceListener;
1992
+ new(filename: string | null): XmlWriterTraceListener;
1993
+ new(filename: string | null, name: string | null): XmlWriterTraceListener;
2055
1994
  };
2056
1995
 
2057
1996
 
@@ -2068,53 +2007,99 @@ export abstract class Debug$instance {
2068
2007
  static IndentSize: int;
2069
2008
  static Assert(condition: boolean, message: Debug_AssertInterpolatedStringHandler, detailMessage: Debug_AssertInterpolatedStringHandler): void;
2070
2009
  static Assert(condition: boolean, message: Debug_AssertInterpolatedStringHandler): void;
2071
- static Assert(condition: boolean, message: string, detailMessageFormat: string, ...args: unknown[]): void;
2072
- static Assert(condition: boolean, message: string, detailMessage: string): void;
2073
- static Assert(condition: boolean, message?: string): void;
2010
+ static Assert(condition: boolean, message: string | null, detailMessageFormat: string, ...args: (JsValue | null)[]): void;
2011
+ static Assert(condition: boolean, message: string | null, detailMessage: string | null): void;
2012
+ static Assert(condition: boolean, message?: string | null): void;
2074
2013
  static Assert(condition: boolean): void;
2075
2014
  static Close(): void;
2076
- static Fail(message: string, detailMessage: string): void;
2077
- static Fail(message: string): void;
2015
+ static Fail(message: string | null, detailMessage: string | null): void;
2016
+ static Fail(message: string | null): void;
2078
2017
  static Flush(): void;
2079
2018
  static Indent(): void;
2080
- static Print(format: string, ...args: unknown[]): void;
2081
- static Print(message: string): void;
2019
+ static Print(format: string, ...args: (JsValue | null)[]): void;
2020
+ static Print(message: string | null): void;
2082
2021
  static SetProvider(provider: DebugProvider): DebugProvider;
2083
2022
  static Unindent(): void;
2084
- static Write(value: unknown, category: string): void;
2085
- static Write(value: unknown): void;
2086
- static Write(message: string, category: string): void;
2087
- static Write(message: string): void;
2088
- static WriteIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler, category: string): void;
2023
+ static Write(value: JsValue | null, category: string | null): void;
2024
+ static Write(value: JsValue | null): void;
2025
+ static Write(message: string | null, category: string | null): void;
2026
+ static Write(message: string | null): void;
2027
+ static WriteIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler, category: string | null): void;
2089
2028
  static WriteIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler): void;
2090
- static WriteIf(condition: boolean, value: unknown, category: string): void;
2091
- static WriteIf(condition: boolean, value: unknown): void;
2092
- static WriteIf(condition: boolean, message: string, category: string): void;
2093
- static WriteIf(condition: boolean, message: string): void;
2094
- static WriteLine(value: unknown, category: string): void;
2095
- static WriteLine(value: unknown): void;
2096
- static WriteLine(format: string, ...args: unknown[]): void;
2097
- static WriteLine(message: string, category: string): void;
2098
- static WriteLine(message: string): void;
2099
- static WriteLineIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler, category: string): void;
2029
+ static WriteIf(condition: boolean, value: JsValue | null, category: string | null): void;
2030
+ static WriteIf(condition: boolean, value: JsValue | null): void;
2031
+ static WriteIf(condition: boolean, message: string | null, category: string | null): void;
2032
+ static WriteIf(condition: boolean, message: string | null): void;
2033
+ static WriteLine(value: JsValue | null, category: string | null): void;
2034
+ static WriteLine(value: JsValue | null): void;
2035
+ static WriteLine(format: string, ...args: (JsValue | null)[]): void;
2036
+ static WriteLine(message: string | null, category: string | null): void;
2037
+ static WriteLine(message: string | null): void;
2038
+ static WriteLineIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler, category: string | null): void;
2100
2039
  static WriteLineIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler): void;
2101
- static WriteLineIf(condition: boolean, value: unknown, category: string): void;
2102
- static WriteLineIf(condition: boolean, value: unknown): void;
2103
- static WriteLineIf(condition: boolean, message: string, category: string): void;
2104
- static WriteLineIf(condition: boolean, message: string): void;
2040
+ static WriteLineIf(condition: boolean, value: JsValue | null, category: string | null): void;
2041
+ static WriteLineIf(condition: boolean, value: JsValue | null): void;
2042
+ static WriteLineIf(condition: boolean, message: string | null, category: string | null): void;
2043
+ static WriteLineIf(condition: boolean, message: string | null): void;
2105
2044
  }
2106
2045
 
2107
2046
 
2108
2047
  export type Debug = Debug$instance;
2109
2048
 
2049
+ export interface Debug_AssertInterpolatedStringHandler$instance {
2050
+ readonly __tsonic_type_System_Diagnostics_Debug_AssertInterpolatedStringHandler: never;
2051
+
2052
+ AppendFormatted<T>(value: T): void;
2053
+ AppendFormatted<T>(value: T, format: string | null): void;
2054
+ AppendFormatted<T>(value: T, alignment: int): void;
2055
+ AppendFormatted<T>(value: T, alignment: int, format: string | null): void;
2056
+ AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): void;
2057
+ AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string | null): void;
2058
+ AppendFormatted(value: string | null): void;
2059
+ AppendFormatted(value: string | null, alignment?: int, format?: string | null): void;
2060
+ AppendFormatted(value: JsValue | null, alignment?: int, format?: string | null): void;
2061
+ AppendLiteral(value: string): void;
2062
+ }
2063
+
2064
+
2065
+ export const Debug_AssertInterpolatedStringHandler: {
2066
+ new(literalLength: int, formattedCount: int, condition: boolean, shouldAppend: boolean): Debug_AssertInterpolatedStringHandler;
2067
+ };
2068
+
2069
+
2070
+ export type Debug_AssertInterpolatedStringHandler = Debug_AssertInterpolatedStringHandler$instance;
2071
+
2072
+ export interface Debug_WriteIfInterpolatedStringHandler$instance {
2073
+ readonly __tsonic_type_System_Diagnostics_Debug_WriteIfInterpolatedStringHandler: never;
2074
+
2075
+ AppendFormatted<T>(value: T): void;
2076
+ AppendFormatted<T>(value: T, format: string | null): void;
2077
+ AppendFormatted<T>(value: T, alignment: int): void;
2078
+ AppendFormatted<T>(value: T, alignment: int, format: string | null): void;
2079
+ AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): void;
2080
+ AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string | null): void;
2081
+ AppendFormatted(value: string | null): void;
2082
+ AppendFormatted(value: string | null, alignment?: int, format?: string | null): void;
2083
+ AppendFormatted(value: JsValue | null, alignment?: int, format?: string | null): void;
2084
+ AppendLiteral(value: string): void;
2085
+ }
2086
+
2087
+
2088
+ export const Debug_WriteIfInterpolatedStringHandler: {
2089
+ new(literalLength: int, formattedCount: int, condition: boolean, shouldAppend: boolean): Debug_WriteIfInterpolatedStringHandler;
2090
+ };
2091
+
2092
+
2093
+ export type Debug_WriteIfInterpolatedStringHandler = Debug_WriteIfInterpolatedStringHandler$instance;
2094
+
2110
2095
  export abstract class Debugger$instance {
2111
- static readonly DefaultCategory: string | undefined;
2096
+ static readonly DefaultCategory: string | null;
2112
2097
  static readonly IsAttached: boolean;
2113
2098
  static Break(): void;
2114
2099
  static BreakForUserUnhandledException(exception: Exception): void;
2115
2100
  static IsLogging(): boolean;
2116
2101
  static Launch(): boolean;
2117
- static Log(level: int, category: string, message: string): void;
2102
+ static Log(level: int, category: string | null, message: string | null): void;
2118
2103
  static NotifyOfCrossThreadDependency(): void;
2119
2104
  }
2120
2105