@tsonic/dotnet 10.0.2 → 10.0.4

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 (109) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -3
  2. package/Microsoft.VisualBasic/internal/index.d.ts +1 -11
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +0 -22
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -9
  5. package/Microsoft.Win32/internal/index.d.ts +0 -1
  6. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +53 -127
  7. package/System/internal/index.d.ts +87 -200
  8. package/System.Buffers/internal/index.d.ts +10 -23
  9. package/System.CodeDom.Compiler/internal/index.d.ts +6 -10
  10. package/System.Collections/internal/index.d.ts +41 -57
  11. package/System.Collections.Concurrent/internal/index.d.ts +4 -10
  12. package/System.Collections.Generic/internal/index.d.ts +15 -37
  13. package/System.Collections.Immutable/internal/index.d.ts +7 -20
  14. package/System.Collections.ObjectModel/internal/index.d.ts +25 -48
  15. package/System.Collections.Specialized/internal/index.d.ts +15 -30
  16. package/System.ComponentModel/internal/index.d.ts +126 -216
  17. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +80 -161
  18. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +4 -3
  19. package/System.ComponentModel.Design/internal/index.d.ts +26 -53
  20. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +18 -29
  21. package/System.Data/internal/index.d.ts +110 -188
  22. package/System.Data.Common/internal/index.d.ts +155 -238
  23. package/System.Data.SqlTypes/internal/index.d.ts +6 -7
  24. package/System.Diagnostics/internal/index.d.ts +105 -169
  25. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +24 -21
  26. package/System.Diagnostics.Contracts/internal/index.d.ts +2 -2
  27. package/System.Diagnostics.Metrics/internal/index.d.ts +31 -66
  28. package/System.Diagnostics.Tracing/internal/index.d.ts +26 -35
  29. package/System.Dynamic/internal/index.d.ts +15 -29
  30. package/System.Formats.Asn1/internal/index.d.ts +0 -1
  31. package/System.Formats.Tar/internal/index.d.ts +1 -1
  32. package/System.Globalization/internal/index.d.ts +17 -51
  33. package/System.IO/internal/index.d.ts +47 -123
  34. package/System.IO.Compression/internal/index.d.ts +11 -33
  35. package/System.IO.Enumeration/internal/index.d.ts +11 -16
  36. package/System.IO.IsolatedStorage/internal/index.d.ts +6 -17
  37. package/System.IO.MemoryMappedFiles/internal/index.d.ts +6 -21
  38. package/System.IO.Pipelines/internal/index.d.ts +7 -18
  39. package/System.IO.Pipes/internal/index.d.ts +24 -50
  40. package/System.Linq/internal/index.d.ts +0 -4
  41. package/System.Linq.Expressions/internal/index.d.ts +108 -257
  42. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -1
  43. package/System.Net/internal/index.d.ts +133 -184
  44. package/System.Net.Http/internal/index.d.ts +128 -201
  45. package/System.Net.Http.Headers/internal/index.d.ts +37 -40
  46. package/System.Net.Http.Json/internal/index.d.ts +8 -13
  47. package/System.Net.Http.Metrics/internal/index.d.ts +2 -3
  48. package/System.Net.Mail/internal/index.d.ts +49 -105
  49. package/System.Net.Mime/internal/index.d.ts +4 -3
  50. package/System.Net.NetworkInformation/internal/index.d.ts +29 -60
  51. package/System.Net.Quic/internal/index.d.ts +5 -11
  52. package/System.Net.Security/internal/index.d.ts +30 -42
  53. package/System.Net.ServerSentEvents/internal/index.d.ts +1 -2
  54. package/System.Net.Sockets/internal/index.d.ts +33 -56
  55. package/System.Net.WebSockets/internal/index.d.ts +16 -23
  56. package/System.Numerics/internal/index.d.ts +5 -5
  57. package/System.Reflection/internal/index.d.ts +66 -102
  58. package/System.Reflection.Emit/internal/index.d.ts +104 -177
  59. package/System.Reflection.Metadata/internal/index.d.ts +11 -21
  60. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +0 -1
  61. package/System.Reflection.PortableExecutable/internal/index.d.ts +12 -30
  62. package/System.Resources/internal/index.d.ts +8 -20
  63. package/System.Runtime/internal/index.d.ts +5 -8
  64. package/System.Runtime.CompilerServices/internal/index.d.ts +15 -21
  65. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -8
  66. package/System.Runtime.ExceptionServices/internal/index.d.ts +0 -1
  67. package/System.Runtime.InteropServices/internal/index.d.ts +29 -62
  68. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +1 -22
  69. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +14 -23
  70. package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
  71. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -2
  72. package/System.Runtime.Loader/internal/index.d.ts +5 -11
  73. package/System.Runtime.Serialization/internal/index.d.ts +62 -65
  74. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +8 -10
  75. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  76. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -2
  77. package/System.Runtime.Serialization.Json/internal/index.d.ts +6 -4
  78. package/System.Runtime.Versioning/internal/index.d.ts +6 -6
  79. package/System.Security/internal/index.d.ts +22 -25
  80. package/System.Security.AccessControl/internal/index.d.ts +51 -89
  81. package/System.Security.Authentication/internal/index.d.ts +0 -2
  82. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -10
  83. package/System.Security.Claims/internal/index.d.ts +19 -38
  84. package/System.Security.Cryptography/internal/index.d.ts +492 -903
  85. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +19 -48
  86. package/System.Security.Permissions/internal/index.d.ts +2 -4
  87. package/System.Security.Policy/internal/index.d.ts +3 -4
  88. package/System.Security.Principal/internal/index.d.ts +11 -17
  89. package/System.Text/internal/index.d.ts +11 -23
  90. package/System.Text.Encodings.Web/internal/index.d.ts +4 -8
  91. package/System.Text.Json/internal/index.d.ts +10 -12
  92. package/System.Text.Json.Nodes/internal/index.d.ts +4 -3
  93. package/System.Text.Json.Schema/internal/index.d.ts +1 -1
  94. package/System.Text.Json.Serialization/internal/index.d.ts +19 -27
  95. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +36 -34
  96. package/System.Text.RegularExpressions/internal/index.d.ts +11 -31
  97. package/System.Threading/internal/index.d.ts +36 -106
  98. package/System.Threading.Channels/internal/index.d.ts +7 -12
  99. package/System.Threading.Tasks/internal/index.d.ts +18 -29
  100. package/System.Timers/internal/index.d.ts +4 -8
  101. package/System.Transactions/internal/index.d.ts +3 -14
  102. package/System.Xml/internal/index.d.ts +104 -167
  103. package/System.Xml.Linq/internal/index.d.ts +17 -13
  104. package/System.Xml.Schema/internal/index.d.ts +117 -112
  105. package/System.Xml.Serialization/internal/index.d.ts +92 -100
  106. package/System.Xml.XPath/internal/index.d.ts +5 -9
  107. package/System.Xml.Xsl/internal/index.d.ts +4 -9
  108. package/System.Xml.Xsl.Runtime/internal/index.d.ts +11 -29
  109. package/package.json +1 -1
@@ -1104,9 +1104,9 @@ export type CustomAttributeHandleCollection_Enumerator = CustomAttributeHandleCo
1104
1104
 
1105
1105
  export interface CustomAttributeNamedArgument_1$instance<TType> {
1106
1106
  readonly Kind: CustomAttributeNamedArgumentKind;
1107
- readonly Name: string;
1107
+ readonly Name: string | undefined;
1108
1108
  readonly Type: TType;
1109
- readonly Value: unknown;
1109
+ readonly Value: unknown | undefined;
1110
1110
  }
1111
1111
 
1112
1112
 
@@ -1119,7 +1119,7 @@ export type CustomAttributeNamedArgument_1<TType> = CustomAttributeNamedArgument
1119
1119
 
1120
1120
  export interface CustomAttributeTypedArgument_1$instance<TType> {
1121
1121
  readonly Type: TType;
1122
- readonly Value: unknown;
1122
+ readonly Value: unknown | undefined;
1123
1123
  }
1124
1124
 
1125
1125
 
@@ -1758,7 +1758,7 @@ export type GenericParameterConstraintHandle = GenericParameterConstraintHandle$
1758
1758
 
1759
1759
  export interface GenericParameterConstraintHandleCollection$instance {
1760
1760
  readonly Count: int;
1761
- readonly Item: GenericParameterConstraintHandle;
1761
+ readonly [index: number]: GenericParameterConstraintHandle;
1762
1762
  GetEnumerator(): GenericParameterConstraintHandleCollection_Enumerator;
1763
1763
  }
1764
1764
 
@@ -1822,7 +1822,7 @@ export type GenericParameterHandle = GenericParameterHandle$instance & __Generic
1822
1822
 
1823
1823
  export interface GenericParameterHandleCollection$instance {
1824
1824
  readonly Count: int;
1825
- readonly Item: GenericParameterHandle;
1825
+ readonly [index: number]: GenericParameterHandle;
1826
1826
  GetEnumerator(): GenericParameterHandleCollection_Enumerator;
1827
1827
  }
1828
1828
 
@@ -3577,12 +3577,12 @@ export type UserStringHandle = UserStringHandle$instance & __UserStringHandle$vi
3577
3577
 
3578
3578
 
3579
3579
  export interface AssemblyNameInfo$instance {
3580
- readonly CultureName: string;
3580
+ readonly CultureName: string | undefined;
3581
3581
  readonly Flags: AssemblyNameFlags;
3582
3582
  readonly FullName: string;
3583
3583
  readonly Name: string;
3584
3584
  readonly PublicKeyOrToken: ImmutableArray_1<System_Internal.Byte>;
3585
- readonly Version: Version;
3585
+ readonly Version: Version | undefined;
3586
3586
  ToAssemblyName(): AssemblyName;
3587
3587
  }
3588
3588
 
@@ -3596,17 +3596,13 @@ export const AssemblyNameInfo: {
3596
3596
 
3597
3597
  export type AssemblyNameInfo = AssemblyNameInfo$instance;
3598
3598
 
3599
- export abstract class BlobBuilder$protected {
3600
- protected AllocateChunk(minimalSize: int): BlobBuilder;
3601
- protected FreeChunk(): void;
3602
- }
3603
-
3604
-
3605
- export interface BlobBuilder$instance extends BlobBuilder$protected {
3599
+ export interface BlobBuilder$instance {
3606
3600
  readonly Count: int;
3607
3601
  Align(alignment: int): void;
3602
+ AllocateChunk(minimalSize: int): BlobBuilder;
3608
3603
  Clear(): void;
3609
3604
  ContentEquals(other: BlobBuilder): boolean;
3605
+ FreeChunk(): void;
3610
3606
  GetBlobs(): BlobBuilder_Blobs;
3611
3607
  LinkPrefix(prefix: BlobBuilder): void;
3612
3608
  LinkSuffix(suffix: BlobBuilder): void;
@@ -3671,7 +3667,6 @@ export interface DebugMetadataHeader$instance {
3671
3667
 
3672
3668
 
3673
3669
  export const DebugMetadataHeader: {
3674
- new(): DebugMetadataHeader;
3675
3670
  };
3676
3671
 
3677
3672
 
@@ -3688,7 +3683,6 @@ export interface HandleComparer$instance {
3688
3683
 
3689
3684
 
3690
3685
  export const HandleComparer: {
3691
- new(): HandleComparer;
3692
3686
  readonly Default: HandleComparer;
3693
3687
  };
3694
3688
 
@@ -3712,7 +3706,6 @@ export const ImageFormatLimitationException: {
3712
3706
  new(): ImageFormatLimitationException;
3713
3707
  new(message: string): ImageFormatLimitationException;
3714
3708
  new(message: string, innerException: Exception): ImageFormatLimitationException;
3715
- new(info: SerializationInfo, context: StreamingContext): ImageFormatLimitationException;
3716
3709
  };
3717
3710
 
3718
3711
 
@@ -3821,7 +3814,6 @@ export interface MetadataReaderProvider$instance {
3821
3814
 
3822
3815
 
3823
3816
  export const MetadataReaderProvider: {
3824
- new(): MetadataReaderProvider;
3825
3817
  FromMetadataImage(start: ptr<byte>, size: int): MetadataReaderProvider;
3826
3818
  FromMetadataImage(image: ImmutableArray_1<System_Internal.Byte>): MetadataReaderProvider;
3827
3819
  FromMetadataStream(stream: Stream, options?: MetadataStreamOptions, size?: int): MetadataReaderProvider;
@@ -3879,7 +3871,6 @@ export interface MethodBodyBlock$instance {
3879
3871
 
3880
3872
 
3881
3873
  export const MethodBodyBlock: {
3882
- new(): MethodBodyBlock;
3883
3874
  Create(reader: BlobReader): MethodBodyBlock;
3884
3875
  };
3885
3876
 
@@ -3887,7 +3878,7 @@ export const MethodBodyBlock: {
3887
3878
  export type MethodBodyBlock = MethodBodyBlock$instance;
3888
3879
 
3889
3880
  export interface TypeName$instance {
3890
- readonly AssemblyName: AssemblyNameInfo;
3881
+ readonly AssemblyName: AssemblyNameInfo | undefined;
3891
3882
  readonly AssemblyQualifiedName: string;
3892
3883
  readonly DeclaringType: TypeName;
3893
3884
  readonly FullName: string;
@@ -3916,7 +3907,6 @@ export interface TypeName$instance {
3916
3907
 
3917
3908
 
3918
3909
  export const TypeName: {
3919
- new(): TypeName;
3920
3910
  Parse(typeName: ReadOnlySpan_1<System_Internal.Char>, options?: TypeNameParseOptions): TypeName;
3921
3911
  TryParse(typeName: ReadOnlySpan_1<System_Internal.Char>, result: TypeName, options?: TypeNameParseOptions): boolean;
3922
3912
  Unescape(name: string): string;
@@ -781,7 +781,6 @@ export interface MetadataSizes$instance {
781
781
 
782
782
 
783
783
  export const MetadataSizes: {
784
- new(): MetadataSizes;
785
784
  };
786
785
 
787
786
 
@@ -315,7 +315,6 @@ export interface CoffHeader$instance {
315
315
 
316
316
 
317
317
  export const CoffHeader: {
318
- new(): CoffHeader;
319
318
  };
320
319
 
321
320
 
@@ -337,7 +336,6 @@ export interface CorHeader$instance {
337
336
 
338
337
 
339
338
  export const CorHeader: {
340
- new(): CorHeader;
341
339
  };
342
340
 
343
341
 
@@ -361,15 +359,10 @@ export const DebugDirectoryBuilder: {
361
359
 
362
360
  export type DebugDirectoryBuilder = DebugDirectoryBuilder$instance;
363
361
 
364
- export abstract class ManagedPEBuilder$protected {
365
- protected CreateSections2(): ImmutableArray_1<PEBuilder_Section>;
366
- protected abstract CreateSections(): ImmutableArray_1<PEBuilder_Section>;
367
- protected GetDirectories(): PEDirectoriesBuilder;
368
- protected SerializeSection(name: string, location: SectionLocation): BlobBuilder;
369
- }
370
-
371
-
372
- export interface ManagedPEBuilder$instance extends ManagedPEBuilder$protected, PEBuilder {
362
+ export interface ManagedPEBuilder$instance extends PEBuilder {
363
+ CreateSections(): ImmutableArray_1<unknown>;
364
+ GetDirectories(): PEDirectoriesBuilder;
365
+ SerializeSection(name: string, location: SectionLocation): BlobBuilder;
373
366
  Sign(peImage: BlobBuilder, signatureProvider: Func_2<IEnumerable_1<Blob>, byte[]>): void;
374
367
  }
375
368
 
@@ -383,23 +376,18 @@ export const ManagedPEBuilder: {
383
376
 
384
377
  export type ManagedPEBuilder = ManagedPEBuilder$instance;
385
378
 
386
- export abstract class PEBuilder$protected {
387
- protected abstract CreateSections(): ImmutableArray_1<PEBuilder_Section>;
388
- protected abstract GetDirectories(): PEDirectoriesBuilder;
389
- protected abstract SerializeSection(name: string, location: SectionLocation): BlobBuilder;
390
- }
391
-
392
-
393
- export interface PEBuilder$instance extends PEBuilder$protected {
379
+ export interface PEBuilder$instance {
394
380
  readonly Header: PEHeaderBuilder;
395
381
  readonly IdProvider: Func_2<IEnumerable_1<Blob>, BlobContentId>;
396
382
  readonly IsDeterministic: boolean;
383
+ CreateSections(): ImmutableArray_1<unknown>;
384
+ GetDirectories(): PEDirectoriesBuilder;
397
385
  Serialize(builder: BlobBuilder): BlobContentId;
386
+ SerializeSection(name: string, location: SectionLocation): BlobBuilder;
398
387
  }
399
388
 
400
389
 
401
- export const PEBuilder: {
402
- new(header: PEHeaderBuilder, deterministicIdProvider: Func_2<IEnumerable_1<Blob>, BlobContentId>): PEBuilder;
390
+ export const PEBuilder: (abstract new(header: PEHeaderBuilder, deterministicIdProvider: Func_2<IEnumerable_1<Blob>, BlobContentId>) => PEBuilder) & {
403
391
  };
404
392
 
405
393
 
@@ -479,7 +467,6 @@ export interface PEHeader$instance {
479
467
 
480
468
 
481
469
  export const PEHeader: {
482
- new(): PEHeader;
483
470
  };
484
471
 
485
472
 
@@ -582,17 +569,12 @@ export interface PEReader$instance extends System_Internal.IDisposable$instance
582
569
  export type PEReader = PEReader$instance & __PEReader$views;
583
570
 
584
571
 
585
- export abstract class ResourceSectionBuilder$protected {
586
- protected abstract Serialize(builder: BlobBuilder, location: SectionLocation): void;
587
- }
588
-
589
-
590
- export interface ResourceSectionBuilder$instance extends ResourceSectionBuilder$protected {
572
+ export interface ResourceSectionBuilder$instance {
573
+ Serialize(builder: BlobBuilder, location: SectionLocation): void;
591
574
  }
592
575
 
593
576
 
594
- export const ResourceSectionBuilder: {
595
- new(): ResourceSectionBuilder;
577
+ export const ResourceSectionBuilder: (abstract new() => ResourceSectionBuilder) & {
596
578
  };
597
579
 
598
580
 
@@ -59,7 +59,6 @@ export const MissingManifestResourceException: {
59
59
  new(): MissingManifestResourceException;
60
60
  new(message: string): MissingManifestResourceException;
61
61
  new(message: string, inner: Exception): MissingManifestResourceException;
62
- new(info: SerializationInfo, context: StreamingContext): MissingManifestResourceException;
63
62
  };
64
63
 
65
64
 
@@ -71,7 +70,7 @@ export type MissingManifestResourceException = MissingManifestResourceException$
71
70
 
72
71
 
73
72
  export interface MissingSatelliteAssemblyException$instance extends SystemException {
74
- readonly CultureName: string;
73
+ readonly CultureName: string | undefined;
75
74
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
76
75
  }
77
76
 
@@ -81,7 +80,6 @@ export const MissingSatelliteAssemblyException: {
81
80
  new(message: string): MissingSatelliteAssemblyException;
82
81
  new(message: string, cultureName: string): MissingSatelliteAssemblyException;
83
82
  new(message: string, inner: Exception): MissingSatelliteAssemblyException;
84
- new(info: SerializationInfo, context: StreamingContext): MissingSatelliteAssemblyException;
85
83
  };
86
84
 
87
85
 
@@ -106,29 +104,24 @@ export const NeutralResourcesLanguageAttribute: {
106
104
 
107
105
  export type NeutralResourcesLanguageAttribute = NeutralResourcesLanguageAttribute$instance;
108
106
 
109
- export abstract class ResourceManager$protected {
110
- protected GetResourceFileName(culture: CultureInfo): string;
111
- protected InternalGetResourceSet(culture: CultureInfo, createIfNotExists: boolean, tryParents: boolean): ResourceSet | undefined;
112
- }
113
-
114
-
115
- export interface ResourceManager$instance extends ResourceManager$protected {
107
+ export interface ResourceManager$instance {
116
108
  readonly BaseName: string;
117
109
  IgnoreCase: boolean;
118
110
  readonly ResourceSetType: Type;
119
111
  GetObject(name: string): unknown | undefined;
120
112
  GetObject(name: string, culture: CultureInfo): unknown | undefined;
113
+ GetResourceFileName(culture: CultureInfo): string;
121
114
  GetResourceSet(culture: CultureInfo, createIfNotExists: boolean, tryParents: boolean): ResourceSet | undefined;
122
115
  GetStream(name: string): UnmanagedMemoryStream | undefined;
123
116
  GetStream(name: string, culture: CultureInfo): UnmanagedMemoryStream | undefined;
124
117
  GetString(name: string): string | undefined;
125
118
  GetString(name: string, culture: CultureInfo): string | undefined;
119
+ InternalGetResourceSet(culture: CultureInfo, createIfNotExists: boolean, tryParents: boolean): ResourceSet | undefined;
126
120
  ReleaseAllResources(): void;
127
121
  }
128
122
 
129
123
 
130
124
  export const ResourceManager: {
131
- new(): ResourceManager;
132
125
  new(baseName: string, assembly: Assembly): ResourceManager;
133
126
  new(baseName: string, assembly: Assembly, usingResourceSet: Type): ResourceManager;
134
127
  new(resourceSource: Type): ResourceManager;
@@ -165,14 +158,9 @@ export interface __ResourceReader$views {
165
158
  export type ResourceReader = ResourceReader$instance & __ResourceReader$views;
166
159
 
167
160
 
168
- export abstract class ResourceSet$protected {
169
- protected Dispose(disposing: boolean): void;
170
- protected ReadResources(): void;
171
- }
172
-
173
-
174
- export interface ResourceSet$instance extends ResourceSet$protected {
161
+ export interface ResourceSet$instance {
175
162
  Close(): void;
163
+ Dispose(disposing: boolean): void;
176
164
  Dispose(): void;
177
165
  GetDefaultReader(): Type;
178
166
  GetDefaultWriter(): Type;
@@ -181,11 +169,11 @@ export interface ResourceSet$instance extends ResourceSet$protected {
181
169
  GetObject(name: string, ignoreCase: boolean): unknown | undefined;
182
170
  GetString(name: string): string | undefined;
183
171
  GetString(name: string, ignoreCase: boolean): string | undefined;
172
+ ReadResources(): void;
184
173
  }
185
174
 
186
175
 
187
176
  export const ResourceSet: {
188
- new(): ResourceSet;
189
177
  new(fileName: string): ResourceSet;
190
178
  new(stream: Stream): ResourceSet;
191
179
  new(reader: IResourceReader): ResourceSet;
@@ -202,7 +190,7 @@ export type ResourceSet = ResourceSet$instance & __ResourceSet$views;
202
190
 
203
191
  export interface ResourceWriter$instance {
204
192
  get TypeNameConverter(): Func_2<Type, System_Internal.String> | undefined;
205
- set TypeNameConverter(value: Func_2<Type, System_Internal.String>);
193
+ set TypeNameConverter(value: Func_2<Type, System_Internal.String> | undefined);
206
194
  AddResource(name: string, value: Stream): void;
207
195
  AddResource(name: string, value: string): void;
208
196
  AddResource(name: string, value: unknown): void;
@@ -33,9 +33,10 @@ export enum GCLatencyMode {
33
33
 
34
34
  export interface DependentHandle$instance {
35
35
  get Dependent(): unknown | undefined;
36
- set Dependent(value: unknown);
36
+ set Dependent(value: unknown | undefined);
37
37
  readonly IsAllocated: boolean;
38
- Target: unknown;
38
+ get Target(): unknown | undefined;
39
+ set Target(value: unknown | undefined);
39
40
  readonly TargetAndDependent: ValueTuple_2<unknown, unknown>;
40
41
  Dispose(): void;
41
42
  }
@@ -86,13 +87,9 @@ export const AssemblyTargetedPatchBandAttribute: {
86
87
 
87
88
  export type AssemblyTargetedPatchBandAttribute = AssemblyTargetedPatchBandAttribute$instance;
88
89
 
89
- export abstract class MemoryFailPoint$protected {
90
- protected Finalize(): void;
91
- }
92
-
93
-
94
- export interface MemoryFailPoint$instance extends MemoryFailPoint$protected, CriticalFinalizerObject {
90
+ export interface MemoryFailPoint$instance extends CriticalFinalizerObject {
95
91
  Dispose(): void;
92
+ Finalize(): void;
96
93
  }
97
94
 
98
95
 
@@ -104,8 +104,7 @@ export type INotifyCompletion = INotifyCompletion$instance;
104
104
 
105
105
  export interface IRuntimeVariables$instance {
106
106
  readonly Count: int;
107
- get Item(): unknown | undefined;
108
- set Item(value: unknown);
107
+ [index: number]: unknown | undefined;
109
108
  }
110
109
 
111
110
 
@@ -113,7 +112,7 @@ export type IRuntimeVariables = IRuntimeVariables$instance;
113
112
 
114
113
  export interface IStrongBox$instance {
115
114
  get Value(): unknown | undefined;
116
- set Value(value: unknown);
115
+ set Value(value: unknown | undefined);
117
116
  }
118
117
 
119
118
 
@@ -121,7 +120,7 @@ export type IStrongBox = IStrongBox$instance;
121
120
 
122
121
  export interface ITuple$instance {
123
122
  readonly Length: int;
124
- readonly Item: unknown | undefined;
123
+ readonly [index: number]: unknown | undefined;
125
124
  }
126
125
 
127
126
 
@@ -934,12 +933,11 @@ export const CallerMemberNameAttribute: {
934
933
  export type CallerMemberNameAttribute = CallerMemberNameAttribute$instance;
935
934
 
936
935
  export interface CallSite$instance {
937
- readonly Binder: CallSiteBinder;
936
+ readonly Binder: CallSiteBinder | undefined;
938
937
  }
939
938
 
940
939
 
941
940
  export const CallSite: {
942
- new(): CallSite;
943
941
  Create(delegateType: Type, binder: CallSiteBinder): CallSite;
944
942
  };
945
943
 
@@ -953,7 +951,6 @@ export interface CallSite_1$instance<T> extends CallSite {
953
951
 
954
952
 
955
953
  export const CallSite_1: {
956
- new<T>(): CallSite_1<T>;
957
954
  };
958
955
 
959
956
 
@@ -965,8 +962,7 @@ export interface CallSiteBinder$instance {
965
962
  }
966
963
 
967
964
 
968
- export const CallSiteBinder: {
969
- new(): CallSiteBinder;
965
+ export const CallSiteBinder: (abstract new() => CallSiteBinder) & {
970
966
  readonly UpdateLabel: LabelTarget;
971
967
  };
972
968
 
@@ -1114,19 +1110,18 @@ export const CreateNewOnMetadataUpdateAttribute: {
1114
1110
  export type CreateNewOnMetadataUpdateAttribute = CreateNewOnMetadataUpdateAttribute$instance;
1115
1111
 
1116
1112
  export interface CustomConstantAttribute$instance extends Attribute {
1117
- readonly Value: unknown;
1113
+ readonly Value: unknown | unknown | undefined;
1118
1114
  }
1119
1115
 
1120
1116
 
1121
- export const CustomConstantAttribute: {
1122
- new(): CustomConstantAttribute;
1117
+ export const CustomConstantAttribute: (abstract new() => CustomConstantAttribute) & {
1123
1118
  };
1124
1119
 
1125
1120
 
1126
1121
  export type CustomConstantAttribute = CustomConstantAttribute$instance;
1127
1122
 
1128
1123
  export interface DateTimeConstantAttribute$instance extends CustomConstantAttribute {
1129
- readonly Value: unknown;
1124
+ readonly Value: unknown | unknown | undefined;
1130
1125
  }
1131
1126
 
1132
1127
 
@@ -1142,8 +1137,7 @@ export interface DebugInfoGenerator$instance {
1142
1137
  }
1143
1138
 
1144
1139
 
1145
- export const DebugInfoGenerator: {
1146
- new(): DebugInfoGenerator;
1140
+ export const DebugInfoGenerator: (abstract new() => DebugInfoGenerator) & {
1147
1141
  CreatePdbGenerator(): DebugInfoGenerator;
1148
1142
  };
1149
1143
 
@@ -1304,7 +1298,7 @@ export const HasCopySemanticsAttribute: {
1304
1298
  export type HasCopySemanticsAttribute = HasCopySemanticsAttribute$instance;
1305
1299
 
1306
1300
  export interface IDispatchConstantAttribute$instance extends CustomConstantAttribute {
1307
- readonly Value: unknown;
1301
+ readonly Value: unknown | unknown | undefined;
1308
1302
  }
1309
1303
 
1310
1304
 
@@ -1420,7 +1414,7 @@ export const IteratorStateMachineAttribute: {
1420
1414
  export type IteratorStateMachineAttribute = IteratorStateMachineAttribute$instance;
1421
1415
 
1422
1416
  export interface IUnknownConstantAttribute$instance extends CustomConstantAttribute {
1423
- readonly Value: unknown;
1417
+ readonly Value: unknown | unknown | undefined;
1424
1418
  }
1425
1419
 
1426
1420
 
@@ -1565,7 +1559,7 @@ export type PreserveBaseOverridesAttribute = PreserveBaseOverridesAttribute$inst
1565
1559
  export interface ReadOnlyCollectionBuilder_1$instance<T> {
1566
1560
  Capacity: int;
1567
1561
  readonly Count: int;
1568
- Item: T;
1562
+ [index: number]: T;
1569
1563
  Add(item: T): void;
1570
1564
  Clear(): void;
1571
1565
  Contains(item: T): boolean;
@@ -1602,7 +1596,7 @@ export type ReadOnlyCollectionBuilder_1<T> = ReadOnlyCollectionBuilder_1$instanc
1602
1596
 
1603
1597
 
1604
1598
  export interface ReferenceAssemblyAttribute$instance extends Attribute {
1605
- readonly Description: string;
1599
+ readonly Description: string | undefined;
1606
1600
  }
1607
1601
 
1608
1602
 
@@ -1665,7 +1659,6 @@ export interface RuleCache_1$instance<T> {
1665
1659
 
1666
1660
 
1667
1661
  export const RuleCache_1: {
1668
- new<T>(): RuleCache_1<T>;
1669
1662
  };
1670
1663
 
1671
1664
 
@@ -1860,7 +1853,8 @@ export type TypeForwardedToAttribute = TypeForwardedToAttribute$instance;
1860
1853
 
1861
1854
  export interface UnsafeAccessorAttribute$instance extends Attribute {
1862
1855
  readonly Kind: UnsafeAccessorKind;
1863
- Name: string;
1856
+ get Name(): string | undefined;
1857
+ set Name(value: string | undefined);
1864
1858
  }
1865
1859
 
1866
1860
 
@@ -24,17 +24,12 @@ export enum Consistency {
24
24
  }
25
25
 
26
26
 
27
- export abstract class CriticalFinalizerObject$protected {
28
- protected Finalize(): void;
27
+ export interface CriticalFinalizerObject$instance {
28
+ Finalize(): void;
29
29
  }
30
30
 
31
31
 
32
- export interface CriticalFinalizerObject$instance extends CriticalFinalizerObject$protected {
33
- }
34
-
35
-
36
- export const CriticalFinalizerObject: {
37
- new(): CriticalFinalizerObject;
32
+ export const CriticalFinalizerObject: (abstract new() => CriticalFinalizerObject) & {
38
33
  };
39
34
 
40
35
 
@@ -16,7 +16,6 @@ export interface ExceptionDispatchInfo$instance {
16
16
 
17
17
 
18
18
  export const ExceptionDispatchInfo: {
19
- new(): ExceptionDispatchInfo;
20
19
  Capture(source: Exception): ExceptionDispatchInfo;
21
20
  SetCurrentStackTrace(source: Exception): Exception;
22
21
  SetRemoteStackTrace(source: Exception, stackTrace: string): Exception;