This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
Copy pathSystem.Runtime.Extensions.cs
1909 lines (1897 loc) · 122 KB
/
System.Runtime.Extensions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// ------------------------------------------------------------------------------
// Changes to this file must follow the http://aka.ms/api-review process.
// ------------------------------------------------------------------------------
namespace System
{
public sealed partial class AppDomain : System.MarshalByRefObject
{
private AppDomain() { }
public static AppDomain CurrentDomain { get { throw null; } }
public string BaseDirectory { get { throw null; } }
public string RelativeSearchPath { get { throw null; } }
public event System.UnhandledExceptionEventHandler UnhandledException { add { } remove { } }
public string DynamicDirectory { get { throw null; } }
public string FriendlyName { get { throw null; } }
public int Id { get { throw null; } }
public bool IsFullyTrusted { get { throw null; } }
public bool IsHomogenous { get { throw null; } }
public static bool MonitoringIsEnabled { get { throw null; } set { } }
public long MonitoringSurvivedMemorySize { get { throw null; } }
public static long MonitoringSurvivedProcessMemorySize { get { throw null; } }
public long MonitoringTotalAllocatedMemorySize { get { throw null; } }
public System.TimeSpan MonitoringTotalProcessorTime { get { throw null; } }
public event System.AssemblyLoadEventHandler AssemblyLoad { add { } remove { } }
public event System.ResolveEventHandler AssemblyResolve { add { } remove { } }
public event System.EventHandler DomainUnload { add { } remove { } }
public event System.EventHandler<System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs> FirstChanceException { add { } remove { } }
public event System.EventHandler ProcessExit { add { } remove { } }
public event ResolveEventHandler ReflectionOnlyAssemblyResolve { add { } remove { } }
public event System.ResolveEventHandler ResourceResolve { add { } remove { } }
public event System.ResolveEventHandler TypeResolve { add { } remove { } }
public string ApplyPolicy(string assemblyName) { throw null; }
public static System.AppDomain CreateDomain(string friendlyName) { throw null; }
public int ExecuteAssembly(string assemblyFile) { throw null; }
public int ExecuteAssembly(string assemblyFile, string[] args) { throw null; }
public int ExecuteAssembly(string assemblyFile, string[] args, byte[] hashValue, System.Configuration.Assemblies.AssemblyHashAlgorithm hashAlgorithm) { throw null; }
public int ExecuteAssemblyByName(System.Reflection.AssemblyName assemblyName, params string[] args) { throw null; }
public int ExecuteAssemblyByName(string assemblyName) { throw null; }
public int ExecuteAssemblyByName(string assemblyName, params string[] args) { throw null; }
public System.Reflection.Assembly[] GetAssemblies() { throw null; }
[Obsolete("AppDomain.GetCurrentThreadId has been deprecated because it does not provide a stable Id when managed threads are running on fibers (aka lightweight threads). To get a stable identifier for a managed thread, use the ManagedThreadId property on Thread. https://go.microsoft.com/fwlink/?linkid=14202", false)]
public static int GetCurrentThreadId() { throw null; }
public object GetData(string name) { throw null; }
public System.Nullable<bool> IsCompatibilitySwitchSet(string value) { throw null; }
public bool IsDefaultAppDomain() { throw null; }
public bool IsFinalizingForUnload() { throw null; }
public System.Reflection.Assembly Load(byte[] rawAssembly) { throw null; }
public System.Reflection.Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore) { throw null; }
public System.Reflection.Assembly Load(System.Reflection.AssemblyName assemblyRef) { throw null; }
public System.Reflection.Assembly Load(string assemblyString) { throw null; }
public System.Reflection.Assembly[] ReflectionOnlyGetAssemblies() { throw null; }
public void SetData(string name, object data) { }
[ObsoleteAttribute("AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void SetDynamicBase(string path) { }
public void SetPrincipalPolicy(System.Security.Principal.PrincipalPolicy policy) { }
public void SetThreadPrincipal(System.Security.Principal.IPrincipal principal) { }
public AppDomainSetup SetupInformation { get { throw null; } }
public System.Security.PermissionSet PermissionSet { get { throw null; } }
public override string ToString() { throw null; }
public static void Unload(System.AppDomain domain) { }
public bool ShadowCopyFiles { get { throw null; } }
[Obsolete("AppDomain.AppendPrivatePath has been deprecated. Please investigate the use of AppDomainSetup.PrivateBinPath instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void AppendPrivatePath(string path) { }
[Obsolete("AppDomain.ClearPrivatePath has been deprecated. Please investigate the use of AppDomainSetup.PrivateBinPath instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void ClearPrivatePath() { }
[Obsolete("AppDomain.ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void ClearShadowCopyPath() { }
[Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void SetCachePath(string path) { }
[Obsolete("AppDomain.SetShadowCopyFiles has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyFiles instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void SetShadowCopyFiles() { }
[Obsolete("AppDomain.SetShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void SetShadowCopyPath(string path) { }
public System.Runtime.Remoting.ObjectHandle CreateInstance(string assemblyName, string typeName) { throw null; }
public System.Runtime.Remoting.ObjectHandle CreateInstance(string assemblyName, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes) { throw null; }
public System.Runtime.Remoting.ObjectHandle CreateInstance(string assemblyName, string typeName, object[] activationAttributes) { throw null; }
public object CreateInstanceAndUnwrap(string assemblyName, string typeName) { throw null; }
public object CreateInstanceAndUnwrap(string assemblyName, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes) { throw null; }
public object CreateInstanceAndUnwrap(string assemblyName, string typeName, object[] activationAttributes) { throw null; }
public System.Runtime.Remoting.ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName) { throw null; }
public System.Runtime.Remoting.ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes) { throw null; }
public System.Runtime.Remoting.ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName, object[] activationAttributes) { throw null; }
public object CreateInstanceFromAndUnwrap(string assemblyFile, string typeName) { throw null; }
public object CreateInstanceFromAndUnwrap(string assemblyFile, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes) { throw null; }
public object CreateInstanceFromAndUnwrap(string assemblyFile, string typeName, object[] activationAttributes) { throw null; }
}
public sealed partial class AppDomainSetup
{
private AppDomainSetup() { }
public string ApplicationBase { get { throw null; } }
public string TargetFrameworkName { get { throw null; } }
}
public delegate System.Reflection.Assembly ResolveEventHandler(Object sender, ResolveEventArgs args);
public delegate void AssemblyLoadEventHandler(Object sender, AssemblyLoadEventArgs args);
public class AssemblyLoadEventArgs : EventArgs
{
public System.Reflection.Assembly LoadedAssembly { get { throw null; } }
public AssemblyLoadEventArgs(System.Reflection.Assembly loadedAssembly) { }
}
public partial class AppDomainUnloadedException : System.SystemException
{
public AppDomainUnloadedException() { }
protected AppDomainUnloadedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public AppDomainUnloadedException(string message) { }
public AppDomainUnloadedException(string message, System.Exception innerException) { }
}
public partial class CannotUnloadAppDomainException : System.SystemException
{
public CannotUnloadAppDomainException() { }
protected CannotUnloadAppDomainException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public CannotUnloadAppDomainException(string message) { }
public CannotUnloadAppDomainException(string message, System.Exception innerException) { }
}
public sealed class ApplicationId
{
public ApplicationId(byte[] publicKeyToken, string name, Version version, string processorArchitecture, string culture) { }
public string Culture { get { throw null; } }
public string Name { get { throw null; } }
public string ProcessorArchitecture { get { throw null; } }
public byte[] PublicKeyToken { get { throw null; } }
public Version Version { get { throw null; } }
public ApplicationId Copy() { throw null; }
public override bool Equals(object o) { throw null; }
public override int GetHashCode() { throw null; }
public override string ToString() { throw null; }
}
[Flags]
public enum Base64FormattingOptions
{
None = 0,
InsertLineBreaks = 1
}
public static partial class BitConverter
{
public static readonly bool IsLittleEndian;
public static long DoubleToInt64Bits(double value) { throw null; }
public static byte[] GetBytes(bool value) { throw null; }
public static byte[] GetBytes(char value) { throw null; }
public static byte[] GetBytes(double value) { throw null; }
public static byte[] GetBytes(short value) { throw null; }
public static byte[] GetBytes(int value) { throw null; }
public static byte[] GetBytes(long value) { throw null; }
public static byte[] GetBytes(float value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static byte[] GetBytes(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static byte[] GetBytes(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static byte[] GetBytes(ulong value) { throw null; }
public static float Int32BitsToSingle(int value) { throw null; }
public static double Int64BitsToDouble(long value) { throw null; }
public static int SingleToInt32Bits(float value) { throw null; }
public static bool ToBoolean(byte[] value, int startIndex) { throw null; }
public static bool ToBoolean(System.ReadOnlySpan<byte> value) { throw null; }
public static char ToChar(byte[] value, int startIndex) { throw null; }
public static char ToChar(System.ReadOnlySpan<byte> value) { throw null; }
public static double ToDouble(byte[] value, int startIndex) { throw null; }
public static double ToDouble(System.ReadOnlySpan<byte> value) { throw null; }
public static short ToInt16(byte[] value, int startIndex) { throw null; }
public static short ToInt16(System.ReadOnlySpan<byte> value) { throw null; }
public static int ToInt32(byte[] value, int startIndex) { throw null; }
public static int ToInt32(System.ReadOnlySpan<byte> value) { throw null; }
public static long ToInt64(byte[] value, int startIndex) { throw null; }
public static long ToInt64(System.ReadOnlySpan<byte> value) { throw null; }
public static float ToSingle(byte[] value, int startIndex) { throw null; }
public static float ToSingle(System.ReadOnlySpan<byte> value) { throw null; }
public static string ToString(byte[] value) { throw null; }
public static string ToString(byte[] value, int startIndex) { throw null; }
public static string ToString(byte[] value, int startIndex, int length) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(byte[] value, int startIndex) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(System.ReadOnlySpan<byte> value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(byte[] value, int startIndex) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(System.ReadOnlySpan<byte> value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(byte[] value, int startIndex) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(System.ReadOnlySpan<byte> value) { throw null; }
public static bool TryWriteBytes(System.Span<byte> destination, bool value) { throw null; }
public static bool TryWriteBytes(System.Span<byte> destination, char value) { throw null; }
public static bool TryWriteBytes(System.Span<byte> destination, double value) { throw null; }
public static bool TryWriteBytes(System.Span<byte> destination, short value) { throw null; }
public static bool TryWriteBytes(System.Span<byte> destination, int value) { throw null; }
public static bool TryWriteBytes(System.Span<byte> destination, long value) { throw null; }
public static bool TryWriteBytes(System.Span<byte> destination, float value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static bool TryWriteBytes(System.Span<byte> destination, ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static bool TryWriteBytes(System.Span<byte> destination, uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static bool TryWriteBytes(System.Span<byte> destination, ulong value) { throw null; }
}
public static partial class Convert
{
public static readonly object DBNull;
public static object ChangeType(object value, TypeCode typeCode) { throw null; }
public static bool IsDBNull(object value) { throw null; }
public static int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut, Base64FormattingOptions options) { throw null; }
public static string ToBase64String(byte[] inArray, Base64FormattingOptions options) { throw null; }
public static string ToBase64String(byte[] inArray, int offset, int length, Base64FormattingOptions options) { throw null; }
public static string ToBase64String(System.ReadOnlySpan<byte> bytes, Base64FormattingOptions options = Base64FormattingOptions.None) { throw null; }
public static bool ToBoolean(char value) { throw null; }
public static bool ToBoolean(DateTime value) { throw null; }
public static byte ToByte(DateTime value) { throw null; }
public static char ToChar(bool value) { throw null; }
public static char ToChar(char value) { throw null; }
public static char ToChar(DateTime value) { throw null; }
public static char ToChar(decimal value) { throw null; }
public static char ToChar(double value) { throw null; }
public static char ToChar(float value) { throw null; }
public static DateTime ToDateTime(bool value) { throw null; }
public static DateTime ToDateTime(byte value) { throw null; }
public static DateTime ToDateTime(char value) { throw null; }
public static DateTime ToDateTime(DateTime value) { throw null; }
public static DateTime ToDateTime(decimal value) { throw null; }
public static DateTime ToDateTime(double value) { throw null; }
public static DateTime ToDateTime(short value) { throw null; }
public static DateTime ToDateTime(int value) { throw null; }
public static DateTime ToDateTime(long value) { throw null; }
[System.CLSCompliant(false)]
public static DateTime ToDateTime(sbyte value) { throw null; }
public static DateTime ToDateTime(float value) { throw null; }
[System.CLSCompliant(false)]
public static DateTime ToDateTime(ushort value) { throw null; }
[System.CLSCompliant(false)]
public static DateTime ToDateTime(uint value) { throw null; }
[System.CLSCompliant(false)]
public static DateTime ToDateTime(ulong value) { throw null; }
public static decimal ToDecimal(char value) { throw null; }
public static decimal ToDecimal(DateTime value) { throw null; }
public static double ToDouble(char value) { throw null; }
public static double ToDouble(DateTime value) { throw null; }
public static short ToInt16(DateTime value) { throw null; }
public static int ToInt32(DateTime value) { throw null; }
public static long ToInt64(DateTime value) { throw null; }
[System.CLSCompliant(false)]
public static sbyte ToSByte(DateTime value) { throw null; }
public static float ToSingle(char value) { throw null; }
public static float ToSingle(DateTime value) { throw null; }
public static string ToString(string value) { throw null; }
public static string ToString(string value, IFormatProvider provider) { throw null; }
[System.CLSCompliant(false)]
public static ushort ToUInt16(DateTime value) { throw null; }
[System.CLSCompliant(false)]
public static uint ToUInt32(DateTime value) { throw null; }
[System.CLSCompliant(false)]
public static ulong ToUInt64(DateTime value) { throw null; }
public static object ChangeType(object value, System.Type conversionType) { throw null; }
public static object ChangeType(object value, System.Type conversionType, System.IFormatProvider provider) { throw null; }
public static object ChangeType(object value, System.TypeCode typeCode, System.IFormatProvider provider) { throw null; }
public static byte[] FromBase64CharArray(char[] inArray, int offset, int length) { throw null; }
public static byte[] FromBase64String(string s) { throw null; }
public static System.TypeCode GetTypeCode(object value) { throw null; }
public static int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut) { throw null; }
public static string ToBase64String(byte[] inArray) { throw null; }
public static string ToBase64String(byte[] inArray, int offset, int length) { throw null; }
public static bool ToBoolean(bool value) { throw null; }
public static bool ToBoolean(byte value) { throw null; }
public static bool ToBoolean(decimal value) { throw null; }
public static bool ToBoolean(double value) { throw null; }
public static bool ToBoolean(short value) { throw null; }
public static bool ToBoolean(int value) { throw null; }
public static bool ToBoolean(long value) { throw null; }
public static bool ToBoolean(object value) { throw null; }
public static bool ToBoolean(object value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static bool ToBoolean(sbyte value) { throw null; }
public static bool ToBoolean(float value) { throw null; }
public static bool ToBoolean(string value) { throw null; }
public static bool ToBoolean(string value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static bool ToBoolean(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static bool ToBoolean(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static bool ToBoolean(ulong value) { throw null; }
public static byte ToByte(bool value) { throw null; }
public static byte ToByte(byte value) { throw null; }
public static byte ToByte(char value) { throw null; }
public static byte ToByte(decimal value) { throw null; }
public static byte ToByte(double value) { throw null; }
public static byte ToByte(short value) { throw null; }
public static byte ToByte(int value) { throw null; }
public static byte ToByte(long value) { throw null; }
public static byte ToByte(object value) { throw null; }
public static byte ToByte(object value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static byte ToByte(sbyte value) { throw null; }
public static byte ToByte(float value) { throw null; }
public static byte ToByte(string value) { throw null; }
public static byte ToByte(string value, System.IFormatProvider provider) { throw null; }
public static byte ToByte(string value, int fromBase) { throw null; }
[System.CLSCompliantAttribute(false)]
public static byte ToByte(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static byte ToByte(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static byte ToByte(ulong value) { throw null; }
public static char ToChar(byte value) { throw null; }
public static char ToChar(short value) { throw null; }
public static char ToChar(int value) { throw null; }
public static char ToChar(long value) { throw null; }
public static char ToChar(object value) { throw null; }
public static char ToChar(object value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static char ToChar(sbyte value) { throw null; }
public static char ToChar(string value) { throw null; }
public static char ToChar(string value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static char ToChar(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static char ToChar(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static char ToChar(ulong value) { throw null; }
public static System.DateTime ToDateTime(object value) { throw null; }
public static System.DateTime ToDateTime(object value, System.IFormatProvider provider) { throw null; }
public static System.DateTime ToDateTime(string value) { throw null; }
public static System.DateTime ToDateTime(string value, System.IFormatProvider provider) { throw null; }
public static decimal ToDecimal(bool value) { throw null; }
public static decimal ToDecimal(byte value) { throw null; }
public static decimal ToDecimal(decimal value) { throw null; }
public static decimal ToDecimal(double value) { throw null; }
public static decimal ToDecimal(short value) { throw null; }
public static decimal ToDecimal(int value) { throw null; }
public static decimal ToDecimal(long value) { throw null; }
public static decimal ToDecimal(object value) { throw null; }
public static decimal ToDecimal(object value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static decimal ToDecimal(sbyte value) { throw null; }
public static decimal ToDecimal(float value) { throw null; }
public static decimal ToDecimal(string value) { throw null; }
public static decimal ToDecimal(string value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static decimal ToDecimal(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static decimal ToDecimal(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static decimal ToDecimal(ulong value) { throw null; }
public static double ToDouble(bool value) { throw null; }
public static double ToDouble(byte value) { throw null; }
public static double ToDouble(decimal value) { throw null; }
public static double ToDouble(double value) { throw null; }
public static double ToDouble(short value) { throw null; }
public static double ToDouble(int value) { throw null; }
public static double ToDouble(long value) { throw null; }
public static double ToDouble(object value) { throw null; }
public static double ToDouble(object value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static double ToDouble(sbyte value) { throw null; }
public static double ToDouble(float value) { throw null; }
public static double ToDouble(string value) { throw null; }
public static double ToDouble(string value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static double ToDouble(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static double ToDouble(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static double ToDouble(ulong value) { throw null; }
public static short ToInt16(bool value) { throw null; }
public static short ToInt16(byte value) { throw null; }
public static short ToInt16(char value) { throw null; }
public static short ToInt16(decimal value) { throw null; }
public static short ToInt16(double value) { throw null; }
public static short ToInt16(short value) { throw null; }
public static short ToInt16(int value) { throw null; }
public static short ToInt16(long value) { throw null; }
public static short ToInt16(object value) { throw null; }
public static short ToInt16(object value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static short ToInt16(sbyte value) { throw null; }
public static short ToInt16(float value) { throw null; }
public static short ToInt16(string value) { throw null; }
public static short ToInt16(string value, System.IFormatProvider provider) { throw null; }
public static short ToInt16(string value, int fromBase) { throw null; }
[System.CLSCompliantAttribute(false)]
public static short ToInt16(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static short ToInt16(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static short ToInt16(ulong value) { throw null; }
public static int ToInt32(bool value) { throw null; }
public static int ToInt32(byte value) { throw null; }
public static int ToInt32(char value) { throw null; }
public static int ToInt32(decimal value) { throw null; }
public static int ToInt32(double value) { throw null; }
public static int ToInt32(short value) { throw null; }
public static int ToInt32(int value) { throw null; }
public static int ToInt32(long value) { throw null; }
public static int ToInt32(object value) { throw null; }
public static int ToInt32(object value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static int ToInt32(sbyte value) { throw null; }
public static int ToInt32(float value) { throw null; }
public static int ToInt32(string value) { throw null; }
public static int ToInt32(string value, System.IFormatProvider provider) { throw null; }
public static int ToInt32(string value, int fromBase) { throw null; }
[System.CLSCompliantAttribute(false)]
public static int ToInt32(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static int ToInt32(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static int ToInt32(ulong value) { throw null; }
public static long ToInt64(bool value) { throw null; }
public static long ToInt64(byte value) { throw null; }
public static long ToInt64(char value) { throw null; }
public static long ToInt64(decimal value) { throw null; }
public static long ToInt64(double value) { throw null; }
public static long ToInt64(short value) { throw null; }
public static long ToInt64(int value) { throw null; }
public static long ToInt64(long value) { throw null; }
public static long ToInt64(object value) { throw null; }
public static long ToInt64(object value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static long ToInt64(sbyte value) { throw null; }
public static long ToInt64(float value) { throw null; }
public static long ToInt64(string value) { throw null; }
public static long ToInt64(string value, System.IFormatProvider provider) { throw null; }
public static long ToInt64(string value, int fromBase) { throw null; }
[System.CLSCompliantAttribute(false)]
public static long ToInt64(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static long ToInt64(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static long ToInt64(ulong value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(bool value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(byte value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(char value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(decimal value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(double value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(short value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(int value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(long value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(object value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(object value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(sbyte value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(float value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(string value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(string value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(string value, int fromBase) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte ToSByte(ulong value) { throw null; }
public static float ToSingle(bool value) { throw null; }
public static float ToSingle(byte value) { throw null; }
public static float ToSingle(decimal value) { throw null; }
public static float ToSingle(double value) { throw null; }
public static float ToSingle(short value) { throw null; }
public static float ToSingle(int value) { throw null; }
public static float ToSingle(long value) { throw null; }
public static float ToSingle(object value) { throw null; }
public static float ToSingle(object value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static float ToSingle(sbyte value) { throw null; }
public static float ToSingle(float value) { throw null; }
public static float ToSingle(string value) { throw null; }
public static float ToSingle(string value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static float ToSingle(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static float ToSingle(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static float ToSingle(ulong value) { throw null; }
public static string ToString(bool value) { throw null; }
public static string ToString(bool value, System.IFormatProvider provider) { throw null; }
public static string ToString(byte value) { throw null; }
public static string ToString(byte value, System.IFormatProvider provider) { throw null; }
public static string ToString(byte value, int toBase) { throw null; }
public static string ToString(char value) { throw null; }
public static string ToString(char value, System.IFormatProvider provider) { throw null; }
public static string ToString(System.DateTime value) { throw null; }
public static string ToString(System.DateTime value, System.IFormatProvider provider) { throw null; }
public static string ToString(decimal value) { throw null; }
public static string ToString(decimal value, System.IFormatProvider provider) { throw null; }
public static string ToString(double value) { throw null; }
public static string ToString(double value, System.IFormatProvider provider) { throw null; }
public static string ToString(short value) { throw null; }
public static string ToString(short value, System.IFormatProvider provider) { throw null; }
public static string ToString(short value, int toBase) { throw null; }
public static string ToString(int value) { throw null; }
public static string ToString(int value, System.IFormatProvider provider) { throw null; }
public static string ToString(int value, int toBase) { throw null; }
public static string ToString(long value) { throw null; }
public static string ToString(long value, System.IFormatProvider provider) { throw null; }
public static string ToString(long value, int toBase) { throw null; }
public static string ToString(object value) { throw null; }
public static string ToString(object value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static string ToString(sbyte value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static string ToString(sbyte value, System.IFormatProvider provider) { throw null; }
public static string ToString(float value) { throw null; }
public static string ToString(float value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static string ToString(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static string ToString(ushort value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static string ToString(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static string ToString(uint value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static string ToString(ulong value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static string ToString(ulong value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(bool value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(byte value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(char value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(decimal value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(double value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(short value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(int value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(long value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(object value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(object value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(sbyte value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(float value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(string value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(string value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(string value, int fromBase) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort ToUInt16(ulong value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(bool value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(byte value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(char value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(decimal value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(double value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(short value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(int value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(long value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(object value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(object value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(sbyte value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(float value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(string value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(string value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(string value, int fromBase) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint ToUInt32(ulong value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(bool value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(byte value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(char value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(decimal value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(double value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(short value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(int value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(long value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(object value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(object value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(sbyte value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(float value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(string value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(string value, System.IFormatProvider provider) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(string value, int fromBase) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(ushort value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong ToUInt64(ulong value) { throw null; }
public static bool TryToBase64Chars(System.ReadOnlySpan<byte> bytes, System.Span<char> chars, out int charsWritten, Base64FormattingOptions options = Base64FormattingOptions.None) { throw null; }
public static bool TryFromBase64String(string s, System.Span<byte> bytes, out int bytesWritten) { throw null; }
public static bool TryFromBase64Chars(System.ReadOnlySpan<char> chars, System.Span<byte> bytes, out int bytesWritten) { throw null; }
}
public static partial class Environment
{
public static string CommandLine { get { throw null; } }
public static string CurrentDirectory { get { throw null; } set { } }
public static int CurrentManagedThreadId { get { throw null; } }
public static int ExitCode { get { throw null; } set { } }
public static bool HasShutdownStarted { get { throw null; } }
public static bool Is64BitProcess { get { throw null; } }
public static bool Is64BitOperatingSystem { get { throw null; } }
public static string MachineName { get { throw null; } }
public static string NewLine { get { throw null; } }
public static System.OperatingSystem OSVersion { get { throw null; } }
public static int ProcessorCount { get { throw null; } }
public static string StackTrace { get { throw null; } }
public static string SystemDirectory { get { throw null; } }
public static int SystemPageSize { get { throw null; } }
public static int TickCount { get { throw null; } }
public static bool UserInteractive { get { throw null; } }
public static string UserName { get { throw null; } }
public static string UserDomainName { get { throw null; } }
public static System.Version Version { get { throw null; } }
public static long WorkingSet { get { throw null; } }
public static string ExpandEnvironmentVariables(string name) { throw null; }
public static void Exit(int exitCode) { }
public static void FailFast(string message) { }
public static void FailFast(string message, System.Exception exception) { }
public static string[] GetCommandLineArgs() { throw null; }
public static string GetEnvironmentVariable(string variable) { throw null; }
public static string GetEnvironmentVariable(string variable, System.EnvironmentVariableTarget target) { throw null; }
public static System.Collections.IDictionary GetEnvironmentVariables() { throw null; }
public static System.Collections.IDictionary GetEnvironmentVariables(System.EnvironmentVariableTarget target) { throw null; }
public static string GetFolderPath(System.Environment.SpecialFolder folder) { throw null; }
public static string GetFolderPath(System.Environment.SpecialFolder folder, System.Environment.SpecialFolderOption option) { throw null; }
public static string[] GetLogicalDrives() { throw null; }
public static void SetEnvironmentVariable(string variable, string value) { }
public static void SetEnvironmentVariable(string variable, string value, System.EnvironmentVariableTarget target) { }
public enum SpecialFolder
{
ApplicationData = 0x001a,
CommonApplicationData = 0x0023,
LocalApplicationData = 0x001c,
Cookies = 0x0021,
Desktop = 0x0000,
Favorites = 0x0006,
History = 0x0022,
InternetCache = 0x0020,
Programs = 0x0002,
MyComputer = 0x0011,
MyMusic = 0x000d,
MyPictures = 0x0027,
MyVideos = 0x000e,
Recent = 0x0008,
SendTo = 0x0009,
StartMenu = 0x000b,
Startup = 0x0007,
System = 0x0025,
Templates = 0x0015,
DesktopDirectory = 0x0010,
Personal = 0x0005,
MyDocuments = 0x0005,
ProgramFiles = 0x0026,
CommonProgramFiles = 0x002b,
AdminTools = 0x0030,
CDBurning = 0x003b,
CommonAdminTools = 0x002f,
CommonDocuments = 0x002e,
CommonMusic = 0x0035,
CommonOemLinks = 0x003a,
CommonPictures = 0x0036,
CommonStartMenu = 0x0016,
CommonPrograms = 0X0017,
CommonStartup = 0x0018,
CommonDesktopDirectory = 0x0019,
CommonTemplates = 0x002d,
CommonVideos = 0x0037,
Fonts = 0x0014,
NetworkShortcuts = 0x0013,
PrinterShortcuts = 0x001b,
UserProfile = 0x0028,
CommonProgramFilesX86 = 0x002c,
ProgramFilesX86 = 0x002a,
Resources = 0x0038,
LocalizedResources = 0x0039,
SystemX86 = 0x0029,
Windows = 0x0024,
}
public enum SpecialFolderOption
{
None = 0,
Create = 0x8000,
DoNotVerify = 0x4000,
}
}
public enum EnvironmentVariableTarget
{
Process = 0,
User = 1,
Machine = 2,
}
public enum LoaderOptimization
{
[System.ObsoleteAttribute("This method has been deprecated. Please use Assembly.Load() instead. https://go.microsoft.com/fwlink/?linkid=14202")]
DisallowBindings = 4,
[System.ObsoleteAttribute("This method has been deprecated. Please use Assembly.Load() instead. https://go.microsoft.com/fwlink/?linkid=14202")]
DomainMask = 3,
MultiDomain = 2,
MultiDomainHost = 3,
NotSpecified = 0,
SingleDomain = 1,
}
[System.AttributeUsageAttribute(System.AttributeTargets.Method)]
public sealed partial class LoaderOptimizationAttribute : System.Attribute
{
public LoaderOptimizationAttribute(byte value) { }
public LoaderOptimizationAttribute(System.LoaderOptimization value) { }
public System.LoaderOptimization Value { get { throw null; } }
}
public static partial class Math
{
public static decimal Abs(decimal value) { throw null; }
public static double Abs(double value) { throw null; }
public static short Abs(short value) { throw null; }
public static int Abs(int value) { throw null; }
public static long Abs(long value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte Abs(sbyte value) { throw null; }
public static float Abs(float value) { throw null; }
public static double Acos(double d) { throw null; }
public static double Acosh(double d) { throw null; }
public static double Asin(double d) { throw null; }
public static double Asinh(double d) { throw null; }
public static double Atan(double d) { throw null; }
public static double Atan2(double y, double x) { throw null; }
public static double Atanh(double d) { throw null; }
public static long BigMul(int a, int b) { throw null; }
public static double BitDecrement(double x) { throw null; }
public static double BitIncrement(double x) { throw null; }
public static double Cbrt(double d) { throw null; }
public static decimal Ceiling(decimal d) { throw null; }
public static double Ceiling(double a) { throw null; }
public static byte Clamp(byte value, byte min, byte max) { throw null; }
public static decimal Clamp(decimal value, decimal min, decimal max) { throw null; }
public static double Clamp(double value, double min, double max) { throw null; }
public static short Clamp(short value, short min, short max) { throw null; }
public static int Clamp(int value, int min, int max) { throw null; }
public static long Clamp(long value, long min, long max) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte Clamp(sbyte value, sbyte min, sbyte max) { throw null; }
public static float Clamp(float value, float min, float max) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort Clamp(ushort value, ushort min, ushort max) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint Clamp(uint value, uint min, uint max) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong Clamp(ulong value, ulong min, ulong max) { throw null; }
public static double CopySign(double x, double y) { throw null; }
public static double Cos(double d) { throw null; }
public static double Cosh(double value) { throw null; }
public static int DivRem(int a, int b, out int result) { throw null; }
public static long DivRem(long a, long b, out long result) { throw null; }
public static double Exp(double d) { throw null; }
public static decimal Floor(decimal d) { throw null; }
public static double Floor(double d) { throw null; }
public static double FusedMultiplyAdd(double x, double y, double z) { throw null; }
public static double IEEERemainder(double x, double y) { throw null; }
public static int ILogB(double x) { throw null; }
public static double Log(double d) { throw null; }
public static double Log(double a, double newBase) { throw null; }
public static double Log2(double x) { throw null; }
public static double Log10(double d) { throw null; }
public static byte Max(byte val1, byte val2) { throw null; }
public static decimal Max(decimal val1, decimal val2) { throw null; }
public static double Max(double val1, double val2) { throw null; }
public static short Max(short val1, short val2) { throw null; }
public static int Max(int val1, int val2) { throw null; }
public static long Max(long val1, long val2) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte Max(sbyte val1, sbyte val2) { throw null; }
public static float Max(float val1, float val2) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort Max(ushort val1, ushort val2) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint Max(uint val1, uint val2) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong Max(ulong val1, ulong val2) { throw null; }
public static double MaxMagnitude(double x, double y) { throw null; }
public static byte Min(byte val1, byte val2) { throw null; }
public static decimal Min(decimal val1, decimal val2) { throw null; }
public static double Min(double val1, double val2) { throw null; }
public static short Min(short val1, short val2) { throw null; }
public static int Min(int val1, int val2) { throw null; }
public static long Min(long val1, long val2) { throw null; }
[System.CLSCompliantAttribute(false)]
public static sbyte Min(sbyte val1, sbyte val2) { throw null; }
public static float Min(float val1, float val2) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ushort Min(ushort val1, ushort val2) { throw null; }
[System.CLSCompliantAttribute(false)]
public static uint Min(uint val1, uint val2) { throw null; }
[System.CLSCompliantAttribute(false)]
public static ulong Min(ulong val1, ulong val2) { throw null; }
public static double MinMagnitude(double x, double y) { throw null; }
public static double Pow(double x, double y) { throw null; }
public static decimal Round(decimal d) { throw null; }
public static decimal Round(decimal d, int decimals) { throw null; }
public static decimal Round(decimal d, int decimals, System.MidpointRounding mode) { throw null; }
public static decimal Round(decimal d, System.MidpointRounding mode) { throw null; }
public static double Round(double a) { throw null; }
public static double Round(double value, int digits) { throw null; }
public static double Round(double value, int digits, System.MidpointRounding mode) { throw null; }
public static double Round(double value, System.MidpointRounding mode) { throw null; }
public static double ScaleB(double x, int n) { throw null; }
public static int Sign(decimal value) { throw null; }
public static int Sign(double value) { throw null; }
public static int Sign(short value) { throw null; }
public static int Sign(int value) { throw null; }
public static int Sign(long value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static int Sign(sbyte value) { throw null; }
public static int Sign(float value) { throw null; }
public static double Sin(double a) { throw null; }
public static double Sinh(double value) { throw null; }
public static double Sqrt(double d) { throw null; }
public static double Tan(double a) { throw null; }
public static double Tanh(double value) { throw null; }
public static decimal Truncate(decimal d) { throw null; }
public static double Truncate(double d) { throw null; }
}
public static partial class MathF
{
public static float Abs(float x) { throw null; }
public static float Acos(float x) { throw null; }
public static float Acosh(float x) { throw null; }
public static float Asin(float x) { throw null; }
public static float Asinh(float x) { throw null; }
public static float Atan(float x) { throw null; }
public static float Atanh(float x) { throw null; }
public static float Atan2(float y, float x) { throw null; }
public static float BitDecrement(float x) { throw null; }
public static float BitIncrement(float x) { throw null; }
public static float Cbrt(float x) { throw null; }
public static float Ceiling(float x) { throw null; }
public static float CopySign(float x, float y) { throw null; }
public static float Cos(float x) { throw null; }
public static float Cosh(float x) { throw null; }
public static float Exp(float x) { throw null; }
public static float Floor(float x) { throw null; }
public static float FusedMultiplyAdd(float x, float y, float z) { throw null; }
public static float IEEERemainder(float x, float y) { throw null; }
public static int ILogB(float x) { throw null; }
public static float Log(float x) { throw null; }
public static float Log(float x, float y) { throw null; }
public static float Log2(float x) { throw null; }
public static float Log10(float x) { throw null; }
public static float Max(float x, float y) { throw null; }
public static float MaxMagnitude(float x, float y) { throw null; }
public static float Min(float x, float y) { throw null; }
public static float MinMagnitude(float x, float y) { throw null; }
public static float Pow(float x, float y) { throw null; }
public static float Round(float x) { throw null; }
public static float Round(float x, int digits) { throw null; }
public static float Round(float x, int digits, System.MidpointRounding mode) { throw null; }
public static float Round(float x, System.MidpointRounding mode) { throw null; }
public static float ScaleB(float x, int n) { throw null; }
public static int Sign(float x) { throw null; }
public static float Sin(float x) { throw null; }
public static float Sinh(float x) { throw null; }
public static float Sqrt(float x) { throw null; }
public static float Tan(float x) { throw null; }
public static float Tanh(float x) { throw null; }
public static float Truncate(float x) { throw null; }
}
public sealed class OperatingSystem : System.ICloneable, System.Runtime.Serialization.ISerializable
{
private OperatingSystem() { }
public OperatingSystem(System.PlatformID platform, System.Version version) { }
public System.PlatformID Platform { get { throw null; } }
public string ServicePack { get { throw null; } }
public System.Version Version { get { throw null; } }
public object Clone() { throw null; }
public override string ToString() { throw null; }
public string VersionString { get { throw null; } }
public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
}
public enum PlatformID
{
[ComponentModel.EditorBrowsable(ComponentModel.EditorBrowsableState.Never)] Win32S = 0,
[ComponentModel.EditorBrowsable(ComponentModel.EditorBrowsableState.Never)] Win32Windows = 1,
Win32NT = 2,
[ComponentModel.EditorBrowsable(ComponentModel.EditorBrowsableState.Never)] WinCE = 3,
Unix = 4,
[ComponentModel.EditorBrowsable(ComponentModel.EditorBrowsableState.Never)] Xbox = 5,
[ComponentModel.EditorBrowsable(ComponentModel.EditorBrowsableState.Never)] MacOSX = 6
}
public partial class Progress<T> : System.IProgress<T>
{
public Progress() { }
public Progress(System.Action<T> handler) { }
public event System.EventHandler<T> ProgressChanged { add { } remove { } }
protected virtual void OnReport(T value) { }
void System.IProgress<T>.Report(T value) { }
}
public partial class Random
{
public Random() { }
public Random(int Seed) { }
public virtual int Next() { throw null; }
public virtual int Next(int maxValue) { throw null; }
public virtual int Next(int minValue, int maxValue) { throw null; }
public virtual void NextBytes(byte[] buffer) { }
public virtual void NextBytes(Span<byte> buffer) { }
public virtual double NextDouble() { throw null; }
protected virtual double Sample() { throw null; }
}
public abstract partial class StringComparer : System.Collections.Generic.IComparer<string>, System.Collections.Generic.IEqualityComparer<string>, System.Collections.IComparer, System.Collections.IEqualityComparer
{
protected StringComparer() { }
public static System.StringComparer CurrentCulture { get { throw null; } }
public static System.StringComparer CurrentCultureIgnoreCase { get { throw null; } }
public static System.StringComparer InvariantCulture { get { throw null; } }
public static System.StringComparer InvariantCultureIgnoreCase { get { throw null; } }
public static System.StringComparer Ordinal { get { throw null; } }
public static System.StringComparer OrdinalIgnoreCase { get { throw null; } }
public static System.StringComparer FromComparison(System.StringComparison comparisonType) { throw null; }
public abstract int Compare(string x, string y);
public static System.StringComparer Create(System.Globalization.CultureInfo culture, bool ignoreCase) { throw null; }
public static System.StringComparer Create(System.Globalization.CultureInfo culture, System.Globalization.CompareOptions options) { throw null; }
public new bool Equals(object x, object y) { throw null; }
public abstract bool Equals(string x, string y);
public int GetHashCode(object obj) { throw null; }
public abstract int GetHashCode(string obj);
public int Compare(object x, object y) { throw null; }
bool System.Collections.IEqualityComparer.Equals(object x, object y) { throw null; }
int System.Collections.IEqualityComparer.GetHashCode(object obj) { throw null; }
}
public partial class UriBuilder
{
public UriBuilder() { }
public UriBuilder(string uri) { }
public UriBuilder(string schemeName, string hostName) { }
public UriBuilder(string scheme, string host, int portNumber) { }
public UriBuilder(string scheme, string host, int port, string pathValue) { }
public UriBuilder(string scheme, string host, int port, string path, string extraValue) { }
public UriBuilder(System.Uri uri) { }
public string Fragment { get { throw null; } set { } }
public string Host { get { throw null; } set { } }
public string Password { get { throw null; } set { } }
public string Path { get { throw null; } set { } }
public int Port { get { throw null; } set { } }
public string Query { get { throw null; } set { } }
public string Scheme { get { throw null; } set { } }
public System.Uri Uri { get { throw null; } }