@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,11 +2,9 @@
2
2
  // Namespace: System.Reflection.Metadata.Ecma335
3
3
  // Assembly: System.Reflection.Metadata
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 { IEnumerable_1, IReadOnlyList_1 } from "../../System.Collections.Generic/internal/index.js";
@@ -227,7 +225,7 @@ export interface EditAndContinueLogEntry$instance {
227
225
 
228
226
  readonly Handle: EntityHandle;
229
227
  readonly Operation: EditAndContinueOperation;
230
- Equals(obj: unknown): boolean;
228
+ Equals(obj: JsValue | null): boolean;
231
229
  Equals(other: EditAndContinueLogEntry): boolean;
232
230
  GetHashCode(): int;
233
231
  }
@@ -321,7 +319,7 @@ export interface InstructionEncoder$instance {
321
319
  readonly __tsonic_type_System_Reflection_Metadata_Ecma335_InstructionEncoder: never;
322
320
 
323
321
  readonly CodeBuilder: BlobBuilder;
324
- readonly ControlFlowBuilder: ControlFlowBuilder | undefined;
322
+ readonly ControlFlowBuilder: ControlFlowBuilder | null;
325
323
  readonly Offset: int;
326
324
  Branch(code: ILOpCode, label: LabelHandle): void;
327
325
  Call(methodHandle: EntityHandle): void;
@@ -350,7 +348,7 @@ export interface InstructionEncoder$instance {
350
348
 
351
349
 
352
350
  export const InstructionEncoder: {
353
- new(codeBuilder: BlobBuilder, controlFlowBuilder: ControlFlowBuilder): InstructionEncoder;
351
+ new(codeBuilder: BlobBuilder, controlFlowBuilder: ControlFlowBuilder | null): InstructionEncoder;
354
352
  };
355
353
 
356
354
 
@@ -364,7 +362,7 @@ export interface LabelHandle$instance {
364
362
  readonly Id: int;
365
363
  readonly IsNil: boolean;
366
364
  Equals(other: LabelHandle): boolean;
367
- Equals(obj: unknown): boolean;
365
+ Equals(obj: JsValue | null): boolean;
368
366
  GetHashCode(): int;
369
367
  }
370
368
 
@@ -622,9 +620,9 @@ export interface ScalarEncoder$instance {
622
620
  readonly __tsonic_type_System_Reflection_Metadata_Ecma335_ScalarEncoder: never;
623
621
 
624
622
  readonly Builder: BlobBuilder;
625
- Constant(value: unknown): void;
623
+ Constant(value: JsValue | null): void;
626
624
  NullArray(): void;
627
- SystemType(serializedTypeName: string): void;
625
+ SystemType(serializedTypeName: string | null): void;
628
626
  }
629
627
 
630
628
 
@@ -752,7 +750,7 @@ export interface MetadataAggregator$instance {
752
750
 
753
751
  export const MetadataAggregator: {
754
752
  new(baseReader: MetadataReader, deltaReaders: IReadOnlyList_1<MetadataReader>): MetadataAggregator;
755
- new(baseTableRowCounts: IReadOnlyList_1<System_Internal.Int32>, baseHeapSizes: IReadOnlyList_1<System_Internal.Int32>, deltaReaders: IReadOnlyList_1<MetadataReader>): MetadataAggregator;
753
+ new(baseTableRowCounts: IReadOnlyList_1<System_Internal.Int32> | null, baseHeapSizes: IReadOnlyList_1<System_Internal.Int32> | null, deltaReaders: IReadOnlyList_1<MetadataReader> | null): MetadataAggregator;
756
754
  };
757
755
 
758
756
 
@@ -764,7 +762,7 @@ export interface MetadataBuilder$instance {
764
762
  AddAssembly(name: StringHandle, version: Version, culture: StringHandle, publicKey: BlobHandle, flags: AssemblyFlags, hashAlgorithm: AssemblyHashAlgorithm): AssemblyDefinitionHandle;
765
763
  AddAssemblyFile(name: StringHandle, hashValue: BlobHandle, containsMetadata: boolean): AssemblyFileHandle;
766
764
  AddAssemblyReference(name: StringHandle, version: Version, culture: StringHandle, publicKeyOrToken: BlobHandle, flags: AssemblyFlags, hashValue: BlobHandle): AssemblyReferenceHandle;
767
- AddConstant(parent: EntityHandle, value: unknown): ConstantHandle;
765
+ AddConstant(parent: EntityHandle, value: JsValue | null): ConstantHandle;
768
766
  AddCustomAttribute(parent: EntityHandle, constructor: EntityHandle, value: BlobHandle): CustomAttributeHandle;
769
767
  AddCustomDebugInformation(parent: EntityHandle, kind: GuidHandle, value: BlobHandle): CustomDebugInformationHandle;
770
768
  AddDeclarativeSecurityAttribute(parent: EntityHandle, action: DeclarativeSecurityAction, permissionSet: BlobHandle): DeclarativeSecurityAttributeHandle;
@@ -810,7 +808,7 @@ export interface MetadataBuilder$instance {
810
808
  GetOrAddBlob(value: ImmutableArray_1<System_Internal.Byte>): BlobHandle;
811
809
  GetOrAddBlobUTF16(value: string): BlobHandle;
812
810
  GetOrAddBlobUTF8(value: string, allowUnpairedSurrogates?: boolean): BlobHandle;
813
- GetOrAddConstantBlob(value: unknown): BlobHandle;
811
+ GetOrAddConstantBlob(value: JsValue | null): BlobHandle;
814
812
  GetOrAddDocumentName(value: string): BlobHandle;
815
813
  GetOrAddGuid(guid: Guid): GuidHandle;
816
814
  GetOrAddString(value: string): StringHandle;
@@ -842,7 +840,7 @@ export interface MetadataRootBuilder$instance {
842
840
 
843
841
 
844
842
  export const MetadataRootBuilder: {
845
- new(tablesAndHeaps: MetadataBuilder, metadataVersion: string, suppressValidation: boolean): MetadataRootBuilder;
843
+ new(tablesAndHeaps: MetadataBuilder, metadataVersion: string | null, suppressValidation: boolean): MetadataRootBuilder;
846
844
  };
847
845
 
848
846
 
@@ -875,7 +873,7 @@ export interface PortablePdbBuilder$instance {
875
873
 
876
874
 
877
875
  export const PortablePdbBuilder: {
878
- new(tablesAndHeaps: MetadataBuilder, typeSystemRowCounts: ImmutableArray_1<System_Internal.Int32>, entryPoint: MethodDefinitionHandle, idProvider: Func_2<IEnumerable_1<Blob>, BlobContentId>): PortablePdbBuilder;
876
+ new(tablesAndHeaps: MetadataBuilder, typeSystemRowCounts: ImmutableArray_1<System_Internal.Int32>, entryPoint: MethodDefinitionHandle, idProvider: Func_2<IEnumerable_1<Blob>, BlobContentId> | null): PortablePdbBuilder;
879
877
  };
880
878
 
881
879
 
@@ -3851,6 +3851,64 @@
3851
3851
  }
3852
3852
  ]
3853
3853
  },
3854
+ {
3855
+ "stableId": "System.Reflection.Metadata:System.Reflection.PortableExecutable.PEBuilder\u002BSection",
3856
+ "clrName": "System.Reflection.PortableExecutable.PEBuilder\u002BSection",
3857
+ "assemblyName": "System.Reflection.Metadata",
3858
+ "metadataToken": 0,
3859
+ "kind": "Struct",
3860
+ "accessibility": "Protected",
3861
+ "isAbstract": false,
3862
+ "isSealed": true,
3863
+ "isStatic": false,
3864
+ "arity": 0,
3865
+ "baseType": {
3866
+ "stableId": "System.Private.CoreLib:System.ValueType",
3867
+ "clrName": "System.ValueType"
3868
+ },
3869
+ "methods": [],
3870
+ "properties": [],
3871
+ "fields": [
3872
+ {
3873
+ "stableId": "System.Reflection.Metadata:System.Reflection.PortableExecutable.PEBuilder\u002BSection::NameSystem.String",
3874
+ "clrName": "Name",
3875
+ "metadataToken": 67109108,
3876
+ "normalizedSignature": "Name|System.String|static=false|const=false",
3877
+ "isStatic": false,
3878
+ "isReadOnly": true,
3879
+ "isLiteral": false,
3880
+ "visibility": "Public",
3881
+ "declaringClrType": "System.Reflection.PortableExecutable.PEBuilder\u002BSection",
3882
+ "declaringAssemblyName": "System.Reflection.Metadata"
3883
+ },
3884
+ {
3885
+ "stableId": "System.Reflection.Metadata:System.Reflection.PortableExecutable.PEBuilder\u002BSection::CharacteristicsSystem.Reflection.PortableExecutable.SectionCharacteristics",
3886
+ "clrName": "Characteristics",
3887
+ "metadataToken": 67109109,
3888
+ "normalizedSignature": "Characteristics|System.Reflection.PortableExecutable.SectionCharacteristics|static=false|const=false",
3889
+ "isStatic": false,
3890
+ "isReadOnly": true,
3891
+ "isLiteral": false,
3892
+ "visibility": "Public",
3893
+ "declaringClrType": "System.Reflection.PortableExecutable.PEBuilder\u002BSection",
3894
+ "declaringAssemblyName": "System.Reflection.Metadata"
3895
+ }
3896
+ ],
3897
+ "events": [],
3898
+ "constructors": [
3899
+ {
3900
+ "stableId": "System.Reflection.Metadata:System.Reflection.PortableExecutable.PEBuilder\u002BSection::.ctor(System.String,System.Reflection.PortableExecutable.SectionCharacteristics):void",
3901
+ "metadataToken": 100663640,
3902
+ "canonicalSignature": "(System.String,System.Reflection.PortableExecutable.SectionCharacteristics):void",
3903
+ "normalizedSignature": "constructor|(System.String,System.Reflection.PortableExecutable.SectionCharacteristics):void|static=false",
3904
+ "isStatic": false,
3905
+ "parameterCount": 2,
3906
+ "visibility": "Public",
3907
+ "declaringClrType": "System.Reflection.PortableExecutable.PEBuilder\u002BSection",
3908
+ "declaringAssemblyName": "System.Reflection.Metadata"
3909
+ }
3910
+ ]
3911
+ },
3854
3912
  {
3855
3913
  "stableId": "System.Reflection.Metadata:System.Reflection.PortableExecutable.PEDirectoriesBuilder",
3856
3914
  "clrName": "System.Reflection.PortableExecutable.PEDirectoriesBuilder",
@@ -2,11 +2,9 @@
2
2
  // Namespace: System.Reflection.PortableExecutable
3
3
  // Assembly: System.Reflection.Metadata
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 { IEnumerable_1 } from "../../System.Collections.Generic/internal/index.js";
@@ -382,7 +380,7 @@ export type DebugDirectoryBuilder = DebugDirectoryBuilder$instance;
382
380
  export interface ManagedPEBuilder$instance extends PEBuilder {
383
381
  readonly __tsonic_type_System_Reflection_PortableExecutable_ManagedPEBuilder: never;
384
382
 
385
- CreateSections(): ImmutableArray_1<unknown>;
383
+ CreateSections(): ImmutableArray_1<PEBuilder_Section>;
386
384
  GetDirectories(): PEDirectoriesBuilder;
387
385
  SerializeSection(name: string, location: SectionLocation): BlobBuilder;
388
386
  Sign(peImage: BlobBuilder, signatureProvider: Func_2<IEnumerable_1<Blob>, byte[]>): void;
@@ -390,7 +388,7 @@ export interface ManagedPEBuilder$instance extends PEBuilder {
390
388
 
391
389
 
392
390
  export const ManagedPEBuilder: {
393
- new(header: PEHeaderBuilder, metadataRootBuilder: MetadataRootBuilder, ilStream: BlobBuilder, mappedFieldData: BlobBuilder, managedResources: BlobBuilder, nativeResources: ResourceSectionBuilder, debugDirectoryBuilder: DebugDirectoryBuilder, strongNameSignatureSize: int, entryPoint: MethodDefinitionHandle, flags: CorFlags, deterministicIdProvider: Func_2<IEnumerable_1<Blob>, BlobContentId>): ManagedPEBuilder;
391
+ new(header: PEHeaderBuilder, metadataRootBuilder: MetadataRootBuilder, ilStream: BlobBuilder, mappedFieldData: BlobBuilder | null, managedResources: BlobBuilder | null, nativeResources: ResourceSectionBuilder | null, debugDirectoryBuilder: DebugDirectoryBuilder | null, strongNameSignatureSize: int, entryPoint: MethodDefinitionHandle, flags: CorFlags, deterministicIdProvider: Func_2<IEnumerable_1<Blob>, BlobContentId> | null): ManagedPEBuilder;
394
392
  readonly ManagedResourcesDataAlignment: int;
395
393
  readonly MappedFieldDataAlignment: int;
396
394
  };
@@ -404,19 +402,34 @@ export interface PEBuilder$instance {
404
402
  readonly Header: PEHeaderBuilder;
405
403
  readonly IdProvider: Func_2<IEnumerable_1<Blob>, BlobContentId>;
406
404
  readonly IsDeterministic: boolean;
407
- CreateSections(): ImmutableArray_1<unknown>;
405
+ CreateSections(): ImmutableArray_1<PEBuilder_Section>;
408
406
  GetDirectories(): PEDirectoriesBuilder;
409
407
  Serialize(builder: BlobBuilder): BlobContentId;
410
408
  SerializeSection(name: string, location: SectionLocation): BlobBuilder;
411
409
  }
412
410
 
413
411
 
414
- export const PEBuilder: (abstract new(header: PEHeaderBuilder, deterministicIdProvider: Func_2<IEnumerable_1<Blob>, BlobContentId>) => PEBuilder) & {
412
+ export const PEBuilder: (abstract new(header: PEHeaderBuilder, deterministicIdProvider: Func_2<IEnumerable_1<Blob>, BlobContentId> | null) => PEBuilder) & {
415
413
  };
416
414
 
417
415
 
418
416
  export type PEBuilder = PEBuilder$instance;
419
417
 
418
+ export interface PEBuilder_Section$instance {
419
+ readonly __tsonic_type_System_Reflection_PortableExecutable_PEBuilder_Section: never;
420
+
421
+ readonly Name: string;
422
+ readonly Characteristics: SectionCharacteristics;
423
+ }
424
+
425
+
426
+ export const PEBuilder_Section: {
427
+ new(name: string, characteristics: SectionCharacteristics): PEBuilder_Section;
428
+ };
429
+
430
+
431
+ export type PEBuilder_Section = PEBuilder_Section$instance;
432
+
420
433
  export interface PEDirectoriesBuilder$instance {
421
434
  readonly __tsonic_type_System_Reflection_PortableExecutable_PEDirectoriesBuilder: never;
422
435
 
@@ -539,7 +552,7 @@ export interface PEHeaders$instance {
539
552
 
540
553
  readonly CoffHeader: CoffHeader;
541
554
  readonly CoffHeaderStartOffset: int;
542
- readonly CorHeader: CorHeader | undefined;
555
+ readonly CorHeader: CorHeader | null;
543
556
  readonly CorHeaderStartOffset: int;
544
557
  readonly IsCoffOnly: boolean;
545
558
  readonly IsConsoleApplication: boolean;
@@ -547,7 +560,7 @@ export interface PEHeaders$instance {
547
560
  readonly IsExe: boolean;
548
561
  readonly MetadataSize: int;
549
562
  readonly MetadataStartOffset: int;
550
- readonly PEHeader: PEHeader | undefined;
563
+ readonly PEHeader: PEHeader | null;
551
564
  readonly PEHeaderStartOffset: int;
552
565
  readonly SectionHeaders: ImmutableArray_1<SectionHeader>;
553
566
  GetContainingSectionIndex(relativeVirtualAddress: int): int;
@@ -582,7 +595,7 @@ export interface PEReader$instance extends System_Internal.IDisposable$instance
582
595
  ReadDebugDirectory(): ImmutableArray_1<DebugDirectoryEntry>;
583
596
  ReadEmbeddedPortablePdbDebugDirectoryData(entry: DebugDirectoryEntry): MetadataReaderProvider;
584
597
  ReadPdbChecksumDebugDirectoryData(entry: DebugDirectoryEntry): PdbChecksumDebugDirectoryData;
585
- TryOpenAssociatedPortablePdb(peImagePath: string, pdbFileStreamProvider: Func_2<System_Internal.String, Stream>, pdbReaderProvider: MetadataReaderProvider, pdbPath: string): boolean;
598
+ TryOpenAssociatedPortablePdb(peImagePath: string, pdbFileStreamProvider: Func_2<System_Internal.String, Stream | null>, pdbReaderProvider: MetadataReaderProvider | null, pdbPath: string | null): boolean;
586
599
  }
587
600
 
588
601
 
@@ -16,6 +16,7 @@ import type { Action_2, Boolean as ClrBoolean, Byte, Enum, Func_2, Guid, ICompar
16
16
  // Public API exports (curated - no internal $instance/$views leakage)
17
17
  export { ManagedPEBuilder as ManagedPEBuilder } from './System.Reflection.PortableExecutable/internal/index.js';
18
18
  export { PEBuilder as PEBuilder } from './System.Reflection.PortableExecutable/internal/index.js';
19
+ export { PEBuilder_Section as PEBuilder_Section } from './System.Reflection.PortableExecutable/internal/index.js';
19
20
  export { DebugDirectoryBuilder as DebugDirectoryBuilder } from './System.Reflection.PortableExecutable/internal/index.js';
20
21
  export { PdbChecksumDebugDirectoryData as PdbChecksumDebugDirectoryData } from './System.Reflection.PortableExecutable/internal/index.js';
21
22
  export { PEDirectoriesBuilder as PEDirectoriesBuilder } from './System.Reflection.PortableExecutable/internal/index.js';
@@ -2,11 +2,9 @@
2
2
  // Namespace: System.Resources
3
3
  // Assembly: System.Private.CoreLib, System.Resources.Writer
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 * as System_Collections_Internal from "../../System.Collections/internal/index.js";
@@ -42,9 +40,9 @@ export type IResourceReader = IResourceReader$instance;
42
40
  export interface IResourceWriter$instance extends IDisposable {
43
41
  readonly __tsonic_iface_System_Resources_IResourceWriter: never;
44
42
 
45
- AddResource(name: string, value: byte[]): void;
46
- AddResource(name: string, value: unknown): void;
47
- AddResource(name: string, value: string): void;
43
+ AddResource(name: string, value: byte[] | null): void;
44
+ AddResource(name: string, value: JsValue | null): void;
45
+ AddResource(name: string, value: string | null): void;
48
46
  Close(): void;
49
47
  Dispose(): void;
50
48
  }
@@ -64,8 +62,8 @@ export interface MissingManifestResourceException$instance extends SystemExcepti
64
62
 
65
63
  export const MissingManifestResourceException: {
66
64
  new(): MissingManifestResourceException;
67
- new(message: string): MissingManifestResourceException;
68
- new(message: string, inner: Exception): MissingManifestResourceException;
65
+ new(message: string | null): MissingManifestResourceException;
66
+ new(message: string | null, inner: Exception | null): MissingManifestResourceException;
69
67
  };
70
68
 
71
69
 
@@ -81,15 +79,15 @@ export interface MissingSatelliteAssemblyException$instance extends SystemExcept
81
79
 
82
80
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
83
81
 
84
- readonly CultureName: string | undefined;
82
+ readonly CultureName: string | null;
85
83
  }
86
84
 
87
85
 
88
86
  export const MissingSatelliteAssemblyException: {
89
87
  new(): MissingSatelliteAssemblyException;
90
- new(message: string): MissingSatelliteAssemblyException;
91
- new(message: string, cultureName: string): MissingSatelliteAssemblyException;
92
- new(message: string, inner: Exception): MissingSatelliteAssemblyException;
88
+ new(message: string | null): MissingSatelliteAssemblyException;
89
+ new(message: string | null, cultureName: string | null): MissingSatelliteAssemblyException;
90
+ new(message: string | null, inner: Exception | null): MissingSatelliteAssemblyException;
93
91
  };
94
92
 
95
93
 
@@ -122,28 +120,28 @@ export interface ResourceManager$instance {
122
120
  readonly BaseName: string;
123
121
  IgnoreCase: boolean;
124
122
  readonly ResourceSetType: Type;
125
- GetObject(name: string): unknown | undefined;
126
- GetObject(name: string, culture: CultureInfo): unknown | undefined;
123
+ GetObject(name: string): JsValue | null;
124
+ GetObject(name: string, culture: CultureInfo | null): JsValue | null;
127
125
  GetResourceFileName(culture: CultureInfo): string;
128
- GetResourceSet(culture: CultureInfo, createIfNotExists: boolean, tryParents: boolean): ResourceSet | undefined;
129
- GetStream(name: string): UnmanagedMemoryStream | undefined;
130
- GetStream(name: string, culture: CultureInfo): UnmanagedMemoryStream | undefined;
131
- GetString(name: string): string | undefined;
132
- GetString(name: string, culture: CultureInfo): string | undefined;
133
- InternalGetResourceSet(culture: CultureInfo, createIfNotExists: boolean, tryParents: boolean): ResourceSet | undefined;
126
+ GetResourceSet(culture: CultureInfo, createIfNotExists: boolean, tryParents: boolean): ResourceSet | null;
127
+ GetStream(name: string): UnmanagedMemoryStream | null;
128
+ GetStream(name: string, culture: CultureInfo | null): UnmanagedMemoryStream | null;
129
+ GetString(name: string): string | null;
130
+ GetString(name: string, culture: CultureInfo | null): string | null;
131
+ InternalGetResourceSet(culture: CultureInfo, createIfNotExists: boolean, tryParents: boolean): ResourceSet | null;
134
132
  ReleaseAllResources(): void;
135
133
  }
136
134
 
137
135
 
138
136
  export const ResourceManager: {
139
137
  new(baseName: string, assembly: Assembly): ResourceManager;
140
- new(baseName: string, assembly: Assembly, usingResourceSet: Type): ResourceManager;
138
+ new(baseName: string, assembly: Assembly, usingResourceSet: Type | null): ResourceManager;
141
139
  new(resourceSource: Type): ResourceManager;
142
140
  readonly MagicNumber: int;
143
141
  readonly HeaderVersionNumber: int;
144
- CreateFileBasedResourceManager(baseName: string, resourceDir: string, usingResourceSet: Type): ResourceManager;
142
+ CreateFileBasedResourceManager(baseName: string, resourceDir: string, usingResourceSet: Type | null): ResourceManager;
145
143
  GetNeutralResourcesLanguage(a: Assembly): CultureInfo;
146
- GetSatelliteContractVersion(a: Assembly): Version | undefined;
144
+ GetSatelliteContractVersion(a: Assembly): Version | null;
147
145
  };
148
146
 
149
147
 
@@ -190,10 +188,10 @@ export interface ResourceSet$instance {
190
188
  GetDefaultReader(): Type;
191
189
  GetDefaultWriter(): Type;
192
190
  GetEnumerator(): IDictionaryEnumerator;
193
- GetObject(name: string): unknown | undefined;
194
- GetObject(name: string, ignoreCase: boolean): unknown | undefined;
195
- GetString(name: string): string | undefined;
196
- GetString(name: string, ignoreCase: boolean): string | undefined;
191
+ GetObject(name: string): JsValue | null;
192
+ GetObject(name: string, ignoreCase: boolean): JsValue | null;
193
+ GetString(name: string): string | null;
194
+ GetString(name: string, ignoreCase: boolean): string | null;
197
195
  ReadResources(): void;
198
196
  }
199
197
 
@@ -219,13 +217,13 @@ export interface ResourceWriter$instance {
219
217
  readonly __tsonic_iface_System_IDisposable: never;
220
218
  readonly __tsonic_iface_System_Resources_IResourceWriter: never;
221
219
 
222
- get TypeNameConverter(): Func_2<Type, System_Internal.String> | undefined;
223
- set TypeNameConverter(value: Func_2<Type, System_Internal.String> | undefined);
224
- AddResource(name: string, value: Stream): void;
225
- AddResource(name: string, value: string): void;
226
- AddResource(name: string, value: unknown): void;
227
- AddResource(name: string, value: Stream, closeAfterWrite?: boolean): void;
228
- AddResource(name: string, value: byte[]): void;
220
+ get TypeNameConverter(): Func_2<Type, System_Internal.String> | null;
221
+ set TypeNameConverter(value: Func_2<Type, System_Internal.String> | null);
222
+ AddResource(name: string, value: Stream | null): void;
223
+ AddResource(name: string, value: string | null): void;
224
+ AddResource(name: string, value: JsValue | null): void;
225
+ AddResource(name: string, value: Stream | null, closeAfterWrite?: boolean): void;
226
+ AddResource(name: string, value: byte[] | null): void;
229
227
  AddResourceData(name: string, typeName: string, serializedData: byte[]): void;
230
228
  Close(): void;
231
229
  Dispose(): void;
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.Runtime
3
3
  // Assembly: System.Private.CoreLib
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { IDictionary } from "../../System.Collections/internal/index.js";
@@ -36,18 +37,18 @@ export interface DependentHandle$instance extends System_Internal.IDisposable$in
36
37
 
37
38
  readonly __tsonic_iface_System_IDisposable: never;
38
39
 
39
- get Dependent(): unknown | undefined;
40
- set Dependent(value: unknown | undefined);
40
+ get Dependent(): JsValue | null;
41
+ set Dependent(value: JsValue | null);
41
42
  readonly IsAllocated: boolean;
42
- get Target(): unknown | undefined;
43
- set Target(value: unknown | undefined);
44
- readonly TargetAndDependent: ValueTuple_2<unknown, unknown>;
43
+ get Target(): JsValue | null;
44
+ set Target(value: JsValue | null);
45
+ readonly TargetAndDependent: ValueTuple_2<JsValue, JsValue>;
45
46
  Dispose(): void;
46
47
  }
47
48
 
48
49
 
49
50
  export const DependentHandle: {
50
- new(target: unknown, dependent: unknown): DependentHandle;
51
+ new(target: JsValue | null, dependent: JsValue | null): DependentHandle;
51
52
  };
52
53
 
53
54
 
@@ -68,8 +69,8 @@ export interface AmbiguousImplementationException$instance extends Exception, Sy
68
69
 
69
70
  export const AmbiguousImplementationException: {
70
71
  new(): AmbiguousImplementationException;
71
- new(message: string): AmbiguousImplementationException;
72
- new(message: string, innerException: Exception): AmbiguousImplementationException;
72
+ new(message: string | null): AmbiguousImplementationException;
73
+ new(message: string | null, innerException: Exception | null): AmbiguousImplementationException;
73
74
  };
74
75
 
75
76
 
@@ -157,7 +158,7 @@ export type JitInfo = JitInfo$instance;
157
158
 
158
159
  export abstract class ProfileOptimization$instance {
159
160
  static SetProfileRoot(directoryPath: string): void;
160
- static StartProfile(profile: string): void;
161
+ static StartProfile(profile: string | null): void;
161
162
  }
162
163
 
163
164