@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.DataAnnotations
3
3
  // Assembly: System.ComponentModel.Annotations
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { ICollection_1, IDictionary_2, IEnumerable_1 } from "../../System.Collections.Generic/internal/index.js";
@@ -49,14 +50,14 @@ export type IValidatableObject = IValidatableObject$instance;
49
50
  export interface AllowedValuesAttribute$instance extends ValidationAttribute {
50
51
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_AllowedValuesAttribute: never;
51
52
 
52
- readonly Values: (unknown | undefined)[];
53
- IsValid(value: unknown): boolean;
54
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
53
+ readonly Values: (JsValue | null)[];
54
+ IsValid(value: JsValue | null): boolean;
55
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
55
56
  }
56
57
 
57
58
 
58
59
  export const AllowedValuesAttribute: {
59
- new(values: unknown[]): AllowedValuesAttribute;
60
+ new(values: (JsValue | null)[]): AllowedValuesAttribute;
60
61
  };
61
62
 
62
63
 
@@ -65,9 +66,9 @@ export type AllowedValuesAttribute = AllowedValuesAttribute$instance;
65
66
  export interface AssociatedMetadataTypeTypeDescriptionProvider$instance extends TypeDescriptionProvider {
66
67
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_AssociatedMetadataTypeTypeDescriptionProvider: never;
67
68
 
68
- GetTypeDescriptor(objectType: Type, instance: unknown): ICustomTypeDescriptor;
69
- GetTypeDescriptor(objectType: Type): ICustomTypeDescriptor | undefined;
70
- GetTypeDescriptor(instance: unknown): ICustomTypeDescriptor | undefined;
69
+ GetTypeDescriptor(objectType: Type, instance: JsValue | null): ICustomTypeDescriptor;
70
+ GetTypeDescriptor(objectType: Type): ICustomTypeDescriptor | null;
71
+ GetTypeDescriptor(instance: JsValue): ICustomTypeDescriptor | null;
71
72
  }
72
73
 
73
74
 
@@ -101,8 +102,8 @@ export type AssociationAttribute = AssociationAttribute$instance;
101
102
  export interface Base64StringAttribute$instance extends ValidationAttribute {
102
103
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_Base64StringAttribute: never;
103
104
 
104
- IsValid(value: unknown): boolean;
105
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
105
+ IsValid(value: JsValue | null): boolean;
106
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
106
107
  }
107
108
 
108
109
 
@@ -117,12 +118,12 @@ export interface CompareAttribute$instance extends ValidationAttribute {
117
118
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_CompareAttribute: never;
118
119
 
119
120
  readonly OtherProperty: string;
120
- get OtherPropertyDisplayName(): string | undefined;
121
- set OtherPropertyDisplayName(value: string | undefined);
121
+ get OtherPropertyDisplayName(): string | null;
122
+ set OtherPropertyDisplayName(value: string | null);
122
123
  readonly RequiresValidationContext: boolean;
123
124
  FormatErrorMessage(name: string): string;
124
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
125
- IsValid(value: unknown): boolean;
125
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
126
+ IsValid(value: JsValue | null): boolean;
126
127
  }
127
128
 
128
129
 
@@ -149,8 +150,8 @@ export type ConcurrencyCheckAttribute = ConcurrencyCheckAttribute$instance;
149
150
  export interface CreditCardAttribute$instance extends DataTypeAttribute {
150
151
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_CreditCardAttribute: never;
151
152
 
152
- IsValid(value: unknown): boolean;
153
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
153
+ IsValid(value: JsValue | null): boolean;
154
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
154
155
  }
155
156
 
156
157
 
@@ -166,11 +167,11 @@ export interface CustomValidationAttribute$instance extends ValidationAttribute
166
167
 
167
168
  readonly Method: string;
168
169
  readonly RequiresValidationContext: boolean;
169
- readonly TypeId: unknown;
170
+ readonly TypeId: JsValue;
170
171
  readonly ValidatorType: Type;
171
172
  FormatErrorMessage(name: string): string;
172
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
173
- IsValid(value: unknown): boolean;
173
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
174
+ IsValid(value: JsValue | null): boolean;
174
175
  }
175
176
 
176
177
 
@@ -184,13 +185,13 @@ export type CustomValidationAttribute = CustomValidationAttribute$instance;
184
185
  export interface DataTypeAttribute$instance extends ValidationAttribute {
185
186
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_DataTypeAttribute: never;
186
187
 
187
- readonly CustomDataType: string | undefined;
188
+ readonly CustomDataType: string | null;
188
189
  readonly DataType: DataType;
189
- get DisplayFormat(): DisplayFormatAttribute | undefined;
190
- set DisplayFormat(value: DisplayFormatAttribute | undefined);
190
+ get DisplayFormat(): DisplayFormatAttribute | null;
191
+ set DisplayFormat(value: DisplayFormatAttribute | null);
191
192
  GetDataTypeName(): string;
192
- IsValid(value: unknown): boolean;
193
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
193
+ IsValid(value: JsValue | null): boolean;
194
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
194
195
  }
195
196
 
196
197
 
@@ -205,14 +206,14 @@ export type DataTypeAttribute = DataTypeAttribute$instance;
205
206
  export interface DeniedValuesAttribute$instance extends ValidationAttribute {
206
207
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_DeniedValuesAttribute: never;
207
208
 
208
- readonly Values: (unknown | undefined)[];
209
- IsValid(value: unknown): boolean;
210
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
209
+ readonly Values: (JsValue | null)[];
210
+ IsValid(value: JsValue | null): boolean;
211
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
211
212
  }
212
213
 
213
214
 
214
215
  export const DeniedValuesAttribute: {
215
- new(values: unknown[]): DeniedValuesAttribute;
216
+ new(values: (JsValue | null)[]): DeniedValuesAttribute;
216
217
  };
217
218
 
218
219
 
@@ -223,27 +224,27 @@ export interface DisplayAttribute$instance extends Attribute {
223
224
 
224
225
  AutoGenerateField: boolean;
225
226
  AutoGenerateFilter: boolean;
226
- get Description(): string | undefined;
227
- set Description(value: string | undefined);
228
- get GroupName(): string | undefined;
229
- set GroupName(value: string | undefined);
230
- get Name(): string | undefined;
231
- set Name(value: string | undefined);
227
+ get Description(): string | null;
228
+ set Description(value: string | null);
229
+ get GroupName(): string | null;
230
+ set GroupName(value: string | null);
231
+ get Name(): string | null;
232
+ set Name(value: string | null);
232
233
  Order: int;
233
- get Prompt(): string | undefined;
234
- set Prompt(value: string | undefined);
235
- get ResourceType(): Type | undefined;
236
- set ResourceType(value: Type | undefined);
237
- get ShortName(): string | undefined;
238
- set ShortName(value: string | undefined);
234
+ get Prompt(): string | null;
235
+ set Prompt(value: string | null);
236
+ get ResourceType(): Type | null;
237
+ set ResourceType(value: Type | null);
238
+ get ShortName(): string | null;
239
+ set ShortName(value: string | null);
239
240
  GetAutoGenerateField(): Nullable_1<System_Internal.Boolean>;
240
241
  GetAutoGenerateFilter(): Nullable_1<System_Internal.Boolean>;
241
- GetDescription(): string | undefined;
242
- GetGroupName(): string | undefined;
243
- GetName(): string | undefined;
242
+ GetDescription(): string | null;
243
+ GetGroupName(): string | null;
244
+ GetName(): string | null;
244
245
  GetOrder(): Nullable_1<System_Internal.Int32>;
245
- GetPrompt(): string | undefined;
246
- GetShortName(): string | undefined;
246
+ GetPrompt(): string | null;
247
+ GetShortName(): string | null;
247
248
  }
248
249
 
249
250
 
@@ -258,15 +259,15 @@ export interface DisplayColumnAttribute$instance extends Attribute {
258
259
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_DisplayColumnAttribute: never;
259
260
 
260
261
  readonly DisplayColumn: string;
261
- readonly SortColumn: string | undefined;
262
+ readonly SortColumn: string | null;
262
263
  readonly SortDescending: boolean;
263
264
  }
264
265
 
265
266
 
266
267
  export const DisplayColumnAttribute: {
267
268
  new(displayColumn: string): DisplayColumnAttribute;
268
- new(displayColumn: string, sortColumn: string): DisplayColumnAttribute;
269
- new(displayColumn: string, sortColumn: string, sortDescending: boolean): DisplayColumnAttribute;
269
+ new(displayColumn: string, sortColumn: string | null): DisplayColumnAttribute;
270
+ new(displayColumn: string, sortColumn: string | null, sortDescending: boolean): DisplayColumnAttribute;
270
271
  };
271
272
 
272
273
 
@@ -277,14 +278,14 @@ export interface DisplayFormatAttribute$instance extends Attribute {
277
278
 
278
279
  ApplyFormatInEditMode: boolean;
279
280
  ConvertEmptyStringToNull: boolean;
280
- get DataFormatString(): string | undefined;
281
- set DataFormatString(value: string | undefined);
281
+ get DataFormatString(): string | null;
282
+ set DataFormatString(value: string | null);
282
283
  HtmlEncode: boolean;
283
- get NullDisplayText(): string | undefined;
284
- set NullDisplayText(value: string | undefined);
285
- get NullDisplayTextResourceType(): Type | undefined;
286
- set NullDisplayTextResourceType(value: Type | undefined);
287
- GetNullDisplayText(): string | undefined;
284
+ get NullDisplayText(): string | null;
285
+ set NullDisplayText(value: string | null);
286
+ get NullDisplayTextResourceType(): Type | null;
287
+ set NullDisplayTextResourceType(value: Type | null);
288
+ GetNullDisplayText(): string | null;
288
289
  }
289
290
 
290
291
 
@@ -313,8 +314,8 @@ export type EditableAttribute = EditableAttribute$instance;
313
314
  export interface EmailAddressAttribute$instance extends DataTypeAttribute {
314
315
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_EmailAddressAttribute: never;
315
316
 
316
- IsValid(value: unknown): boolean;
317
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
317
+ IsValid(value: JsValue | null): boolean;
318
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
318
319
  }
319
320
 
320
321
 
@@ -329,8 +330,8 @@ export interface EnumDataTypeAttribute$instance extends DataTypeAttribute {
329
330
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_EnumDataTypeAttribute: never;
330
331
 
331
332
  readonly EnumType: Type;
332
- IsValid(value: unknown): boolean;
333
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
333
+ IsValid(value: JsValue | null): boolean;
334
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
334
335
  }
335
336
 
336
337
 
@@ -346,8 +347,8 @@ export interface FileExtensionsAttribute$instance extends DataTypeAttribute {
346
347
 
347
348
  Extensions: string;
348
349
  FormatErrorMessage(name: string): string;
349
- IsValid(value: unknown): boolean;
350
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
350
+ IsValid(value: JsValue | null): boolean;
351
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
351
352
  }
352
353
 
353
354
 
@@ -361,18 +362,18 @@ export type FileExtensionsAttribute = FileExtensionsAttribute$instance;
361
362
  export interface FilterUIHintAttribute$instance extends Attribute {
362
363
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_FilterUIHintAttribute: never;
363
364
 
364
- readonly ControlParameters: IDictionary_2<System_Internal.String, unknown | undefined>;
365
+ readonly ControlParameters: IDictionary_2<System_Internal.String, JsValue | null>;
365
366
  readonly FilterUIHint: string;
366
- readonly PresentationLayer: string | undefined;
367
- Equals(obj: unknown): boolean;
367
+ readonly PresentationLayer: string | null;
368
+ Equals(obj: JsValue | null): boolean;
368
369
  GetHashCode(): int;
369
370
  }
370
371
 
371
372
 
372
373
  export const FilterUIHintAttribute: {
373
374
  new(filterUIHint: string): FilterUIHintAttribute;
374
- new(filterUIHint: string, presentationLayer: string): FilterUIHintAttribute;
375
- new(filterUIHint: string, presentationLayer: string, controlParameters: unknown[]): FilterUIHintAttribute;
375
+ new(filterUIHint: string, presentationLayer: string | null): FilterUIHintAttribute;
376
+ new(filterUIHint: string, presentationLayer: string | null, controlParameters: (JsValue | null)[]): FilterUIHintAttribute;
376
377
  };
377
378
 
378
379
 
@@ -397,8 +398,8 @@ export interface LengthAttribute$instance extends ValidationAttribute {
397
398
  readonly MaximumLength: int;
398
399
  readonly MinimumLength: int;
399
400
  FormatErrorMessage(name: string): string;
400
- IsValid(value: unknown): boolean;
401
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
401
+ IsValid(value: JsValue | null): boolean;
402
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
402
403
  }
403
404
 
404
405
 
@@ -414,8 +415,8 @@ export interface MaxLengthAttribute$instance extends ValidationAttribute {
414
415
 
415
416
  readonly Length: int;
416
417
  FormatErrorMessage(name: string): string;
417
- IsValid(value: unknown): boolean;
418
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
418
+ IsValid(value: JsValue | null): boolean;
419
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
419
420
  }
420
421
 
421
422
 
@@ -446,8 +447,8 @@ export interface MinLengthAttribute$instance extends ValidationAttribute {
446
447
 
447
448
  readonly Length: int;
448
449
  FormatErrorMessage(name: string): string;
449
- IsValid(value: unknown): boolean;
450
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
450
+ IsValid(value: JsValue | null): boolean;
451
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
451
452
  }
452
453
 
453
454
 
@@ -461,8 +462,8 @@ export type MinLengthAttribute = MinLengthAttribute$instance;
461
462
  export interface PhoneAttribute$instance extends DataTypeAttribute {
462
463
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_PhoneAttribute: never;
463
464
 
464
- IsValid(value: unknown): boolean;
465
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
465
+ IsValid(value: JsValue | null): boolean;
466
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
466
467
  }
467
468
 
468
469
 
@@ -477,15 +478,15 @@ export interface RangeAttribute$instance extends ValidationAttribute {
477
478
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_RangeAttribute: never;
478
479
 
479
480
  ConvertValueInInvariantCulture: boolean;
480
- Maximum: unknown;
481
+ Maximum: JsValue;
481
482
  MaximumIsExclusive: boolean;
482
- Minimum: unknown;
483
+ Minimum: JsValue;
483
484
  MinimumIsExclusive: boolean;
484
485
  readonly OperandType: Type;
485
486
  ParseLimitsInInvariantCulture: boolean;
486
487
  FormatErrorMessage(name: string): string;
487
- IsValid(value: unknown): boolean;
488
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
488
+ IsValid(value: JsValue | null): boolean;
489
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
489
490
  }
490
491
 
491
492
 
@@ -505,8 +506,8 @@ export interface RegularExpressionAttribute$instance extends ValidationAttribute
505
506
  MatchTimeoutInMilliseconds: int;
506
507
  readonly Pattern: string;
507
508
  FormatErrorMessage(name: string): string;
508
- IsValid(value: unknown): boolean;
509
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
509
+ IsValid(value: JsValue | null): boolean;
510
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
510
511
  }
511
512
 
512
513
 
@@ -521,8 +522,8 @@ export interface RequiredAttribute$instance extends ValidationAttribute {
521
522
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_RequiredAttribute: never;
522
523
 
523
524
  AllowEmptyStrings: boolean;
524
- IsValid(value: unknown): boolean;
525
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
525
+ IsValid(value: JsValue | null): boolean;
526
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
526
527
  }
527
528
 
528
529
 
@@ -553,8 +554,8 @@ export interface StringLengthAttribute$instance extends ValidationAttribute {
553
554
  readonly MaximumLength: int;
554
555
  MinimumLength: int;
555
556
  FormatErrorMessage(name: string): string;
556
- IsValid(value: unknown): boolean;
557
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
557
+ IsValid(value: JsValue | null): boolean;
558
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
558
559
  }
559
560
 
560
561
 
@@ -581,18 +582,18 @@ export type TimestampAttribute = TimestampAttribute$instance;
581
582
  export interface UIHintAttribute$instance extends Attribute {
582
583
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_UIHintAttribute: never;
583
584
 
584
- readonly ControlParameters: IDictionary_2<System_Internal.String, unknown | undefined>;
585
- readonly PresentationLayer: string | undefined;
585
+ readonly ControlParameters: IDictionary_2<System_Internal.String, JsValue | null>;
586
+ readonly PresentationLayer: string | null;
586
587
  readonly UIHint: string;
587
- Equals(obj: unknown): boolean;
588
+ Equals(obj: JsValue | null): boolean;
588
589
  GetHashCode(): int;
589
590
  }
590
591
 
591
592
 
592
593
  export const UIHintAttribute: {
593
594
  new(uiHint: string): UIHintAttribute;
594
- new(uiHint: string, presentationLayer: string): UIHintAttribute;
595
- new(uiHint: string, presentationLayer: string, controlParameters: unknown[]): UIHintAttribute;
595
+ new(uiHint: string, presentationLayer: string | null): UIHintAttribute;
596
+ new(uiHint: string, presentationLayer: string | null, controlParameters: (JsValue | null)[] | null): UIHintAttribute;
596
597
  };
597
598
 
598
599
 
@@ -601,8 +602,8 @@ export type UIHintAttribute = UIHintAttribute$instance;
601
602
  export interface UrlAttribute$instance extends DataTypeAttribute {
602
603
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_UrlAttribute: never;
603
604
 
604
- IsValid(value: unknown): boolean;
605
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
605
+ IsValid(value: JsValue | null): boolean;
606
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
606
607
  }
607
608
 
608
609
 
@@ -616,19 +617,19 @@ export type UrlAttribute = UrlAttribute$instance;
616
617
  export interface ValidationAttribute$instance extends Attribute {
617
618
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_ValidationAttribute: never;
618
619
 
619
- get ErrorMessage(): string | undefined;
620
- set ErrorMessage(value: string | undefined);
621
- get ErrorMessageResourceName(): string | undefined;
622
- set ErrorMessageResourceName(value: string | undefined);
623
- get ErrorMessageResourceType(): Type | undefined;
624
- set ErrorMessageResourceType(value: Type | undefined);
620
+ get ErrorMessage(): string | null;
621
+ set ErrorMessage(value: string | null);
622
+ get ErrorMessageResourceName(): string | null;
623
+ set ErrorMessageResourceName(value: string | null);
624
+ get ErrorMessageResourceType(): Type | null;
625
+ set ErrorMessageResourceType(value: Type | null);
625
626
  readonly RequiresValidationContext: boolean;
626
627
  FormatErrorMessage(name: string): string;
627
- GetValidationResult(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
628
- IsValid(value: unknown): boolean;
629
- IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
630
- Validate(value: unknown, name: string): void;
631
- Validate(value: unknown, validationContext: ValidationContext): void;
628
+ GetValidationResult(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
629
+ IsValid(value: JsValue | null): boolean;
630
+ IsValid(value: JsValue | null, validationContext: ValidationContext): ValidationResult | null;
631
+ Validate(value: JsValue | null, name: string): void;
632
+ Validate(value: JsValue | null, validationContext: ValidationContext): void;
632
633
  }
633
634
 
634
635
 
@@ -644,21 +645,21 @@ export interface ValidationContext$instance extends System_Internal.IServiceProv
644
645
  readonly __tsonic_iface_System_IServiceProvider: never;
645
646
 
646
647
  DisplayName: string;
647
- readonly Items: IDictionary_2<unknown, unknown | undefined>;
648
- get MemberName(): string | undefined;
649
- set MemberName(value: string | undefined);
650
- readonly ObjectInstance: unknown;
648
+ readonly Items: IDictionary_2<JsValue, JsValue | null>;
649
+ get MemberName(): string | null;
650
+ set MemberName(value: string | null);
651
+ readonly ObjectInstance: JsValue;
651
652
  readonly ObjectType: Type;
652
- GetService(serviceType: Type): unknown | undefined;
653
- InitializeServiceProvider(serviceProvider: Func_2<Type, unknown>): void;
653
+ GetService(serviceType: Type): JsValue | null;
654
+ InitializeServiceProvider(serviceProvider: Func_2<Type, JsValue | null>): void;
654
655
  }
655
656
 
656
657
 
657
658
  export const ValidationContext: {
658
- new(instance: unknown): ValidationContext;
659
- new(instance: unknown, items: IDictionary_2<unknown, unknown>): ValidationContext;
660
- new(instance: unknown, serviceProvider: IServiceProvider, items: IDictionary_2<unknown, unknown>): ValidationContext;
661
- new(instance: unknown, displayName: string, serviceProvider: IServiceProvider, items: IDictionary_2<unknown, unknown>): ValidationContext;
659
+ new(instance: JsValue): ValidationContext;
660
+ new(instance: JsValue, items: IDictionary_2<JsValue, JsValue | null> | null): ValidationContext;
661
+ new(instance: JsValue, serviceProvider: IServiceProvider | null, items: IDictionary_2<JsValue, JsValue | null> | null): ValidationContext;
662
+ new(instance: JsValue, displayName: string, serviceProvider: IServiceProvider | null, items: IDictionary_2<JsValue, JsValue | null> | null): ValidationContext;
662
663
  };
663
664
 
664
665
 
@@ -674,18 +675,18 @@ export interface ValidationException$instance extends Exception, System_Runtime_
674
675
 
675
676
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
676
677
 
677
- readonly ValidationAttribute: ValidationAttribute | undefined;
678
+ readonly ValidationAttribute: ValidationAttribute | null;
678
679
  readonly ValidationResult: ValidationResult;
679
- readonly Value: unknown | undefined;
680
+ readonly Value: JsValue | null;
680
681
  }
681
682
 
682
683
 
683
684
  export const ValidationException: {
684
- new(validationResult: ValidationResult, validatingAttribute: ValidationAttribute, value: unknown): ValidationException;
685
- new(errorMessage: string, validatingAttribute: ValidationAttribute, value: unknown): ValidationException;
685
+ new(validationResult: ValidationResult, validatingAttribute: ValidationAttribute | null, value: JsValue | null): ValidationException;
686
+ new(errorMessage: string | null, validatingAttribute: ValidationAttribute | null, value: JsValue | null): ValidationException;
686
687
  new(): ValidationException;
687
- new(message: string): ValidationException;
688
- new(message: string, innerException: Exception): ValidationException;
688
+ new(message: string | null): ValidationException;
689
+ new(message: string | null, innerException: Exception | null): ValidationException;
689
690
  };
690
691
 
691
692
 
@@ -699,31 +700,31 @@ export type ValidationException = ValidationException$instance & __ValidationExc
699
700
  export interface ValidationResult$instance {
700
701
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_ValidationResult: never;
701
702
 
702
- get ErrorMessage(): string | undefined;
703
- set ErrorMessage(value: string | undefined);
703
+ get ErrorMessage(): string | null;
704
+ set ErrorMessage(value: string | null);
704
705
  readonly MemberNames: IEnumerable_1<System_Internal.String>;
705
706
  ToString(): string;
706
707
  }
707
708
 
708
709
 
709
710
  export const ValidationResult: {
710
- new(errorMessage: string): ValidationResult;
711
- new(errorMessage: string, memberNames: IEnumerable_1<System_Internal.String>): ValidationResult;
712
- readonly Success: ValidationResult | undefined;
711
+ new(errorMessage: string | null): ValidationResult;
712
+ new(errorMessage: string | null, memberNames: IEnumerable_1<System_Internal.String> | null): ValidationResult;
713
+ readonly Success: ValidationResult | null;
713
714
  };
714
715
 
715
716
 
716
717
  export type ValidationResult = ValidationResult$instance;
717
718
 
718
719
  export abstract class Validator$instance {
719
- static TryValidateObject(instance: unknown, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult>, validateAllProperties: boolean): boolean;
720
- static TryValidateObject(instance: unknown, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult>): boolean;
721
- static TryValidateProperty(value: unknown, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult>): boolean;
722
- static TryValidateValue(value: unknown, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult>, validationAttributes: IEnumerable_1<ValidationAttribute>): boolean;
723
- static ValidateObject(instance: unknown, validationContext: ValidationContext, validateAllProperties: boolean): void;
724
- static ValidateObject(instance: unknown, validationContext: ValidationContext): void;
725
- static ValidateProperty(value: unknown, validationContext: ValidationContext): void;
726
- static ValidateValue(value: unknown, validationContext: ValidationContext, validationAttributes: IEnumerable_1<ValidationAttribute>): void;
720
+ static TryValidateObject(instance: JsValue, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult> | null, validateAllProperties: boolean): boolean;
721
+ static TryValidateObject(instance: JsValue, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult> | null): boolean;
722
+ static TryValidateProperty(value: JsValue | null, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult> | null): boolean;
723
+ static TryValidateValue(value: JsValue | null, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult> | null, validationAttributes: IEnumerable_1<ValidationAttribute>): boolean;
724
+ static ValidateObject(instance: JsValue, validationContext: ValidationContext, validateAllProperties: boolean): void;
725
+ static ValidateObject(instance: JsValue, validationContext: ValidationContext): void;
726
+ static ValidateProperty(value: JsValue | null, validationContext: ValidationContext): void;
727
+ static ValidateValue(value: JsValue | null, validationContext: ValidationContext, validationAttributes: IEnumerable_1<ValidationAttribute>): void;
727
728
  }
728
729
 
729
730
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.ComponentModel.DataAnnotations.Schema
3
3
  // Assembly: System.ComponentModel.Annotations
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_Internal from "../../System/internal/index.js";
@@ -19,10 +20,10 @@ export enum DatabaseGeneratedOption {
19
20
  export interface ColumnAttribute$instance extends Attribute {
20
21
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_Schema_ColumnAttribute: never;
21
22
 
22
- readonly Name: string | undefined;
23
+ readonly Name: string | null;
23
24
  Order: int;
24
- get TypeName(): string | undefined;
25
- set TypeName(value: string | undefined);
25
+ get TypeName(): string | null;
26
+ set TypeName(value: string | null);
26
27
  }
27
28
 
28
29
 
@@ -106,8 +107,8 @@ export interface TableAttribute$instance extends Attribute {
106
107
  readonly __tsonic_type_System_ComponentModel_DataAnnotations_Schema_TableAttribute: never;
107
108
 
108
109
  readonly Name: string;
109
- get Schema(): string | undefined;
110
- set Schema(value: string | undefined);
110
+ get Schema(): string | null;
111
+ set Schema(value: string | null);
111
112
  }
112
113
 
113
114