@tsonic/dotnet 0.8.1 → 0.8.2

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 (127) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
  2. package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
  5. package/Microsoft.Win32/internal/index.d.ts +11 -11
  6. package/System/bindings.json +114 -114
  7. package/System/internal/index.d.ts +994 -1006
  8. package/System/internal/metadata.json +73 -73
  9. package/System.Buffers/internal/index.d.ts +3 -3
  10. package/System.CodeDom.Compiler/internal/index.d.ts +11 -11
  11. package/System.Collections/internal/index.d.ts +26 -28
  12. package/System.Collections.Concurrent/internal/index.d.ts +10 -10
  13. package/System.Collections.Frozen/bindings.json +20 -20
  14. package/System.Collections.Frozen/internal/index.d.ts +6 -6
  15. package/System.Collections.Frozen/internal/metadata.json +10 -10
  16. package/System.Collections.Generic/bindings.json +44 -20
  17. package/System.Collections.Generic/internal/index.d.ts +68 -60
  18. package/System.Collections.Generic/internal/metadata.json +26 -10
  19. package/System.Collections.Immutable/internal/index.d.ts +99 -99
  20. package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
  21. package/System.Collections.Specialized/internal/index.d.ts +63 -65
  22. package/System.ComponentModel/internal/index.d.ts +428 -430
  23. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +66 -66
  24. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -2
  25. package/System.ComponentModel.Design/internal/index.d.ts +72 -72
  26. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +33 -33
  27. package/System.Data/internal/index.d.ts +168 -168
  28. package/System.Data.Common/internal/index.d.ts +48 -48
  29. package/System.Data.SqlTypes/internal/index.d.ts +21 -21
  30. package/System.Diagnostics/internal/index.d.ts +262 -262
  31. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +25 -25
  32. package/System.Diagnostics.Contracts/internal/index.d.ts +8 -8
  33. package/System.Diagnostics.Metrics/internal/index.d.ts +33 -33
  34. package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
  35. package/System.Diagnostics.Tracing/internal/index.d.ts +28 -28
  36. package/System.Drawing/internal/index.d.ts +77 -77
  37. package/System.Dynamic/internal/index.d.ts +27 -27
  38. package/System.Formats.Asn1/internal/index.d.ts +4 -4
  39. package/System.Formats.Tar/internal/index.d.ts +3 -3
  40. package/System.Globalization/internal/index.d.ts +18 -18
  41. package/System.IO/internal/index.d.ts +107 -107
  42. package/System.IO.Compression/internal/index.d.ts +25 -25
  43. package/System.IO.Enumeration/internal/index.d.ts +5 -5
  44. package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
  45. package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
  46. package/System.IO.Pipelines/internal/index.d.ts +5 -5
  47. package/System.IO.Pipes/internal/index.d.ts +4 -4
  48. package/System.Linq/internal/index.d.ts +180 -180
  49. package/System.Linq.Expressions/internal/index.d.ts +169 -169
  50. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  51. package/System.Net/internal/index.d.ts +151 -153
  52. package/System.Net.Cache/internal/index.d.ts +2 -2
  53. package/System.Net.Http/internal/index.d.ts +58 -58
  54. package/System.Net.Http.Headers/internal/index.d.ts +48 -48
  55. package/System.Net.Http.Json/internal/index.d.ts +58 -58
  56. package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
  57. package/System.Net.Mail/internal/index.d.ts +72 -72
  58. package/System.Net.Mime/internal/index.d.ts +2 -2
  59. package/System.Net.NetworkInformation/internal/index.d.ts +24 -24
  60. package/System.Net.Quic/internal/index.d.ts +4 -4
  61. package/System.Net.Security/internal/index.d.ts +52 -52
  62. package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
  63. package/System.Net.Sockets/internal/index.d.ts +41 -41
  64. package/System.Net.WebSockets/internal/index.d.ts +34 -34
  65. package/System.Numerics/bindings.json +384 -0
  66. package/System.Numerics/internal/index.d.ts +91 -93
  67. package/System.Numerics/internal/metadata.json +256 -0
  68. package/System.Reflection/internal/index.d.ts +219 -219
  69. package/System.Reflection.Emit/internal/index.d.ts +118 -118
  70. package/System.Reflection.Metadata/bindings.json +48 -0
  71. package/System.Reflection.Metadata/internal/index.d.ts +14 -14
  72. package/System.Reflection.Metadata/internal/metadata.json +32 -0
  73. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +5 -5
  74. package/System.Reflection.PortableExecutable/internal/index.d.ts +4 -4
  75. package/System.Resources/internal/index.d.ts +24 -24
  76. package/System.Runtime/internal/index.d.ts +5 -5
  77. package/System.Runtime.CompilerServices/internal/index.d.ts +31 -31
  78. package/System.Runtime.InteropServices/bindings.json +22 -22
  79. package/System.Runtime.InteropServices/internal/index.d.ts +93 -93
  80. package/System.Runtime.InteropServices/internal/metadata.json +13 -13
  81. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +10 -10
  82. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +23 -23
  83. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +36 -36
  84. package/System.Runtime.Loader/internal/index.d.ts +6 -6
  85. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  86. package/System.Runtime.Serialization/internal/index.d.ts +77 -79
  87. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +16 -16
  88. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  89. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +4 -4
  90. package/System.Runtime.Serialization.Json/internal/index.d.ts +26 -26
  91. package/System.Runtime.Versioning/internal/index.d.ts +9 -9
  92. package/System.Security/internal/index.d.ts +49 -49
  93. package/System.Security.AccessControl/internal/index.d.ts +31 -31
  94. package/System.Security.Authentication/internal/index.d.ts +4 -4
  95. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +10 -10
  96. package/System.Security.Claims/internal/index.d.ts +23 -25
  97. package/System.Security.Cryptography/internal/index.d.ts +189 -189
  98. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +71 -71
  99. package/System.Security.Policy/internal/index.d.ts +2 -2
  100. package/System.Security.Principal/internal/index.d.ts +9 -11
  101. package/System.Text/internal/index.d.ts +51 -51
  102. package/System.Text.Json/internal/index.d.ts +83 -83
  103. package/System.Text.Json.Nodes/internal/index.d.ts +65 -65
  104. package/System.Text.Json.Schema/internal/index.d.ts +5 -5
  105. package/System.Text.Json.Serialization/internal/index.d.ts +10 -10
  106. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +47 -47
  107. package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
  108. package/System.Text.Unicode/internal/index.d.ts +4 -4
  109. package/System.Threading/internal/index.d.ts +87 -87
  110. package/System.Threading.Channels/internal/index.d.ts +8 -8
  111. package/System.Threading.Tasks/internal/index.d.ts +84 -94
  112. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +29 -26
  113. package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
  114. package/System.Timers/internal/index.d.ts +3 -3
  115. package/System.Transactions/internal/index.d.ts +20 -20
  116. package/System.Web/internal/index.d.ts +31 -31
  117. package/System.Windows.Input/internal/index.d.ts +2 -2
  118. package/System.Xml/internal/index.d.ts +215 -215
  119. package/System.Xml.Linq/internal/index.d.ts +51 -51
  120. package/System.Xml.Resolvers/internal/index.d.ts +4 -4
  121. package/System.Xml.Schema/internal/index.d.ts +105 -105
  122. package/System.Xml.Serialization/internal/index.d.ts +136 -136
  123. package/System.Xml.XPath/internal/index.d.ts +19 -19
  124. package/System.Xml.Xsl/internal/index.d.ts +41 -41
  125. package/System.Xml.Xsl.Runtime/internal/index.d.ts +20 -20
  126. package/__internal/extensions/index.d.ts +415 -414
  127. package/package.json +1 -1
@@ -43,7 +43,7 @@ export interface Rune$instance {
43
43
  equals(obj: unknown): boolean;
44
44
  equals(other: Rune): boolean;
45
45
  getHashCode(): int;
46
- toString(): string;
46
+ toString(): string | undefined;
47
47
  tryEncodeToUtf16(destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
48
48
  tryEncodeToUtf8(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
49
49
  }
@@ -157,7 +157,7 @@ export interface StringBuilder_AppendInterpolatedStringHandler$instance {
157
157
  appendFormatted<T>(value: T, alignment: int): void;
158
158
  appendFormatted<T>(value: T, alignment: int, format: string): void;
159
159
  appendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): void;
160
- appendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string): void;
160
+ appendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string | undefined): void;
161
161
  appendFormatted(value: string): void;
162
162
  appendFormatted(value: string, alignment?: int, format?: string): void;
163
163
  appendFormatted(value: unknown, alignment?: int, format?: string): void;
@@ -167,7 +167,7 @@ export interface StringBuilder_AppendInterpolatedStringHandler$instance {
167
167
 
168
168
  export const StringBuilder_AppendInterpolatedStringHandler: {
169
169
  new(literalLength: int, formattedCount: int, stringBuilder: StringBuilder): StringBuilder_AppendInterpolatedStringHandler;
170
- new(literalLength: int, formattedCount: int, stringBuilder: StringBuilder, provider: IFormatProvider): StringBuilder_AppendInterpolatedStringHandler;
170
+ new(literalLength: int, formattedCount: int, stringBuilder: StringBuilder, provider: IFormatProvider | undefined): StringBuilder_AppendInterpolatedStringHandler;
171
171
  };
172
172
 
173
173
 
@@ -270,9 +270,9 @@ export type ASCIIEncoding = ASCIIEncoding$instance & __ASCIIEncoding$views;
270
270
 
271
271
  export interface CodePagesEncodingProvider$instance extends EncodingProvider {
272
272
  getEncoding(codepage: int): Encoding;
273
- getEncoding(name: string): Encoding;
274
- getEncoding(name: string, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding;
275
- getEncoding(codepage: int, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding;
273
+ getEncoding(name: string): Encoding | undefined;
274
+ getEncoding(name: string, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding | undefined;
275
+ getEncoding(codepage: int, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding | undefined;
276
276
  getEncodings(): IEnumerable_1<EncodingInfo>;
277
277
  getEncodings(): IEnumerable_1<EncodingInfo>;
278
278
  }
@@ -301,7 +301,7 @@ export const CompositeFormat: {
301
301
  export type CompositeFormat = CompositeFormat$instance;
302
302
 
303
303
  export interface Decoder$instance {
304
- fallback: DecoderFallback;
304
+ fallback: DecoderFallback | undefined;
305
305
  readonly fallbackBuffer: DecoderFallbackBuffer;
306
306
  convert(bytes: byte[], byteIndex: int, byteCount: int, chars: char[], charIndex: int, charCount: int, flush: boolean, bytesUsed: int, charsUsed: int, completed: boolean): void;
307
307
  convert(bytes: ptr<byte>, byteCount: int, chars: ptr<char>, charCount: int, flush: boolean, bytesUsed: int, charsUsed: int, completed: boolean): void;
@@ -384,17 +384,17 @@ export const DecoderFallbackBuffer: {
384
384
  export type DecoderFallbackBuffer = DecoderFallbackBuffer$instance;
385
385
 
386
386
  export interface DecoderFallbackException$instance extends ArgumentException {
387
- readonly bytesUnknown: byte[];
387
+ readonly bytesUnknown: byte[] | undefined;
388
388
  readonly index: int;
389
- getObjectData(info: SerializationInfo, context: StreamingContext): void;
389
+ getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
390
390
  }
391
391
 
392
392
 
393
393
  export const DecoderFallbackException: {
394
394
  new(): DecoderFallbackException;
395
- new(message: string): DecoderFallbackException;
396
- new(message: string, innerException: Exception): DecoderFallbackException;
397
- new(message: string, bytesUnknown: byte[], index: int): DecoderFallbackException;
395
+ new(message: string | undefined): DecoderFallbackException;
396
+ new(message: string | undefined, innerException: Exception | undefined): DecoderFallbackException;
397
+ new(message: string | undefined, bytesUnknown: byte[] | undefined, index: int): DecoderFallbackException;
398
398
  };
399
399
 
400
400
 
@@ -439,7 +439,7 @@ export const DecoderReplacementFallbackBuffer: {
439
439
  export type DecoderReplacementFallbackBuffer = DecoderReplacementFallbackBuffer$instance;
440
440
 
441
441
  export interface Encoder$instance {
442
- fallback: EncoderFallback;
442
+ fallback: EncoderFallback | undefined;
443
443
  readonly fallbackBuffer: EncoderFallbackBuffer;
444
444
  convert(chars: char[], charIndex: int, charCount: int, bytes: byte[], byteIndex: int, byteCount: int, flush: boolean, charsUsed: int, bytesUsed: int, completed: boolean): void;
445
445
  convert(chars: ptr<char>, charCount: int, bytes: ptr<byte>, byteCount: int, flush: boolean, charsUsed: int, bytesUsed: int, completed: boolean): void;
@@ -526,15 +526,15 @@ export interface EncoderFallbackException$instance extends ArgumentException {
526
526
  readonly charUnknownHigh: char;
527
527
  readonly charUnknownLow: char;
528
528
  readonly index: int;
529
- getObjectData(info: SerializationInfo, context: StreamingContext): void;
529
+ getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
530
530
  isUnknownSurrogate(): boolean;
531
531
  }
532
532
 
533
533
 
534
534
  export const EncoderFallbackException: {
535
535
  new(): EncoderFallbackException;
536
- new(message: string): EncoderFallbackException;
537
- new(message: string, innerException: Exception): EncoderFallbackException;
536
+ new(message: string | undefined): EncoderFallbackException;
537
+ new(message: string | undefined, innerException: Exception | undefined): EncoderFallbackException;
538
538
  };
539
539
 
540
540
 
@@ -685,10 +685,10 @@ export const EncodingInfo: {
685
685
  export type EncodingInfo = EncodingInfo$instance;
686
686
 
687
687
  export interface EncodingProvider$instance {
688
- getEncoding(name: string): Encoding;
688
+ getEncoding(name: string): Encoding | undefined;
689
689
  getEncoding(codepage: int): Encoding;
690
- getEncoding(name: string, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding;
691
- getEncoding(codepage: int, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding;
690
+ getEncoding(name: string, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding | undefined;
691
+ getEncoding(codepage: int, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding | undefined;
692
692
  getEncodings(): IEnumerable_1<EncodingInfo>;
693
693
  }
694
694
 
@@ -706,11 +706,11 @@ export interface StringBuilder$instance {
706
706
  length: int;
707
707
  readonly maxCapacity: int;
708
708
  append(value: char, repeatCount: int): StringBuilder;
709
- append(value: char[], startIndex: int, charCount: int): StringBuilder;
710
- append(value: string): StringBuilder;
711
- append(value: string, startIndex: int, count: int): StringBuilder;
712
- append(value: StringBuilder): StringBuilder;
713
- append(value: StringBuilder, startIndex: int, count: int): StringBuilder;
709
+ append(value: char[] | undefined, startIndex: int, charCount: int): StringBuilder;
710
+ append(value: string | undefined): StringBuilder;
711
+ append(value: string | undefined, startIndex: int, count: int): StringBuilder;
712
+ append(value: StringBuilder | undefined): StringBuilder;
713
+ append(value: StringBuilder | undefined, startIndex: int, count: int): StringBuilder;
714
714
  append(value: boolean): StringBuilder;
715
715
  append(value: char): StringBuilder;
716
716
  append(value: sbyte): StringBuilder;
@@ -724,42 +724,42 @@ export interface StringBuilder$instance {
724
724
  append(value: ushort): StringBuilder;
725
725
  append(value: uint): StringBuilder;
726
726
  append(value: ulong): StringBuilder;
727
- append(value: unknown): StringBuilder;
728
- append(value: char[]): StringBuilder;
727
+ append(value: unknown | undefined): StringBuilder;
728
+ append(value: char[] | undefined): StringBuilder;
729
729
  append(value: ReadOnlySpan_1<System_Internal.Char>): StringBuilder;
730
730
  append(value: ReadOnlyMemory_1<System_Internal.Char>): StringBuilder;
731
731
  append(handler: StringBuilder_AppendInterpolatedStringHandler): StringBuilder;
732
- append(provider: IFormatProvider, handler: StringBuilder_AppendInterpolatedStringHandler): StringBuilder;
732
+ append(provider: IFormatProvider | undefined, handler: StringBuilder_AppendInterpolatedStringHandler): StringBuilder;
733
733
  append(value: ptr<char>, valueCount: int): StringBuilder;
734
- appendFormat(format: string, arg0: unknown): StringBuilder;
735
- appendFormat(format: string, arg0: unknown, arg1: unknown): StringBuilder;
734
+ appendFormat(format: string, arg0: unknown | undefined): StringBuilder;
735
+ appendFormat(format: string, arg0: unknown | undefined, arg1: unknown | undefined): StringBuilder;
736
736
  appendFormat(format: string, arg0: unknown, arg1: unknown, arg2: unknown): StringBuilder;
737
737
  appendFormat(format: string, ...args: unknown[]): StringBuilder;
738
738
  appendFormat(format: string, args: ReadOnlySpan_1<unknown>): StringBuilder;
739
- appendFormat(provider: IFormatProvider, format: string, arg0: unknown): StringBuilder;
739
+ appendFormat(provider: IFormatProvider | undefined, format: string, arg0: unknown | undefined): StringBuilder;
740
740
  appendFormat(provider: IFormatProvider, format: string, arg0: unknown, arg1: unknown): StringBuilder;
741
741
  appendFormat(provider: IFormatProvider, format: string, arg0: unknown, arg1: unknown, arg2: unknown): StringBuilder;
742
- appendFormat(provider: IFormatProvider, format: string, ...args: unknown[]): StringBuilder;
743
- appendFormat(provider: IFormatProvider, format: string, args: ReadOnlySpan_1<unknown>): StringBuilder;
744
- appendFormat<TArg0>(provider: IFormatProvider, format: CompositeFormat, arg0: TArg0): StringBuilder;
745
- appendFormat<TArg0, TArg1>(provider: IFormatProvider, format: CompositeFormat, arg0: TArg0, arg1: TArg1): StringBuilder;
746
- appendFormat<TArg0, TArg1, TArg2>(provider: IFormatProvider, format: CompositeFormat, arg0: TArg0, arg1: TArg1, arg2: TArg2): StringBuilder;
747
- appendFormat(provider: IFormatProvider, format: CompositeFormat, ...args: unknown[]): StringBuilder;
748
- appendFormat(provider: IFormatProvider, format: CompositeFormat, args: ReadOnlySpan_1<unknown>): StringBuilder;
749
- appendJoin(separator: string, ...values: unknown[]): StringBuilder;
750
- appendJoin(separator: string, values: ReadOnlySpan_1<unknown>): StringBuilder;
751
- appendJoin<T>(separator: string, values: IEnumerable_1<T>): StringBuilder;
752
- appendJoin(separator: string, ...values: string[]): StringBuilder;
753
- appendJoin(separator: string, values: ReadOnlySpan_1<System_Internal.String>): StringBuilder;
742
+ appendFormat(provider: IFormatProvider | undefined, format: string, ...args: unknown[]): StringBuilder;
743
+ appendFormat(provider: IFormatProvider | undefined, format: string, args: ReadOnlySpan_1<unknown>): StringBuilder;
744
+ appendFormat<TArg0>(provider: IFormatProvider | undefined, format: CompositeFormat, arg0: TArg0): StringBuilder;
745
+ appendFormat<TArg0, TArg1>(provider: IFormatProvider | undefined, format: CompositeFormat, arg0: TArg0, arg1: TArg1): StringBuilder;
746
+ appendFormat<TArg0, TArg1, TArg2>(provider: IFormatProvider | undefined, format: CompositeFormat, arg0: TArg0, arg1: TArg1, arg2: TArg2): StringBuilder;
747
+ appendFormat(provider: IFormatProvider | undefined, format: CompositeFormat, ...args: unknown[]): StringBuilder;
748
+ appendFormat(provider: IFormatProvider | undefined, format: CompositeFormat, args: ReadOnlySpan_1<unknown>): StringBuilder;
749
+ appendJoin(separator: string | undefined, ...values: unknown[]): StringBuilder;
750
+ appendJoin(separator: string | undefined, values: ReadOnlySpan_1<unknown>): StringBuilder;
751
+ appendJoin<T>(separator: string | undefined, values: IEnumerable_1<T>): StringBuilder;
752
+ appendJoin(separator: string | undefined, ...values: string[]): StringBuilder;
753
+ appendJoin(separator: string | undefined, values: ReadOnlySpan_1<System_Internal.String>): StringBuilder;
754
754
  appendJoin(separator: char, ...values: unknown[]): StringBuilder;
755
755
  appendJoin(separator: char, values: ReadOnlySpan_1<unknown>): StringBuilder;
756
756
  appendJoin<T>(separator: char, values: IEnumerable_1<T>): StringBuilder;
757
757
  appendJoin(separator: char, ...values: string[]): StringBuilder;
758
758
  appendJoin(separator: char, values: ReadOnlySpan_1<System_Internal.String>): StringBuilder;
759
759
  appendLine(): StringBuilder;
760
- appendLine(value: string): StringBuilder;
760
+ appendLine(value: string | undefined): StringBuilder;
761
761
  appendLine(handler: StringBuilder_AppendInterpolatedStringHandler): StringBuilder;
762
- appendLine(provider: IFormatProvider, handler: StringBuilder_AppendInterpolatedStringHandler): StringBuilder;
762
+ appendLine(provider: IFormatProvider | undefined, handler: StringBuilder_AppendInterpolatedStringHandler): StringBuilder;
763
763
  clear(): StringBuilder;
764
764
  copyTo(sourceIndex: int, destination: char[], destinationIndex: int, count: int): void;
765
765
  copyTo(sourceIndex: int, destination: Span_1<System_Internal.Char>, count: int): void;
@@ -767,15 +767,15 @@ export interface StringBuilder$instance {
767
767
  equals(sb: StringBuilder): boolean;
768
768
  equals(span: ReadOnlySpan_1<System_Internal.Char>): boolean;
769
769
  getChunks(): StringBuilder_ChunkEnumerator;
770
- insert(index: int, value: string, count: int): StringBuilder;
771
- insert(index: int, value: string): StringBuilder;
770
+ insert(index: int, value: string | undefined, count: int): StringBuilder;
771
+ insert(index: int, value: string | undefined): StringBuilder;
772
772
  insert(index: int, value: boolean): StringBuilder;
773
773
  insert(index: int, value: sbyte): StringBuilder;
774
774
  insert(index: int, value: byte): StringBuilder;
775
775
  insert(index: int, value: short): StringBuilder;
776
776
  insert(index: int, value: char): StringBuilder;
777
- insert(index: int, value: char[]): StringBuilder;
778
- insert(index: int, value: char[], startIndex: int, charCount: int): StringBuilder;
777
+ insert(index: int, value: char[] | undefined): StringBuilder;
778
+ insert(index: int, value: char[] | undefined, startIndex: int, charCount: int): StringBuilder;
779
779
  insert(index: int, value: int): StringBuilder;
780
780
  insert(index: int, value: long): StringBuilder;
781
781
  insert(index: int, value: float): StringBuilder;
@@ -784,12 +784,12 @@ export interface StringBuilder$instance {
784
784
  insert(index: int, value: ushort): StringBuilder;
785
785
  insert(index: int, value: uint): StringBuilder;
786
786
  insert(index: int, value: ulong): StringBuilder;
787
- insert(index: int, value: unknown): StringBuilder;
787
+ insert(index: int, value: unknown | undefined): StringBuilder;
788
788
  insert(index: int, value: ReadOnlySpan_1<System_Internal.Char>): StringBuilder;
789
789
  remove(startIndex: int, length: int): StringBuilder;
790
- replace(oldValue: string, newValue: string): StringBuilder;
790
+ replace(oldValue: string, newValue: string | undefined): StringBuilder;
791
791
  replace(oldValue: ReadOnlySpan_1<System_Internal.Char>, newValue: ReadOnlySpan_1<System_Internal.Char>): StringBuilder;
792
- replace(oldValue: string, newValue: string, startIndex: int, count: int): StringBuilder;
792
+ replace(oldValue: string, newValue: string | undefined, startIndex: int, count: int): StringBuilder;
793
793
  replace(oldValue: ReadOnlySpan_1<System_Internal.Char>, newValue: ReadOnlySpan_1<System_Internal.Char>, startIndex: int, count: int): StringBuilder;
794
794
  replace(oldChar: char, newChar: char): StringBuilder;
795
795
  replace(oldChar: char, newChar: char, startIndex: int, count: int): StringBuilder;
@@ -114,7 +114,7 @@ export interface JsonElement$instance {
114
114
  getUInt16(): ushort;
115
115
  getUInt32(): uint;
116
116
  getUInt64(): ulong;
117
- toString(): string;
117
+ toString(): string | undefined;
118
118
  tryGetByte(value: byte): boolean;
119
119
  tryGetBytesFromBase64(value: byte[]): boolean;
120
120
  tryGetDateTime(value: DateTime): boolean;
@@ -207,15 +207,15 @@ export interface JsonEncodedText$instance {
207
207
  equals(other: JsonEncodedText): boolean;
208
208
  equals(obj: unknown): boolean;
209
209
  getHashCode(): int;
210
- toString(): string;
210
+ toString(): string | undefined;
211
211
  }
212
212
 
213
213
 
214
214
  export const JsonEncodedText: {
215
215
  new(): JsonEncodedText;
216
- encode(utf8Value: ReadOnlySpan_1<System_Internal.Byte>, encoder?: JavaScriptEncoder): JsonEncodedText;
217
- encode(value: ReadOnlySpan_1<System_Internal.Char>, encoder?: JavaScriptEncoder): JsonEncodedText;
218
- encode(value: string, encoder?: JavaScriptEncoder): JsonEncodedText;
216
+ encode(utf8Value: ReadOnlySpan_1<System_Internal.Byte>, encoder?: JavaScriptEncoder | undefined): JsonEncodedText;
217
+ encode(value: ReadOnlySpan_1<System_Internal.Char>, encoder?: JavaScriptEncoder | undefined): JsonEncodedText;
218
+ encode(value: string, encoder?: JavaScriptEncoder | undefined): JsonEncodedText;
219
219
  };
220
220
 
221
221
 
@@ -275,7 +275,7 @@ export const JsonReaderState: {
275
275
  export type JsonReaderState = JsonReaderState$instance;
276
276
 
277
277
  export interface JsonWriterOptions$instance {
278
- encoder: JavaScriptEncoder;
278
+ encoder: JavaScriptEncoder | undefined;
279
279
  indentCharacter: char;
280
280
  indented: boolean;
281
281
  indentSize: int;
@@ -392,15 +392,15 @@ export interface JsonException$instance extends Exception {
392
392
  readonly lineNumber: Nullable_1<System_Internal.Int64>;
393
393
  readonly message: string;
394
394
  readonly path: string;
395
- getObjectData(info: SerializationInfo, context: StreamingContext): void;
395
+ getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
396
396
  }
397
397
 
398
398
 
399
399
  export const JsonException: {
400
- new(message: string, path: string, lineNumber: Nullable_1<System_Internal.Int64>, bytePositionInLine: Nullable_1<System_Internal.Int64>, innerException: Exception): JsonException;
401
- new(message: string, path: string, lineNumber: Nullable_1<System_Internal.Int64>, bytePositionInLine: Nullable_1<System_Internal.Int64>): JsonException;
402
- new(message: string, innerException: Exception): JsonException;
403
- new(message: string): JsonException;
400
+ new(message: string | undefined, path: string | undefined, lineNumber: Nullable_1<System_Internal.Int64>, bytePositionInLine: Nullable_1<System_Internal.Int64>, innerException: Exception | undefined): JsonException;
401
+ new(message: string | undefined, path: string | undefined, lineNumber: Nullable_1<System_Internal.Int64>, bytePositionInLine: Nullable_1<System_Internal.Int64>): JsonException;
402
+ new(message: string | undefined, innerException: Exception | undefined): JsonException;
403
+ new(message: string | undefined): JsonException;
404
404
  new(): JsonException;
405
405
  };
406
406
 
@@ -435,8 +435,8 @@ export interface JsonSerializerOptions$instance {
435
435
  readonly converters: IList_1<JsonConverter>;
436
436
  defaultBufferSize: int;
437
437
  defaultIgnoreCondition: JsonIgnoreCondition;
438
- dictionaryKeyPolicy: JsonNamingPolicy;
439
- encoder: JavaScriptEncoder;
438
+ dictionaryKeyPolicy: JsonNamingPolicy | undefined;
439
+ encoder: JavaScriptEncoder | undefined;
440
440
  ignoreNullValues: boolean;
441
441
  ignoreReadOnlyFields: boolean;
442
442
  ignoreReadOnlyProperties: boolean;
@@ -449,12 +449,12 @@ export interface JsonSerializerOptions$instance {
449
449
  numberHandling: JsonNumberHandling;
450
450
  preferredObjectCreationHandling: JsonObjectCreationHandling;
451
451
  propertyNameCaseInsensitive: boolean;
452
- propertyNamingPolicy: JsonNamingPolicy;
452
+ propertyNamingPolicy: JsonNamingPolicy | undefined;
453
453
  readCommentHandling: JsonCommentHandling;
454
- referenceHandler: ReferenceHandler;
454
+ referenceHandler: ReferenceHandler | undefined;
455
455
  respectNullableAnnotations: boolean;
456
456
  respectRequiredConstructorParameters: boolean;
457
- typeInfoResolver: IJsonTypeInfoResolver;
457
+ typeInfoResolver: IJsonTypeInfoResolver | undefined;
458
458
  readonly typeInfoResolverChain: IList_1<IJsonTypeInfoResolver>;
459
459
  unknownTypeHandling: JsonUnknownTypeHandling;
460
460
  unmappedMemberHandling: JsonUnmappedMemberHandling;
@@ -464,7 +464,7 @@ export interface JsonSerializerOptions$instance {
464
464
  getTypeInfo(type_: Type): JsonTypeInfo;
465
465
  makeReadOnly(): void;
466
466
  makeReadOnly(populateMissingResolver: boolean): void;
467
- tryGetTypeInfo(type_: Type, typeInfo: JsonTypeInfo): boolean;
467
+ tryGetTypeInfo(type_: Type, typeInfo: JsonTypeInfo | undefined): boolean;
468
468
  }
469
469
 
470
470
 
@@ -580,7 +580,7 @@ export interface Utf8JsonWriter$instance {
580
580
  writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: Guid): void;
581
581
  writeString(propertyName: JsonEncodedText, value: JsonEncodedText): void;
582
582
  writeString(propertyName: string, value: JsonEncodedText): void;
583
- writeString(propertyName: string, value: string): void;
583
+ writeString(propertyName: string, value: string | undefined): void;
584
584
  writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: ReadOnlySpan_1<System_Internal.Char>): void;
585
585
  writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
586
586
  writeString(propertyName: JsonEncodedText, value: string): void;
@@ -591,9 +591,9 @@ export interface Utf8JsonWriter$instance {
591
591
  writeString(propertyName: string, utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
592
592
  writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
593
593
  writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: JsonEncodedText): void;
594
- writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: string): void;
594
+ writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: string | undefined): void;
595
595
  writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: JsonEncodedText): void;
596
- writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: string): void;
596
+ writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: string | undefined): void;
597
597
  writeStringValue(value: DateTime): void;
598
598
  writeStringValue(value: DateTimeOffset): void;
599
599
  writeStringValue(value: Guid): void;
@@ -624,109 +624,109 @@ export type Utf8JsonWriter = Utf8JsonWriter$instance & __Utf8JsonWriter$views;
624
624
 
625
625
  export abstract class JsonSerializer$instance {
626
626
  static readonly isReflectionEnabledByDefault: boolean;
627
- static deserialize<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
627
+ static deserialize<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
628
628
  static deserialize<TValue>(utf8Json: Stream, options?: JsonSerializerOptions): TValue;
629
- static deserialize(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo): unknown;
630
- static deserialize(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions): unknown;
631
- static deserialize(utf8Json: Stream, returnType: Type, context: JsonSerializerContext): unknown;
629
+ static deserialize(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
630
+ static deserialize(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions | undefined): unknown | undefined;
631
+ static deserialize(utf8Json: Stream, returnType: Type, context: JsonSerializerContext): unknown | undefined;
632
632
  static deserialize<TValue>(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
633
633
  static deserialize<TValue>(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, options?: JsonSerializerOptions): TValue;
634
- static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo): unknown;
634
+ static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
635
635
  static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, options?: JsonSerializerOptions): unknown;
636
- static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, context: JsonSerializerContext): unknown;
636
+ static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, context: JsonSerializerContext): unknown | undefined;
637
637
  static deserialize<TValue>(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
638
638
  static deserialize<TValue>(json: ReadOnlySpan_1<System_Internal.Char>, options?: JsonSerializerOptions): TValue;
639
- static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo): unknown;
639
+ static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
640
640
  static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, options?: JsonSerializerOptions): unknown;
641
- static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, context: JsonSerializerContext): unknown;
642
- static deserialize<TValue>(json: string, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
641
+ static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, context: JsonSerializerContext): unknown | undefined;
642
+ static deserialize<TValue>(json: string, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
643
643
  static deserialize<TValue>(json: string, options?: JsonSerializerOptions): TValue;
644
- static deserialize(json: string, jsonTypeInfo: JsonTypeInfo): unknown;
645
- static deserialize(json: string, returnType: Type, options?: JsonSerializerOptions): unknown;
646
- static deserialize(json: string, returnType: Type, context: JsonSerializerContext): unknown;
647
- static deserialize<TValue>(document: JsonDocument, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
644
+ static deserialize(json: string, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
645
+ static deserialize(json: string, returnType: Type, options?: JsonSerializerOptions | undefined): unknown | undefined;
646
+ static deserialize(json: string, returnType: Type, context: JsonSerializerContext): unknown | undefined;
647
+ static deserialize<TValue>(document: JsonDocument, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
648
648
  static deserialize<TValue>(document: JsonDocument, options?: JsonSerializerOptions): TValue;
649
- static deserialize(document: JsonDocument, jsonTypeInfo: JsonTypeInfo): unknown;
650
- static deserialize(document: JsonDocument, returnType: Type, options?: JsonSerializerOptions): unknown;
651
- static deserialize(document: JsonDocument, returnType: Type, context: JsonSerializerContext): unknown;
649
+ static deserialize(document: JsonDocument, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
650
+ static deserialize(document: JsonDocument, returnType: Type, options?: JsonSerializerOptions | undefined): unknown | undefined;
651
+ static deserialize(document: JsonDocument, returnType: Type, context: JsonSerializerContext): unknown | undefined;
652
652
  static deserialize<TValue>(element: JsonElement, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
653
653
  static deserialize<TValue>(element: JsonElement, options?: JsonSerializerOptions): TValue;
654
- static deserialize(element: JsonElement, jsonTypeInfo: JsonTypeInfo): unknown;
654
+ static deserialize(element: JsonElement, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
655
655
  static deserialize(element: JsonElement, returnType: Type, options?: JsonSerializerOptions): unknown;
656
- static deserialize(element: JsonElement, returnType: Type, context: JsonSerializerContext): unknown;
656
+ static deserialize(element: JsonElement, returnType: Type, context: JsonSerializerContext): unknown | undefined;
657
657
  static deserialize<TValue>(node: JsonNode, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
658
658
  static deserialize<TValue>(node: JsonNode, options?: JsonSerializerOptions): TValue;
659
659
  static deserialize(node: JsonNode, jsonTypeInfo: JsonTypeInfo): unknown;
660
660
  static deserialize(node: JsonNode, returnType: Type, options?: JsonSerializerOptions): unknown;
661
- static deserialize(node: JsonNode, returnType: Type, context: JsonSerializerContext): unknown;
661
+ static deserialize(node: JsonNode | undefined, returnType: Type, context: JsonSerializerContext): unknown | undefined;
662
662
  static deserialize<TValue>(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
663
663
  static deserialize<TValue>(reader: Utf8JsonReader, options?: JsonSerializerOptions): TValue;
664
- static deserialize(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo): unknown;
664
+ static deserialize(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
665
665
  static deserialize(reader: Utf8JsonReader, returnType: Type, options?: JsonSerializerOptions): unknown;
666
- static deserialize(reader: Utf8JsonReader, returnType: Type, context: JsonSerializerContext): unknown;
666
+ static deserialize(reader: Utf8JsonReader, returnType: Type, context: JsonSerializerContext): unknown | undefined;
667
667
  static deserializeAsync<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
668
668
  static deserializeAsync<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
669
669
  static deserializeAsync(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
670
- static deserializeAsync(utf8Json: PipeReader, returnType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
670
+ static deserializeAsync(utf8Json: PipeReader, returnType: Type, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
671
671
  static deserializeAsync(utf8Json: PipeReader, returnType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
672
672
  static deserializeAsync<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
673
673
  static deserializeAsync<TValue>(utf8Json: Stream, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
674
674
  static deserializeAsync(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
675
- static deserializeAsync(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
675
+ static deserializeAsync(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
676
676
  static deserializeAsync(utf8Json: Stream, returnType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
677
- static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
678
- static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
679
- static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
680
- static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
681
- static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
682
- static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
683
- static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
684
- static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
685
- static serialize(utf8Json: Stream, value: unknown, jsonTypeInfo: JsonTypeInfo): void;
686
- static serialize(utf8Json: Stream, value: unknown, inputType: Type, options?: JsonSerializerOptions): void;
687
- static serialize(utf8Json: Stream, value: unknown, inputType: Type, context: JsonSerializerContext): void;
677
+ static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
678
+ static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
679
+ static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
680
+ static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
681
+ static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
682
+ static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
683
+ static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
684
+ static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
685
+ static serialize(utf8Json: Stream, value: unknown | undefined, jsonTypeInfo: JsonTypeInfo): void;
686
+ static serialize(utf8Json: Stream, value: unknown | undefined, inputType: Type, options?: JsonSerializerOptions | undefined): void;
687
+ static serialize(utf8Json: Stream, value: unknown | undefined, inputType: Type, context: JsonSerializerContext): void;
688
688
  static serialize<TValue>(utf8Json: Stream, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): void;
689
- static serialize<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions): void;
690
- static serialize(value: unknown, jsonTypeInfo: JsonTypeInfo): string;
691
- static serialize(value: unknown, inputType: Type, options?: JsonSerializerOptions): string;
692
- static serialize(value: unknown, inputType: Type, context: JsonSerializerContext): string;
693
- static serialize(writer: Utf8JsonWriter, value: unknown, jsonTypeInfo: JsonTypeInfo): void;
694
- static serialize(writer: Utf8JsonWriter, value: unknown, inputType: Type, options?: JsonSerializerOptions): void;
695
- static serialize(writer: Utf8JsonWriter, value: unknown, inputType: Type, context: JsonSerializerContext): void;
689
+ static serialize<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions | undefined): void;
690
+ static serialize(value: unknown | undefined, jsonTypeInfo: JsonTypeInfo): string;
691
+ static serialize(value: unknown | undefined, inputType: Type, options?: JsonSerializerOptions | undefined): string;
692
+ static serialize(value: unknown | undefined, inputType: Type, context: JsonSerializerContext): string;
693
+ static serialize(writer: Utf8JsonWriter, value: unknown | undefined, jsonTypeInfo: JsonTypeInfo): void;
694
+ static serialize(writer: Utf8JsonWriter, value: unknown | undefined, inputType: Type, options?: JsonSerializerOptions | undefined): void;
695
+ static serialize(writer: Utf8JsonWriter, value: unknown | undefined, inputType: Type, context: JsonSerializerContext): void;
696
696
  static serialize<TValue>(writer: Utf8JsonWriter, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): void;
697
- static serialize<TValue>(writer: Utf8JsonWriter, value: TValue, options?: JsonSerializerOptions): void;
697
+ static serialize<TValue>(writer: Utf8JsonWriter, value: TValue, options?: JsonSerializerOptions | undefined): void;
698
698
  static serialize<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): string;
699
- static serialize<TValue>(value: TValue, options?: JsonSerializerOptions): string;
700
- static serializeAsync(utf8Json: PipeWriter, value: unknown, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): Task;
701
- static serializeAsync(utf8Json: PipeWriter, value: unknown, inputType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
702
- static serializeAsync(utf8Json: PipeWriter, value: unknown, inputType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task;
699
+ static serialize<TValue>(value: TValue, options?: JsonSerializerOptions | undefined): string;
700
+ static serializeAsync(utf8Json: PipeWriter, value: unknown | undefined, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): Task;
701
+ static serializeAsync(utf8Json: PipeWriter, value: unknown | undefined, inputType: Type, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task;
702
+ static serializeAsync(utf8Json: PipeWriter, value: unknown | undefined, inputType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task;
703
703
  static serializeAsync<TValue>(utf8Json: PipeWriter, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task;
704
- static serializeAsync<TValue>(utf8Json: PipeWriter, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
705
- static serializeAsync(utf8Json: Stream, value: unknown, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): Task;
706
- static serializeAsync(utf8Json: Stream, value: unknown, inputType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
707
- static serializeAsync(utf8Json: Stream, value: unknown, inputType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task;
704
+ static serializeAsync<TValue>(utf8Json: PipeWriter, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task;
705
+ static serializeAsync(utf8Json: Stream, value: unknown | undefined, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): Task;
706
+ static serializeAsync(utf8Json: Stream, value: unknown | undefined, inputType: Type, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task;
707
+ static serializeAsync(utf8Json: Stream, value: unknown | undefined, inputType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task;
708
708
  static serializeAsync<TValue>(utf8Json: Stream, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task;
709
- static serializeAsync<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
710
- static serializeToDocument(value: unknown, jsonTypeInfo: JsonTypeInfo): JsonDocument;
711
- static serializeToDocument(value: unknown, inputType: Type, options?: JsonSerializerOptions): JsonDocument;
712
- static serializeToDocument(value: unknown, inputType: Type, context: JsonSerializerContext): JsonDocument;
709
+ static serializeAsync<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task;
710
+ static serializeToDocument(value: unknown | undefined, jsonTypeInfo: JsonTypeInfo): JsonDocument;
711
+ static serializeToDocument(value: unknown | undefined, inputType: Type, options?: JsonSerializerOptions | undefined): JsonDocument;
712
+ static serializeToDocument(value: unknown | undefined, inputType: Type, context: JsonSerializerContext): JsonDocument;
713
713
  static serializeToDocument<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonDocument;
714
- static serializeToDocument<TValue>(value: TValue, options?: JsonSerializerOptions): JsonDocument;
715
- static serializeToElement(value: unknown, jsonTypeInfo: JsonTypeInfo): JsonElement;
714
+ static serializeToDocument<TValue>(value: TValue, options?: JsonSerializerOptions | undefined): JsonDocument;
715
+ static serializeToElement(value: unknown | undefined, jsonTypeInfo: JsonTypeInfo): JsonElement;
716
716
  static serializeToElement(value: unknown, inputType: Type, options?: JsonSerializerOptions): JsonElement;
717
- static serializeToElement(value: unknown, inputType: Type, context: JsonSerializerContext): JsonElement;
717
+ static serializeToElement(value: unknown | undefined, inputType: Type, context: JsonSerializerContext): JsonElement;
718
718
  static serializeToElement<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonElement;
719
719
  static serializeToElement<TValue>(value: TValue, options?: JsonSerializerOptions): JsonElement;
720
720
  static serializeToNode(value: unknown, jsonTypeInfo: JsonTypeInfo): JsonNode;
721
721
  static serializeToNode(value: unknown, inputType: Type, options?: JsonSerializerOptions): JsonNode;
722
- static serializeToNode(value: unknown, inputType: Type, context: JsonSerializerContext): JsonNode;
723
- static serializeToNode<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonNode;
722
+ static serializeToNode(value: unknown | undefined, inputType: Type, context: JsonSerializerContext): JsonNode | undefined;
723
+ static serializeToNode<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonNode | undefined;
724
724
  static serializeToNode<TValue>(value: TValue, options?: JsonSerializerOptions): JsonNode;
725
- static serializeToUtf8Bytes(value: unknown, jsonTypeInfo: JsonTypeInfo): byte[];
726
- static serializeToUtf8Bytes(value: unknown, inputType: Type, options?: JsonSerializerOptions): byte[];
727
- static serializeToUtf8Bytes(value: unknown, inputType: Type, context: JsonSerializerContext): byte[];
725
+ static serializeToUtf8Bytes(value: unknown | undefined, jsonTypeInfo: JsonTypeInfo): byte[];
726
+ static serializeToUtf8Bytes(value: unknown | undefined, inputType: Type, options?: JsonSerializerOptions | undefined): byte[];
727
+ static serializeToUtf8Bytes(value: unknown | undefined, inputType: Type, context: JsonSerializerContext): byte[];
728
728
  static serializeToUtf8Bytes<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): byte[];
729
- static serializeToUtf8Bytes<TValue>(value: TValue, options?: JsonSerializerOptions): byte[];
729
+ static serializeToUtf8Bytes<TValue>(value: TValue, options?: JsonSerializerOptions | undefined): byte[];
730
730
  }
731
731
 
732
732