@tsonic/dotnet 10.0.40 → 10.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/Internal/internal/index.d.ts +4 -3
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
  3. package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
  4. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
  5. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
  6. package/Microsoft.Win32/internal/index.d.ts +19 -18
  7. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
  8. package/README.md +76 -104
  9. package/System/bindings.json +1520 -2039
  10. package/System/internal/index.d.ts +1549 -1602
  11. package/System.Buffers/bindings.json +12 -3
  12. package/System.Buffers/internal/index.d.ts +12 -14
  13. package/System.Buffers.Binary/internal/index.d.ts +2 -4
  14. package/System.Buffers.Text/internal/index.d.ts +2 -4
  15. package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
  16. package/System.Collections/internal/index.d.ts +129 -131
  17. package/System.Collections.Concurrent/bindings.json +218 -218
  18. package/System.Collections.Concurrent/internal/index.d.ts +34 -36
  19. package/System.Collections.Frozen/bindings.json +413 -611
  20. package/System.Collections.Frozen/internal/index.d.ts +81 -97
  21. package/System.Collections.Frozen.d.ts +14 -2
  22. package/System.Collections.Generic/bindings.json +9420 -14155
  23. package/System.Collections.Generic/internal/index.d.ts +547 -758
  24. package/System.Collections.Generic.d.ts +1 -1
  25. package/System.Collections.Immutable/bindings.json +6000 -9080
  26. package/System.Collections.Immutable/internal/index.d.ts +265 -354
  27. package/System.Collections.Immutable.d.ts +49 -12
  28. package/System.Collections.ObjectModel/bindings.json +132 -654
  29. package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
  30. package/System.Collections.Specialized/bindings.json +0 -123
  31. package/System.Collections.Specialized/internal/index.d.ts +88 -101
  32. package/System.ComponentModel/bindings.json +163 -102
  33. package/System.ComponentModel/internal/index.d.ts +618 -608
  34. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
  35. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
  36. package/System.ComponentModel.Design/bindings.json +22 -292
  37. package/System.ComponentModel.Design/internal/index.d.ts +101 -109
  38. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
  39. package/System.ComponentModel.d.ts +1 -0
  40. package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
  41. package/System.Data/bindings.json +4 -1
  42. package/System.Data/internal/index.d.ts +351 -350
  43. package/System.Data.Common/internal/index.d.ts +151 -152
  44. package/System.Data.SqlTypes/internal/index.d.ts +68 -67
  45. package/System.Diagnostics/bindings.json +7044 -7249
  46. package/System.Diagnostics/internal/index.d.ts +446 -461
  47. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
  48. package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
  49. package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
  50. package/System.Diagnostics.Metrics.d.ts +1 -1
  51. package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
  52. package/System.Diagnostics.Tracing/bindings.json +81 -21
  53. package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
  54. package/System.Diagnostics.Tracing.d.ts +2 -1
  55. package/System.Drawing/internal/index.d.ts +76 -75
  56. package/System.Dynamic/internal/index.d.ts +55 -57
  57. package/System.Formats.Asn1/bindings.json +48 -69
  58. package/System.Formats.Asn1/internal/index.d.ts +21 -28
  59. package/System.Formats.Tar/internal/index.d.ts +8 -7
  60. package/System.Globalization/internal/index.d.ts +40 -42
  61. package/System.IO/internal/index.d.ts +187 -189
  62. package/System.IO.Compression/internal/index.d.ts +29 -31
  63. package/System.IO.Enumeration/bindings.json +250 -250
  64. package/System.IO.Enumeration/internal/index.d.ts +15 -17
  65. package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
  66. package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
  67. package/System.IO.Pipelines/internal/index.d.ts +15 -17
  68. package/System.IO.Pipes/internal/index.d.ts +8 -7
  69. package/System.Linq/internal/index.d.ts +223 -225
  70. package/System.Linq.Expressions/internal/index.d.ts +205 -207
  71. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
  72. package/System.Net/bindings.json +104 -104
  73. package/System.Net/internal/index.d.ts +279 -281
  74. package/System.Net.Cache/internal/index.d.ts +3 -2
  75. package/System.Net.Http/internal/index.d.ts +128 -130
  76. package/System.Net.Http.Headers/bindings.json +0 -204
  77. package/System.Net.Http.Headers/internal/index.d.ts +111 -127
  78. package/System.Net.Http.Json/internal/index.d.ts +67 -69
  79. package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
  80. package/System.Net.Mail/internal/index.d.ts +76 -78
  81. package/System.Net.Mime/internal/index.d.ts +11 -10
  82. package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
  83. package/System.Net.Quic/internal/index.d.ts +10 -9
  84. package/System.Net.Security/internal/index.d.ts +87 -89
  85. package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
  86. package/System.Net.Sockets/internal/index.d.ts +91 -93
  87. package/System.Net.WebSockets/internal/index.d.ts +47 -46
  88. package/System.Numerics/bindings.json +544 -116
  89. package/System.Numerics/internal/index.d.ts +110 -112
  90. package/System.Reflection/internal/index.d.ts +270 -272
  91. package/System.Reflection.Emit/internal/index.d.ts +114 -116
  92. package/System.Reflection.Metadata/bindings.json +166 -3169
  93. package/System.Reflection.Metadata/internal/index.d.ts +154 -361
  94. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
  95. package/System.Reflection.PortableExecutable/bindings.json +58 -0
  96. package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
  97. package/System.Reflection.PortableExecutable.d.ts +1 -0
  98. package/System.Resources/internal/index.d.ts +33 -35
  99. package/System.Runtime/internal/index.d.ts +12 -11
  100. package/System.Runtime.CompilerServices/bindings.json +519 -717
  101. package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
  102. package/System.Runtime.CompilerServices.d.ts +14 -4
  103. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
  104. package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
  105. package/System.Runtime.InteropServices/bindings.json +101 -101
  106. package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
  107. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
  108. package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
  109. package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
  110. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
  111. package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
  112. package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
  113. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
  114. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
  115. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
  116. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
  117. package/System.Runtime.InteropServices.Swift.d.ts +1 -1
  118. package/System.Runtime.Intrinsics/bindings.json +64 -16
  119. package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
  120. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
  121. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
  122. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
  123. package/System.Runtime.Loader/bindings.json +48 -69
  124. package/System.Runtime.Loader/internal/index.d.ts +30 -34
  125. package/System.Runtime.Remoting/internal/index.d.ts +5 -4
  126. package/System.Runtime.Serialization/internal/index.d.ts +175 -177
  127. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
  128. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
  129. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
  130. package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
  131. package/System.Runtime.Versioning/internal/index.d.ts +20 -19
  132. package/System.Security/internal/index.d.ts +64 -66
  133. package/System.Security.AccessControl/bindings.json +104 -0
  134. package/System.Security.AccessControl/internal/index.d.ts +59 -58
  135. package/System.Security.AccessControl.d.ts +6 -5
  136. package/System.Security.Authentication/internal/index.d.ts +7 -6
  137. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
  138. package/System.Security.Claims/internal/index.d.ts +45 -44
  139. package/System.Security.Cryptography/bindings.json +469 -469
  140. package/System.Security.Cryptography/internal/index.d.ts +269 -271
  141. package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
  142. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
  143. package/System.Security.Permissions/internal/index.d.ts +5 -4
  144. package/System.Security.Policy/internal/index.d.ts +11 -10
  145. package/System.Security.Principal/internal/index.d.ts +28 -27
  146. package/System.Text/bindings.json +1562 -1562
  147. package/System.Text/internal/index.d.ts +119 -121
  148. package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
  149. package/System.Text.Json/bindings.json +0 -290
  150. package/System.Text.Json/internal/index.d.ts +135 -153
  151. package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
  152. package/System.Text.Json.Schema/internal/index.d.ts +9 -8
  153. package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
  154. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
  155. package/System.Text.Json.Serialization.d.ts +1 -1
  156. package/System.Text.RegularExpressions/bindings.json +198 -402
  157. package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
  158. package/System.Text.Unicode/bindings.json +508 -508
  159. package/System.Text.Unicode/internal/index.d.ts +29 -31
  160. package/System.Threading/bindings.json +42 -42
  161. package/System.Threading/internal/index.d.ts +157 -159
  162. package/System.Threading.Channels/internal/index.d.ts +10 -12
  163. package/System.Threading.Tasks/bindings.json +4 -1
  164. package/System.Threading.Tasks/internal/index.d.ts +115 -114
  165. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
  166. package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
  167. package/System.Timers/internal/index.d.ts +8 -7
  168. package/System.Transactions/internal/index.d.ts +31 -30
  169. package/System.Web/internal/index.d.ts +32 -31
  170. package/System.Windows.Input/internal/index.d.ts +5 -4
  171. package/System.Windows.Markup/internal/index.d.ts +3 -2
  172. package/System.Xml/internal/index.d.ts +383 -385
  173. package/System.Xml.Linq/internal/index.d.ts +103 -102
  174. package/System.Xml.Resolvers/internal/index.d.ts +10 -9
  175. package/System.Xml.Schema/bindings.json +76 -76
  176. package/System.Xml.Schema/internal/index.d.ts +233 -232
  177. package/System.Xml.Serialization/bindings.json +193 -0
  178. package/System.Xml.Serialization/internal/index.d.ts +277 -245
  179. package/System.Xml.Serialization.d.ts +2 -0
  180. package/System.Xml.XPath/internal/index.d.ts +46 -45
  181. package/System.Xml.Xsl/internal/index.d.ts +53 -52
  182. package/System.Xml.Xsl.Runtime/bindings.json +4 -1
  183. package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
  184. package/System.d.ts +2 -2
  185. package/__internal/extensions/index.d.ts +517 -515
  186. package/families.json +63 -7
  187. package/package.json +2 -2
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.ComponentModel.Design
3
3
  // Assembly: System.ComponentModel.TypeConverter
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import * as System_Collections_Internal from "../../System.Collections/internal/index.js";
@@ -58,35 +59,35 @@ export enum ViewTechnology {
58
59
  }
59
60
 
60
61
 
61
- export type ActiveDesignerEventHandler = (sender: unknown, e: ActiveDesignerEventArgs) => void;
62
+ export type ActiveDesignerEventHandler = (sender: JsValue | null, e: ActiveDesignerEventArgs) => void;
62
63
 
63
64
 
64
- export type ComponentChangedEventHandler = (sender: unknown, e: ComponentChangedEventArgs) => void;
65
+ export type ComponentChangedEventHandler = (sender: JsValue | null, e: ComponentChangedEventArgs) => void;
65
66
 
66
67
 
67
- export type ComponentChangingEventHandler = (sender: unknown, e: ComponentChangingEventArgs) => void;
68
+ export type ComponentChangingEventHandler = (sender: JsValue | null, e: ComponentChangingEventArgs) => void;
68
69
 
69
70
 
70
- export type ComponentEventHandler = (sender: unknown, e: ComponentEventArgs) => void;
71
+ export type ComponentEventHandler = (sender: JsValue | null, e: ComponentEventArgs) => void;
71
72
 
72
73
 
73
- export type ComponentRenameEventHandler = (sender: unknown, e: ComponentRenameEventArgs) => void;
74
+ export type ComponentRenameEventHandler = (sender: JsValue | null, e: ComponentRenameEventArgs) => void;
74
75
 
75
76
 
76
- export type DesignerEventHandler = (sender: unknown, e: DesignerEventArgs) => void;
77
+ export type DesignerEventHandler = (sender: JsValue | null, e: DesignerEventArgs) => void;
77
78
 
78
79
 
79
- export type DesignerTransactionCloseEventHandler = (sender: unknown, e: DesignerTransactionCloseEventArgs) => void;
80
+ export type DesignerTransactionCloseEventHandler = (sender: JsValue | null, e: DesignerTransactionCloseEventArgs) => void;
80
81
 
81
82
 
82
- export type ServiceCreatorCallback = (container: IServiceContainer, serviceType: Type) => unknown | undefined;
83
+ export type ServiceCreatorCallback = (container: IServiceContainer, serviceType: Type) => JsValue | null;
83
84
 
84
85
 
85
86
  export interface IComponentChangeService$instance {
86
87
  readonly __tsonic_iface_System_ComponentModel_Design_IComponentChangeService: never;
87
88
 
88
- OnComponentChanged(component: unknown, member: MemberDescriptor, oldValue: unknown, newValue: unknown): void;
89
- OnComponentChanging(component: unknown, member: MemberDescriptor): void;
89
+ OnComponentChanged(component: JsValue, member: MemberDescriptor | null, oldValue: JsValue | null, newValue: JsValue | null): void;
90
+ OnComponentChanging(component: JsValue, member: MemberDescriptor | null): void;
90
91
  }
91
92
 
92
93
 
@@ -95,7 +96,7 @@ export type IComponentChangeService = IComponentChangeService$instance;
95
96
  export interface IComponentDiscoveryService$instance {
96
97
  readonly __tsonic_iface_System_ComponentModel_Design_IComponentDiscoveryService: never;
97
98
 
98
- GetComponentTypes(designerHost: IDesignerHost, baseType: Type): ICollection;
99
+ GetComponentTypes(designerHost: IDesignerHost | null, baseType: Type | null): ICollection;
99
100
  }
100
101
 
101
102
 
@@ -104,7 +105,7 @@ export type IComponentDiscoveryService = IComponentDiscoveryService$instance;
104
105
  export interface IComponentInitializer$instance {
105
106
  readonly __tsonic_iface_System_ComponentModel_Design_IComponentInitializer: never;
106
107
 
107
- InitializeExistingComponent(defaultValues: IDictionary): void;
108
+ InitializeExistingComponent(defaultValues: IDictionary | null): void;
108
109
  }
109
110
 
110
111
 
@@ -114,7 +115,7 @@ export interface IDesigner$instance extends IDisposable {
114
115
  readonly __tsonic_iface_System_ComponentModel_Design_IDesigner: never;
115
116
 
116
117
  readonly Component: IComponent;
117
- readonly Verbs: DesignerVerbCollection | undefined;
118
+ readonly Verbs: DesignerVerbCollection | null;
118
119
  DoDefaultAction(): void;
119
120
  Initialize(component: IComponent): void;
120
121
  Dispose(): void;
@@ -128,7 +129,7 @@ export type IDesigner = IDesigner$instance;
128
129
  export interface IDesignerEventService$instance {
129
130
  readonly __tsonic_iface_System_ComponentModel_Design_IDesignerEventService: never;
130
131
 
131
- readonly ActiveDesigner: IDesignerHost | undefined;
132
+ readonly ActiveDesigner: IDesignerHost | null;
132
133
  readonly Designers: DesignerCollection;
133
134
  }
134
135
 
@@ -156,16 +157,16 @@ export interface IDesignerHost$instance extends IServiceContainer, IServiceProvi
156
157
  Activate(): void;
157
158
  AddService(serviceType: Type, callback: ServiceCreatorCallback, promote: boolean): void;
158
159
  AddService(serviceType: Type, callback: ServiceCreatorCallback): void;
159
- AddService(serviceType: Type, serviceInstance: unknown, promote: boolean): void;
160
- AddService(serviceType: Type, serviceInstance: unknown): void;
160
+ AddService(serviceType: Type, serviceInstance: JsValue, promote: boolean): void;
161
+ AddService(serviceType: Type, serviceInstance: JsValue): void;
161
162
  CreateComponent(componentClass: Type, name: string): IComponent;
162
163
  CreateComponent(componentClass: Type): IComponent;
163
164
  CreateTransaction(): DesignerTransaction;
164
165
  CreateTransaction(description: string): DesignerTransaction;
165
166
  DestroyComponent(component: IComponent): void;
166
- GetDesigner(component: IComponent): IDesigner | undefined;
167
- GetService(serviceType: Type): unknown | undefined;
168
- GetType(typeName: string): Type | undefined;
167
+ GetDesigner(component: IComponent): IDesigner | null;
168
+ GetService(serviceType: Type): JsValue | null;
169
+ GetType(typeName: string): Type | null;
169
170
  RemoveService(serviceType: Type, promote: boolean): void;
170
171
  RemoveService(serviceType: Type): void;
171
172
  }
@@ -185,8 +186,8 @@ export type IDesignerHostTransactionState = IDesignerHostTransactionState$instan
185
186
  export interface IDesignerOptionService$instance {
186
187
  readonly __tsonic_iface_System_ComponentModel_Design_IDesignerOptionService: never;
187
188
 
188
- GetOptionValue(pageName: string, valueName: string): unknown | undefined;
189
- SetOptionValue(pageName: string, valueName: string, value: unknown): void;
189
+ GetOptionValue(pageName: string, valueName: string): JsValue | null;
190
+ SetOptionValue(pageName: string, valueName: string, value: JsValue): void;
190
191
  }
191
192
 
192
193
 
@@ -195,8 +196,8 @@ export type IDesignerOptionService = IDesignerOptionService$instance;
195
196
  export interface IDictionaryService$instance {
196
197
  readonly __tsonic_iface_System_ComponentModel_Design_IDictionaryService: never;
197
198
 
198
- GetKey(value: unknown): unknown | undefined;
199
- SetValue(key: unknown, value: unknown): void;
199
+ GetKey(value: JsValue | null): JsValue | null;
200
+ SetValue(key: JsValue, value: JsValue | null): void;
200
201
  }
201
202
 
202
203
 
@@ -207,7 +208,7 @@ export interface IEventBindingService$instance {
207
208
 
208
209
  CreateUniqueMethodName(component: IComponent, e: EventDescriptor): string;
209
210
  GetCompatibleMethods(e: EventDescriptor): ICollection;
210
- GetEvent(property: PropertyDescriptor): EventDescriptor | undefined;
211
+ GetEvent(property: PropertyDescriptor): EventDescriptor | null;
211
212
  GetEventProperties(events: EventDescriptorCollection): PropertyDescriptorCollection;
212
213
  GetEventProperty(e: EventDescriptor): PropertyDescriptor;
213
214
  ShowCode(): boolean;
@@ -266,7 +267,7 @@ export interface IMenuCommandService$instance {
266
267
  readonly Verbs: DesignerVerbCollection;
267
268
  AddCommand(command: MenuCommand): void;
268
269
  AddVerb(verb: DesignerVerb): void;
269
- FindCommand(commandID: CommandID): MenuCommand | undefined;
270
+ FindCommand(commandID: CommandID): MenuCommand | null;
270
271
  GlobalInvoke(commandID: CommandID): boolean;
271
272
  ShowContextMenu(menuID: CommandID, x: int, y: int): void;
272
273
  }
@@ -277,11 +278,11 @@ export type IMenuCommandService = IMenuCommandService$instance;
277
278
  export interface IReferenceService$instance {
278
279
  readonly __tsonic_iface_System_ComponentModel_Design_IReferenceService: never;
279
280
 
280
- GetComponent(reference: unknown): IComponent | undefined;
281
- GetName(reference: unknown): string | undefined;
282
- GetReference(name: string): unknown | undefined;
283
- GetReferences(): unknown[];
284
- GetReferences(baseType: Type): unknown[];
281
+ GetComponent(reference: JsValue): IComponent | null;
282
+ GetName(reference: JsValue): string | null;
283
+ GetReference(name: string): JsValue | null;
284
+ GetReferences(): JsValue[];
285
+ GetReferences(baseType: Type): JsValue[];
285
286
  }
286
287
 
287
288
 
@@ -290,7 +291,7 @@ export type IReferenceService = IReferenceService$instance;
290
291
  export interface IResourceService$instance {
291
292
  readonly __tsonic_iface_System_ComponentModel_Design_IResourceService: never;
292
293
 
293
- GetResourceReader(info: CultureInfo): IResourceReader | undefined;
294
+ GetResourceReader(info: CultureInfo): IResourceReader | null;
294
295
  GetResourceWriter(info: CultureInfo): IResourceWriter;
295
296
  }
296
297
 
@@ -302,9 +303,9 @@ export interface IRootDesigner$instance extends IDesigner, IDisposable {
302
303
 
303
304
  readonly SupportedTechnologies: ViewTechnology[];
304
305
  readonly Component: IComponent;
305
- readonly Verbs: DesignerVerbCollection | undefined;
306
+ readonly Verbs: DesignerVerbCollection | null;
306
307
  DoDefaultAction(): void;
307
- GetView(technology: ViewTechnology): unknown;
308
+ GetView(technology: ViewTechnology): JsValue;
308
309
  Initialize(component: IComponent): void;
309
310
  Dispose(): void;
310
311
  }
@@ -317,12 +318,12 @@ export type IRootDesigner = IRootDesigner$instance;
317
318
  export interface ISelectionService$instance {
318
319
  readonly __tsonic_iface_System_ComponentModel_Design_ISelectionService: never;
319
320
 
320
- readonly PrimarySelection: unknown | undefined;
321
+ readonly PrimarySelection: JsValue | null;
321
322
  readonly SelectionCount: int;
322
- GetComponentSelected(component: unknown): boolean;
323
+ GetComponentSelected(component: JsValue): boolean;
323
324
  GetSelectedComponents(): ICollection;
324
- SetSelectedComponents(components: ICollection, selectionType: SelectionTypes): void;
325
- SetSelectedComponents(components: ICollection): void;
325
+ SetSelectedComponents(components: ICollection | null, selectionType: SelectionTypes): void;
326
+ SetSelectedComponents(components: ICollection | null): void;
326
327
  }
327
328
 
328
329
 
@@ -333,9 +334,9 @@ export interface IServiceContainer$instance extends IServiceProvider {
333
334
 
334
335
  AddService(serviceType: Type, callback: ServiceCreatorCallback, promote: boolean): void;
335
336
  AddService(serviceType: Type, callback: ServiceCreatorCallback): void;
336
- AddService(serviceType: Type, serviceInstance: unknown, promote: boolean): void;
337
- AddService(serviceType: Type, serviceInstance: unknown): void;
338
- GetService(serviceType: Type): unknown | undefined;
337
+ AddService(serviceType: Type, serviceInstance: JsValue, promote: boolean): void;
338
+ AddService(serviceType: Type, serviceInstance: JsValue): void;
339
+ GetService(serviceType: Type): JsValue | null;
339
340
  RemoveService(serviceType: Type, promote: boolean): void;
340
341
  RemoveService(serviceType: Type): void;
341
342
  }
@@ -349,9 +350,9 @@ export interface ITreeDesigner$instance extends IDesigner, IDisposable {
349
350
  readonly __tsonic_iface_System_ComponentModel_Design_ITreeDesigner: never;
350
351
 
351
352
  readonly Children: ICollection;
352
- readonly Parent: IDesigner | undefined;
353
+ readonly Parent: IDesigner | null;
353
354
  readonly Component: IComponent;
354
- readonly Verbs: DesignerVerbCollection | undefined;
355
+ readonly Verbs: DesignerVerbCollection | null;
355
356
  DoDefaultAction(): void;
356
357
  Initialize(component: IComponent): void;
357
358
  Dispose(): void;
@@ -374,7 +375,7 @@ export type ITypeDescriptorFilterService = ITypeDescriptorFilterService$instance
374
375
  export interface ITypeDiscoveryService$instance {
375
376
  readonly __tsonic_iface_System_ComponentModel_Design_ITypeDiscoveryService: never;
376
377
 
377
- GetTypes(baseType: Type, excludeGlobalTypes: boolean): ICollection;
378
+ GetTypes(baseType: Type | null, excludeGlobalTypes: boolean): ICollection;
378
379
  }
379
380
 
380
381
 
@@ -383,12 +384,12 @@ export type ITypeDiscoveryService = ITypeDiscoveryService$instance;
383
384
  export interface ITypeResolutionService$instance {
384
385
  readonly __tsonic_iface_System_ComponentModel_Design_ITypeResolutionService: never;
385
386
 
386
- GetAssembly(name: AssemblyName, throwOnError: boolean): Assembly | undefined;
387
- GetAssembly(name: AssemblyName): Assembly | undefined;
388
- GetPathOfAssembly(name: AssemblyName): string | undefined;
389
- GetType(name: string, throwOnError: boolean, ignoreCase: boolean): Type | undefined;
390
- GetType(name: string, throwOnError: boolean): Type | undefined;
391
- GetType(name: string): Type | undefined;
387
+ GetAssembly(name: AssemblyName, throwOnError: boolean): Assembly | null;
388
+ GetAssembly(name: AssemblyName): Assembly | null;
389
+ GetPathOfAssembly(name: AssemblyName): string | null;
390
+ GetType(name: string, throwOnError: boolean, ignoreCase: boolean): Type | null;
391
+ GetType(name: string, throwOnError: boolean): Type | null;
392
+ GetType(name: string): Type | null;
392
393
  ReferenceAssembly(name: AssemblyName): void;
393
394
  }
394
395
 
@@ -398,13 +399,13 @@ export type ITypeResolutionService = ITypeResolutionService$instance;
398
399
  export interface ActiveDesignerEventArgs$instance extends EventArgs {
399
400
  readonly __tsonic_type_System_ComponentModel_Design_ActiveDesignerEventArgs: never;
400
401
 
401
- readonly NewDesigner: IDesignerHost | undefined;
402
- readonly OldDesigner: IDesignerHost | undefined;
402
+ readonly NewDesigner: IDesignerHost | null;
403
+ readonly OldDesigner: IDesignerHost | null;
403
404
  }
404
405
 
405
406
 
406
407
  export const ActiveDesignerEventArgs: {
407
- new(oldDesigner: IDesignerHost, newDesigner: IDesignerHost): ActiveDesignerEventArgs;
408
+ new(oldDesigner: IDesignerHost | null, newDesigner: IDesignerHost | null): ActiveDesignerEventArgs;
408
409
  };
409
410
 
410
411
 
@@ -420,9 +421,9 @@ export interface CheckoutException$instance extends ExternalException, System_Ru
420
421
 
421
422
  export const CheckoutException: {
422
423
  new(): CheckoutException;
423
- new(message: string): CheckoutException;
424
- new(message: string, errorCode: int): CheckoutException;
425
- new(message: string, innerException: Exception): CheckoutException;
424
+ new(message: string | null): CheckoutException;
425
+ new(message: string | null, errorCode: int): CheckoutException;
426
+ new(message: string | null, innerException: Exception | null): CheckoutException;
426
427
  readonly Canceled: CheckoutException;
427
428
  };
428
429
 
@@ -439,7 +440,7 @@ export interface CommandID$instance {
439
440
 
440
441
  readonly Guid: Guid;
441
442
  readonly ID: int;
442
- Equals(obj: unknown): boolean;
443
+ Equals(obj: JsValue | null): boolean;
443
444
  GetHashCode(): int;
444
445
  ToString(): string;
445
446
  }
@@ -455,15 +456,15 @@ export type CommandID = CommandID$instance;
455
456
  export interface ComponentChangedEventArgs$instance extends EventArgs {
456
457
  readonly __tsonic_type_System_ComponentModel_Design_ComponentChangedEventArgs: never;
457
458
 
458
- readonly Component: unknown | undefined;
459
- readonly Member: MemberDescriptor | undefined;
460
- readonly NewValue: unknown | undefined;
461
- readonly OldValue: unknown | undefined;
459
+ readonly Component: JsValue | null;
460
+ readonly Member: MemberDescriptor | null;
461
+ readonly NewValue: JsValue | null;
462
+ readonly OldValue: JsValue | null;
462
463
  }
463
464
 
464
465
 
465
466
  export const ComponentChangedEventArgs: {
466
- new(component: unknown, member: MemberDescriptor, oldValue: unknown, newValue: unknown): ComponentChangedEventArgs;
467
+ new(component: JsValue | null, member: MemberDescriptor | null, oldValue: JsValue | null, newValue: JsValue | null): ComponentChangedEventArgs;
467
468
  };
468
469
 
469
470
 
@@ -472,13 +473,13 @@ export type ComponentChangedEventArgs = ComponentChangedEventArgs$instance;
472
473
  export interface ComponentChangingEventArgs$instance extends EventArgs {
473
474
  readonly __tsonic_type_System_ComponentModel_Design_ComponentChangingEventArgs: never;
474
475
 
475
- readonly Component: unknown | undefined;
476
- readonly Member: MemberDescriptor | undefined;
476
+ readonly Component: JsValue | null;
477
+ readonly Member: MemberDescriptor | null;
477
478
  }
478
479
 
479
480
 
480
481
  export const ComponentChangingEventArgs: {
481
- new(component: unknown, member: MemberDescriptor): ComponentChangingEventArgs;
482
+ new(component: JsValue | null, member: MemberDescriptor | null): ComponentChangingEventArgs;
482
483
  };
483
484
 
484
485
 
@@ -487,12 +488,12 @@ export type ComponentChangingEventArgs = ComponentChangingEventArgs$instance;
487
488
  export interface ComponentEventArgs$instance extends EventArgs {
488
489
  readonly __tsonic_type_System_ComponentModel_Design_ComponentEventArgs: never;
489
490
 
490
- readonly Component: IComponent | undefined;
491
+ readonly Component: IComponent | null;
491
492
  }
492
493
 
493
494
 
494
495
  export const ComponentEventArgs: {
495
- new(component: IComponent): ComponentEventArgs;
496
+ new(component: IComponent | null): ComponentEventArgs;
496
497
  };
497
498
 
498
499
 
@@ -501,14 +502,14 @@ export type ComponentEventArgs = ComponentEventArgs$instance;
501
502
  export interface ComponentRenameEventArgs$instance extends EventArgs {
502
503
  readonly __tsonic_type_System_ComponentModel_Design_ComponentRenameEventArgs: never;
503
504
 
504
- readonly Component: unknown | undefined;
505
- readonly NewName: string | undefined;
506
- readonly OldName: string | undefined;
505
+ readonly Component: JsValue | null;
506
+ readonly NewName: string | null;
507
+ readonly OldName: string | null;
507
508
  }
508
509
 
509
510
 
510
511
  export const ComponentRenameEventArgs: {
511
- new(component: unknown, oldName: string, newName: string): ComponentRenameEventArgs;
512
+ new(component: JsValue | null, oldName: string | null, newName: string | null): ComponentRenameEventArgs;
512
513
  };
513
514
 
514
515
 
@@ -526,8 +527,8 @@ export interface DesignerCollection$instance {
526
527
 
527
528
 
528
529
  export const DesignerCollection: {
529
- new(designers: IDesignerHost[]): DesignerCollection;
530
- new(designers: IList): DesignerCollection;
530
+ new(designers: IDesignerHost[] | null): DesignerCollection;
531
+ new(designers: IList | null): DesignerCollection;
531
532
  };
532
533
 
533
534
 
@@ -536,18 +537,18 @@ export interface __DesignerCollection$views {
536
537
  As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
537
538
  }
538
539
 
539
- export type DesignerCollection = DesignerCollection$instance & __DesignerCollection$views & { readonly [index: number]: IDesignerHost | undefined; };
540
+ export type DesignerCollection = DesignerCollection$instance & __DesignerCollection$views & { readonly [index: number]: IDesignerHost | null; };
540
541
 
541
542
 
542
543
  export interface DesignerEventArgs$instance extends EventArgs {
543
544
  readonly __tsonic_type_System_ComponentModel_Design_DesignerEventArgs: never;
544
545
 
545
- readonly Designer: IDesignerHost | undefined;
546
+ readonly Designer: IDesignerHost | null;
546
547
  }
547
548
 
548
549
 
549
550
  export const DesignerEventArgs: {
550
- new(host: IDesignerHost): DesignerEventArgs;
551
+ new(host: IDesignerHost | null): DesignerEventArgs;
551
552
  };
552
553
 
553
554
 
@@ -560,7 +561,7 @@ export interface DesignerOptionService$instance extends IDesignerOptionService$i
560
561
 
561
562
  readonly Options: DesignerOptionService_DesignerOptionCollection;
562
563
  PopulateOptionCollection(options: DesignerOptionService_DesignerOptionCollection): void;
563
- ShowDialog(options: DesignerOptionService_DesignerOptionCollection, optionObject: unknown): boolean;
564
+ ShowDialog(options: DesignerOptionService_DesignerOptionCollection, optionObject: JsValue): boolean;
564
565
  }
565
566
 
566
567
 
@@ -575,7 +576,7 @@ export interface __DesignerOptionService$views {
575
576
  export type DesignerOptionService = DesignerOptionService$instance & __DesignerOptionService$views;
576
577
 
577
578
 
578
- export interface DesignerOptionService_DesignerOptionCollection$instance {
579
+ export interface DesignerOptionService_DesignerOptionCollection$instance extends IList, ICollection, IEnumerable {
579
580
  readonly __tsonic_type_System_ComponentModel_Design_DesignerOptionService_DesignerOptionCollection: never;
580
581
 
581
582
  readonly __tsonic_iface_System_Collections_ICollection: never;
@@ -584,11 +585,9 @@ export interface DesignerOptionService_DesignerOptionCollection$instance {
584
585
 
585
586
  readonly Count: int;
586
587
  readonly Name: string;
587
- readonly Parent: DesignerOptionService_DesignerOptionCollection | undefined;
588
+ readonly Parent: DesignerOptionService_DesignerOptionCollection | null;
588
589
  readonly Properties: PropertyDescriptorCollection;
589
590
  CopyTo(array: ClrArray, index: int): void;
590
- get_Item(index: int): DesignerOptionService_DesignerOptionCollection | undefined;
591
- get_Item(name: string): DesignerOptionService_DesignerOptionCollection | undefined;
592
591
  GetEnumerator(): IEnumerator;
593
592
  IndexOf(value: DesignerOptionService_DesignerOptionCollection): int;
594
593
  ShowDialog(): boolean;
@@ -599,14 +598,7 @@ export const DesignerOptionService_DesignerOptionCollection: {
599
598
  };
600
599
 
601
600
 
602
- export interface __DesignerOptionService_DesignerOptionCollection$views {
603
- As_ICollection(): System_Collections_Internal.ICollection$instance;
604
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
605
- As_IList(): System_Collections_Internal.IList$instance;
606
- }
607
-
608
- export type DesignerOptionService_DesignerOptionCollection = DesignerOptionService_DesignerOptionCollection$instance & __DesignerOptionService_DesignerOptionCollection$views;
609
-
601
+ export type DesignerOptionService_DesignerOptionCollection = DesignerOptionService_DesignerOptionCollection$instance & { readonly [name: string]: DesignerOptionService_DesignerOptionCollection | null; };
610
602
 
611
603
  export interface DesignerTransaction$instance {
612
604
  readonly __tsonic_type_System_ComponentModel_Design_DesignerTransaction: never;
@@ -676,15 +668,15 @@ export interface DesignerVerbCollection$instance extends CollectionBase {
676
668
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
677
669
  readonly __tsonic_iface_System_Collections_IList: never;
678
670
 
679
- Add(value: DesignerVerb): int;
680
- AddRange(value: DesignerVerb[]): void;
671
+ Add(value: DesignerVerb | null): int;
672
+ AddRange(value: (DesignerVerb | null)[]): void;
681
673
  AddRange(value: DesignerVerbCollection): void;
682
- Contains(value: DesignerVerb): boolean;
683
- CopyTo(array: DesignerVerb[], index: int): void;
684
- IndexOf(value: DesignerVerb): int;
685
- Insert(index: int, value: DesignerVerb): void;
686
- OnValidate(value: unknown): void;
687
- Remove(value: DesignerVerb): void;
674
+ Contains(value: DesignerVerb | null): boolean;
675
+ CopyTo(array: (DesignerVerb | null)[], index: int): void;
676
+ IndexOf(value: DesignerVerb | null): int;
677
+ Insert(index: int, value: DesignerVerb | null): void;
678
+ OnValidate(value: JsValue): void;
679
+ Remove(value: DesignerVerb | null): void;
688
680
  }
689
681
 
690
682
 
@@ -709,7 +701,7 @@ export interface DesigntimeLicenseContext$instance extends LicenseContext, Syste
709
701
  readonly __tsonic_iface_System_IServiceProvider: never;
710
702
 
711
703
  readonly UsageMode: LicenseUsageMode;
712
- GetSavedLicenseKey(type: Type, resourceAssembly: Assembly): string | undefined;
704
+ GetSavedLicenseKey(type: Type, resourceAssembly: Assembly | null): string | null;
713
705
  SetSavedLicenseKey(type: Type, key: string): void;
714
706
  }
715
707
 
@@ -742,8 +734,8 @@ export type DesigntimeLicenseContextSerializer = DesigntimeLicenseContextSeriali
742
734
  export interface HelpKeywordAttribute$instance extends Attribute {
743
735
  readonly __tsonic_type_System_ComponentModel_Design_HelpKeywordAttribute: never;
744
736
 
745
- readonly HelpKeyword: string | undefined;
746
- Equals(obj: unknown): boolean;
737
+ readonly HelpKeyword: string | null;
738
+ Equals(obj: JsValue | null): boolean;
747
739
  GetHashCode(): int;
748
740
  IsDefaultAttribute(): boolean;
749
741
  }
@@ -763,21 +755,21 @@ export interface MenuCommand$instance {
763
755
  readonly __tsonic_type_System_ComponentModel_Design_MenuCommand: never;
764
756
 
765
757
  Checked: boolean;
766
- readonly CommandID: CommandID | undefined;
758
+ readonly CommandID: CommandID | null;
767
759
  Enabled: boolean;
768
760
  readonly OleStatus: int;
769
761
  readonly Properties: IDictionary;
770
762
  Supported: boolean;
771
763
  Visible: boolean;
772
764
  Invoke(): void;
773
- Invoke(arg: unknown): void;
765
+ Invoke(arg: JsValue): void;
774
766
  OnCommandChanged(e: EventArgs): void;
775
767
  ToString(): string;
776
768
  }
777
769
 
778
770
 
779
771
  export const MenuCommand: {
780
- new(handler: EventHandler, command: CommandID): MenuCommand;
772
+ new(handler: EventHandler | null, command: CommandID | null): MenuCommand;
781
773
  };
782
774
 
783
775
 
@@ -791,13 +783,13 @@ export interface ServiceContainer$instance {
791
783
  readonly __tsonic_iface_System_IServiceProvider: never;
792
784
 
793
785
  readonly DefaultServices: Type[];
794
- AddService(serviceType: Type, serviceInstance: unknown): void;
795
- AddService(serviceType: Type, serviceInstance: unknown, promote: boolean): void;
786
+ AddService(serviceType: Type, serviceInstance: JsValue): void;
787
+ AddService(serviceType: Type, serviceInstance: JsValue, promote: boolean): void;
796
788
  AddService(serviceType: Type, callback: ServiceCreatorCallback): void;
797
789
  AddService(serviceType: Type, callback: ServiceCreatorCallback, promote: boolean): void;
798
790
  Dispose(): void;
799
791
  Dispose(disposing: boolean): void;
800
- GetService(serviceType: Type): unknown | undefined;
792
+ GetService(serviceType: Type): JsValue | null;
801
793
  RemoveService(serviceType: Type): void;
802
794
  RemoveService(serviceType: Type, promote: boolean): void;
803
795
  }
@@ -805,7 +797,7 @@ export interface ServiceContainer$instance {
805
797
 
806
798
  export const ServiceContainer: {
807
799
  new(): ServiceContainer;
808
- new(parentProvider: IServiceProvider): ServiceContainer;
800
+ new(parentProvider: IServiceProvider | null): ServiceContainer;
809
801
  };
810
802
 
811
803
 
@@ -910,7 +902,7 @@ export type StandardToolWindows = StandardToolWindows$instance;
910
902
  export interface TypeDescriptionProviderService$instance {
911
903
  readonly __tsonic_type_System_ComponentModel_Design_TypeDescriptionProviderService: never;
912
904
 
913
- GetProvider(instance: unknown): TypeDescriptionProvider;
905
+ GetProvider(instance: JsValue): TypeDescriptionProvider;
914
906
  GetProvider(type: Type): TypeDescriptionProvider;
915
907
  }
916
908