-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
Copy pathIntPtr.xml
6803 lines (6699 loc) · 475 KB
/
IntPtr.xml
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
<Type Name="IntPtr" FullName="System.IntPtr">
<TypeSignature Language="C#" Value="public struct IntPtr" FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit native int extends System.ValueType" FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6" />
<TypeSignature Language="DocId" Value="T:System.IntPtr" />
<TypeSignature Language="VB.NET" Value="Public Structure IntPtr" FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6" />
<TypeSignature Language="F#" Value="type nativeint = struct" FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6" />
<TypeSignature Language="C++ CLI" Value="public value class IntPtr" FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6" />
<TypeSignature Language="C#" Value="public readonly struct IntPtr : IComparable, IComparable<IntPtr>, IEquatable<IntPtr>, IFormattable, System.Runtime.Serialization.ISerializable" FrameworkAlternate="net-5.0" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit native int extends System.ValueType implements class System.IComparable, class System.IComparable`1<native int>, class System.IEquatable`1<native int>, class System.IFormattable, class System.Runtime.Serialization.ISerializable" FrameworkAlternate="net-5.0" />
<TypeSignature Language="VB.NET" Value="Public Structure IntPtr
Implements IComparable, IComparable(Of IntPtr), IEquatable(Of IntPtr), IFormattable, ISerializable" FrameworkAlternate="net-5.0" />
<TypeSignature Language="F#" Value="type nativeint = struct
 interface IFormattable
 interface ISerializable" FrameworkAlternate="net-5.0" />
<TypeSignature Language="C++ CLI" Value="public value class IntPtr : IComparable, IComparable<IntPtr>, IEquatable<IntPtr>, IFormattable, System::Runtime::Serialization::ISerializable" FrameworkAlternate="net-5.0" />
<TypeSignature Language="C#" Value="public readonly struct IntPtr : IComparable, IComparable<IntPtr>, IEquatable<IntPtr>, ISpanFormattable, System.Runtime.Serialization.ISerializable" FrameworkAlternate="net-6.0" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit native int extends System.ValueType implements class System.IComparable, class System.IComparable`1<native int>, class System.IEquatable`1<native int>, class System.IFormattable, class System.ISpanFormattable, class System.Runtime.Serialization.ISerializable" FrameworkAlternate="net-6.0" />
<TypeSignature Language="VB.NET" Value="Public Structure IntPtr
Implements IComparable, IComparable(Of IntPtr), IEquatable(Of IntPtr), ISerializable, ISpanFormattable" FrameworkAlternate="net-6.0" />
<TypeSignature Language="F#" Value="type nativeint = struct
 interface ISpanFormattable
 interface IFormattable
 interface ISerializable" FrameworkAlternate="net-6.0" />
<TypeSignature Language="C++ CLI" Value="public value class IntPtr : IComparable, IComparable<IntPtr>, IEquatable<IntPtr>, ISpanFormattable, System::Runtime::Serialization::ISerializable" FrameworkAlternate="net-6.0" />
<TypeSignature Language="C#" Value="public readonly struct IntPtr : IComparable<IntPtr>, IEquatable<IntPtr>, IParsable<IntPtr>, ISpanParsable<IntPtr>, System.Numerics.IAdditionOperators<IntPtr,IntPtr,IntPtr>, System.Numerics.IAdditiveIdentity<IntPtr,IntPtr>, System.Numerics.IBinaryInteger<IntPtr>, System.Numerics.IBinaryNumber<IntPtr>, System.Numerics.IBitwiseOperators<IntPtr,IntPtr,IntPtr>, System.Numerics.IComparisonOperators<IntPtr,IntPtr,bool>, System.Numerics.IDecrementOperators<IntPtr>, System.Numerics.IDivisionOperators<IntPtr,IntPtr,IntPtr>, System.Numerics.IEqualityOperators<IntPtr,IntPtr,bool>, System.Numerics.IIncrementOperators<IntPtr>, System.Numerics.IMinMaxValue<IntPtr>, System.Numerics.IModulusOperators<IntPtr,IntPtr,IntPtr>, System.Numerics.IMultiplicativeIdentity<IntPtr,IntPtr>, System.Numerics.IMultiplyOperators<IntPtr,IntPtr,IntPtr>, System.Numerics.INumber<IntPtr>, System.Numerics.INumberBase<IntPtr>, System.Numerics.IShiftOperators<IntPtr,int,IntPtr>, System.Numerics.ISignedNumber<IntPtr>, System.Numerics.ISubtractionOperators<IntPtr,IntPtr,IntPtr>, System.Numerics.IUnaryNegationOperators<IntPtr,IntPtr>, System.Numerics.IUnaryPlusOperators<IntPtr,IntPtr>, System.Runtime.Serialization.ISerializable" FrameworkAlternate="net-7.0" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit native int extends System.ValueType implements class System.IComparable, class System.IComparable`1<native int>, class System.IEquatable`1<native int>, class System.IFormattable, class System.IParsable`1<native int>, class System.ISpanFormattable, class System.ISpanParsable`1<native int>, class System.Numerics.IAdditionOperators`3<native int, native int, native int>, class System.Numerics.IAdditiveIdentity`2<native int, native int>, class System.Numerics.IBinaryInteger`1<native int>, class System.Numerics.IBinaryNumber`1<native int>, class System.Numerics.IBitwiseOperators`3<native int, native int, native int>, class System.Numerics.IComparisonOperators`3<native int, native int, bool>, class System.Numerics.IDecrementOperators`1<native int>, class System.Numerics.IDivisionOperators`3<native int, native int, native int>, class System.Numerics.IEqualityOperators`3<native int, native int, bool>, class System.Numerics.IIncrementOperators`1<native int>, class System.Numerics.IMinMaxValue`1<native int>, class System.Numerics.IModulusOperators`3<native int, native int, native int>, class System.Numerics.IMultiplicativeIdentity`2<native int, native int>, class System.Numerics.IMultiplyOperators`3<native int, native int, native int>, class System.Numerics.INumber`1<native int>, class System.Numerics.INumberBase`1<native int>, class System.Numerics.IShiftOperators`3<native int, int32, native int>, class System.Numerics.ISignedNumber`1<native int>, class System.Numerics.ISubtractionOperators`3<native int, native int, native int>, class System.Numerics.IUnaryNegationOperators`2<native int, native int>, class System.Numerics.IUnaryPlusOperators`2<native int, native int>, class System.Runtime.Serialization.ISerializable" FrameworkAlternate="net-7.0" />
<TypeSignature Language="VB.NET" Value="Public Structure IntPtr
Implements IAdditionOperators(Of IntPtr, IntPtr, IntPtr), IAdditiveIdentity(Of IntPtr, IntPtr), IBinaryInteger(Of IntPtr), IBinaryNumber(Of IntPtr), IBitwiseOperators(Of IntPtr, IntPtr, IntPtr), IComparable(Of IntPtr), IComparisonOperators(Of IntPtr, IntPtr, Boolean), IDecrementOperators(Of IntPtr), IDivisionOperators(Of IntPtr, IntPtr, IntPtr), IEqualityOperators(Of IntPtr, IntPtr, Boolean), IEquatable(Of IntPtr), IIncrementOperators(Of IntPtr), IMinMaxValue(Of IntPtr), IModulusOperators(Of IntPtr, IntPtr, IntPtr), IMultiplicativeIdentity(Of IntPtr, IntPtr), IMultiplyOperators(Of IntPtr, IntPtr, IntPtr), INumber(Of IntPtr), INumberBase(Of IntPtr), IParsable(Of IntPtr), ISerializable, IShiftOperators(Of IntPtr, Integer, IntPtr), ISignedNumber(Of IntPtr), ISpanParsable(Of IntPtr), ISubtractionOperators(Of IntPtr, IntPtr, IntPtr), IUnaryNegationOperators(Of IntPtr, IntPtr), IUnaryPlusOperators(Of IntPtr, IntPtr)" FrameworkAlternate="net-7.0" />
<TypeSignature Language="F#" Value="type nativeint = struct
 interface IFormattable
 interface IParsable<nativeint>
 interface ISpanFormattable
 interface ISpanParsable<nativeint>
 interface IAdditionOperators<nativeint, nativeint, nativeint>
 interface IAdditiveIdentity<nativeint, nativeint>
 interface IBinaryInteger<nativeint>
 interface IBinaryNumber<nativeint>
 interface IBitwiseOperators<nativeint, nativeint, nativeint>
 interface IComparisonOperators<nativeint, nativeint, bool>
 interface IEqualityOperators<nativeint, nativeint, bool>
 interface IDecrementOperators<nativeint>
 interface IDivisionOperators<nativeint, nativeint, nativeint>
 interface IIncrementOperators<nativeint>
 interface IModulusOperators<nativeint, nativeint, nativeint>
 interface IMultiplicativeIdentity<nativeint, nativeint>
 interface IMultiplyOperators<nativeint, nativeint, nativeint>
 interface INumber<nativeint>
 interface INumberBase<nativeint>
 interface ISubtractionOperators<nativeint, nativeint, nativeint>
 interface IUnaryNegationOperators<nativeint, nativeint>
 interface IUnaryPlusOperators<nativeint, nativeint>
 interface IShiftOperators<nativeint, int, nativeint>
 interface IMinMaxValue<nativeint>
 interface ISignedNumber<nativeint>
 interface ISerializable" FrameworkAlternate="net-7.0" />
<TypeSignature Language="C++ CLI" Value="public value class IntPtr : IComparable<IntPtr>, IEquatable<IntPtr>, IParsable<IntPtr>, ISpanParsable<IntPtr>, System::Numerics::IAdditionOperators<IntPtr, IntPtr, IntPtr>, System::Numerics::IAdditiveIdentity<IntPtr, IntPtr>, System::Numerics::IBinaryInteger<IntPtr>, System::Numerics::IBinaryNumber<IntPtr>, System::Numerics::IBitwiseOperators<IntPtr, IntPtr, IntPtr>, System::Numerics::IComparisonOperators<IntPtr, IntPtr, bool>, System::Numerics::IDecrementOperators<IntPtr>, System::Numerics::IDivisionOperators<IntPtr, IntPtr, IntPtr>, System::Numerics::IEqualityOperators<IntPtr, IntPtr, bool>, System::Numerics::IIncrementOperators<IntPtr>, System::Numerics::IMinMaxValue<IntPtr>, System::Numerics::IModulusOperators<IntPtr, IntPtr, IntPtr>, System::Numerics::IMultiplicativeIdentity<IntPtr, IntPtr>, System::Numerics::IMultiplyOperators<IntPtr, IntPtr, IntPtr>, System::Numerics::INumber<IntPtr>, System::Numerics::INumberBase<IntPtr>, System::Numerics::IShiftOperators<IntPtr, int, IntPtr>, System::Numerics::ISignedNumber<IntPtr>, System::Numerics::ISubtractionOperators<IntPtr, IntPtr, IntPtr>, System::Numerics::IUnaryNegationOperators<IntPtr, IntPtr>, System::Numerics::IUnaryPlusOperators<IntPtr, IntPtr>, System::Runtime::Serialization::ISerializable" FrameworkAlternate="net-7.0" />
<TypeSignature Language="C#" Value="public readonly struct IntPtr : IComparable<IntPtr>, IEquatable<IntPtr>, IParsable<IntPtr>, ISpanParsable<IntPtr>, IUtf8SpanParsable<IntPtr>, System.Numerics.IAdditionOperators<IntPtr,IntPtr,IntPtr>, System.Numerics.IAdditiveIdentity<IntPtr,IntPtr>, System.Numerics.IBinaryInteger<IntPtr>, System.Numerics.IBinaryNumber<IntPtr>, System.Numerics.IBitwiseOperators<IntPtr,IntPtr,IntPtr>, System.Numerics.IComparisonOperators<IntPtr,IntPtr,bool>, System.Numerics.IDecrementOperators<IntPtr>, System.Numerics.IDivisionOperators<IntPtr,IntPtr,IntPtr>, System.Numerics.IEqualityOperators<IntPtr,IntPtr,bool>, System.Numerics.IIncrementOperators<IntPtr>, System.Numerics.IMinMaxValue<IntPtr>, System.Numerics.IModulusOperators<IntPtr,IntPtr,IntPtr>, System.Numerics.IMultiplicativeIdentity<IntPtr,IntPtr>, System.Numerics.IMultiplyOperators<IntPtr,IntPtr,IntPtr>, System.Numerics.INumber<IntPtr>, System.Numerics.INumberBase<IntPtr>, System.Numerics.IShiftOperators<IntPtr,int,IntPtr>, System.Numerics.ISignedNumber<IntPtr>, System.Numerics.ISubtractionOperators<IntPtr,IntPtr,IntPtr>, System.Numerics.IUnaryNegationOperators<IntPtr,IntPtr>, System.Numerics.IUnaryPlusOperators<IntPtr,IntPtr>, System.Runtime.Serialization.ISerializable" FrameworkAlternate="net-8.0;net-9.0" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit native int extends System.ValueType implements class System.IComparable, class System.IComparable`1<native int>, class System.IEquatable`1<native int>, class System.IFormattable, class System.IParsable`1<native int>, class System.ISpanFormattable, class System.ISpanParsable`1<native int>, class System.IUtf8SpanFormattable, class System.IUtf8SpanParsable`1<native int>, class System.Numerics.IAdditionOperators`3<native int, native int, native int>, class System.Numerics.IAdditiveIdentity`2<native int, native int>, class System.Numerics.IBinaryInteger`1<native int>, class System.Numerics.IBinaryNumber`1<native int>, class System.Numerics.IBitwiseOperators`3<native int, native int, native int>, class System.Numerics.IComparisonOperators`3<native int, native int, bool>, class System.Numerics.IDecrementOperators`1<native int>, class System.Numerics.IDivisionOperators`3<native int, native int, native int>, class System.Numerics.IEqualityOperators`3<native int, native int, bool>, class System.Numerics.IIncrementOperators`1<native int>, class System.Numerics.IMinMaxValue`1<native int>, class System.Numerics.IModulusOperators`3<native int, native int, native int>, class System.Numerics.IMultiplicativeIdentity`2<native int, native int>, class System.Numerics.IMultiplyOperators`3<native int, native int, native int>, class System.Numerics.INumber`1<native int>, class System.Numerics.INumberBase`1<native int>, class System.Numerics.IShiftOperators`3<native int, int32, native int>, class System.Numerics.ISignedNumber`1<native int>, class System.Numerics.ISubtractionOperators`3<native int, native int, native int>, class System.Numerics.IUnaryNegationOperators`2<native int, native int>, class System.Numerics.IUnaryPlusOperators`2<native int, native int>, class System.Runtime.Serialization.ISerializable" FrameworkAlternate="net-8.0;net-9.0" />
<TypeSignature Language="VB.NET" Value="Public Structure IntPtr
Implements IAdditionOperators(Of IntPtr, IntPtr, IntPtr), IAdditiveIdentity(Of IntPtr, IntPtr), IBinaryInteger(Of IntPtr), IBinaryNumber(Of IntPtr), IBitwiseOperators(Of IntPtr, IntPtr, IntPtr), IComparable(Of IntPtr), IComparisonOperators(Of IntPtr, IntPtr, Boolean), IDecrementOperators(Of IntPtr), IDivisionOperators(Of IntPtr, IntPtr, IntPtr), IEqualityOperators(Of IntPtr, IntPtr, Boolean), IEquatable(Of IntPtr), IIncrementOperators(Of IntPtr), IMinMaxValue(Of IntPtr), IModulusOperators(Of IntPtr, IntPtr, IntPtr), IMultiplicativeIdentity(Of IntPtr, IntPtr), IMultiplyOperators(Of IntPtr, IntPtr, IntPtr), INumber(Of IntPtr), INumberBase(Of IntPtr), IParsable(Of IntPtr), ISerializable, IShiftOperators(Of IntPtr, Integer, IntPtr), ISignedNumber(Of IntPtr), ISpanParsable(Of IntPtr), ISubtractionOperators(Of IntPtr, IntPtr, IntPtr), IUnaryNegationOperators(Of IntPtr, IntPtr), IUnaryPlusOperators(Of IntPtr, IntPtr), IUtf8SpanParsable(Of IntPtr)" FrameworkAlternate="net-8.0;net-9.0" />
<TypeSignature Language="F#" Value="type nativeint = struct
 interface IFormattable
 interface IParsable<nativeint>
 interface ISpanFormattable
 interface ISpanParsable<nativeint>
 interface IAdditionOperators<nativeint, nativeint, nativeint>
 interface IAdditiveIdentity<nativeint, nativeint>
 interface IBinaryInteger<nativeint>
 interface IBinaryNumber<nativeint>
 interface IBitwiseOperators<nativeint, nativeint, nativeint>
 interface IComparisonOperators<nativeint, nativeint, bool>
 interface IEqualityOperators<nativeint, nativeint, bool>
 interface IDecrementOperators<nativeint>
 interface IDivisionOperators<nativeint, nativeint, nativeint>
 interface IIncrementOperators<nativeint>
 interface IModulusOperators<nativeint, nativeint, nativeint>
 interface IMultiplicativeIdentity<nativeint, nativeint>
 interface IMultiplyOperators<nativeint, nativeint, nativeint>
 interface INumber<nativeint>
 interface INumberBase<nativeint>
 interface ISubtractionOperators<nativeint, nativeint, nativeint>
 interface IUnaryNegationOperators<nativeint, nativeint>
 interface IUnaryPlusOperators<nativeint, nativeint>
 interface IUtf8SpanFormattable
 interface IUtf8SpanParsable<nativeint>
 interface IShiftOperators<nativeint, int, nativeint>
 interface IMinMaxValue<nativeint>
 interface ISignedNumber<nativeint>
 interface ISerializable" FrameworkAlternate="net-8.0" />
<TypeSignature Language="C++ CLI" Value="public value class IntPtr : IComparable<IntPtr>, IEquatable<IntPtr>, IParsable<IntPtr>, ISpanParsable<IntPtr>, IUtf8SpanParsable<IntPtr>, System::Numerics::IAdditionOperators<IntPtr, IntPtr, IntPtr>, System::Numerics::IAdditiveIdentity<IntPtr, IntPtr>, System::Numerics::IBinaryInteger<IntPtr>, System::Numerics::IBinaryNumber<IntPtr>, System::Numerics::IBitwiseOperators<IntPtr, IntPtr, IntPtr>, System::Numerics::IComparisonOperators<IntPtr, IntPtr, bool>, System::Numerics::IDecrementOperators<IntPtr>, System::Numerics::IDivisionOperators<IntPtr, IntPtr, IntPtr>, System::Numerics::IEqualityOperators<IntPtr, IntPtr, bool>, System::Numerics::IIncrementOperators<IntPtr>, System::Numerics::IMinMaxValue<IntPtr>, System::Numerics::IModulusOperators<IntPtr, IntPtr, IntPtr>, System::Numerics::IMultiplicativeIdentity<IntPtr, IntPtr>, System::Numerics::IMultiplyOperators<IntPtr, IntPtr, IntPtr>, System::Numerics::INumber<IntPtr>, System::Numerics::INumberBase<IntPtr>, System::Numerics::IShiftOperators<IntPtr, int, IntPtr>, System::Numerics::ISignedNumber<IntPtr>, System::Numerics::ISubtractionOperators<IntPtr, IntPtr, IntPtr>, System::Numerics::IUnaryNegationOperators<IntPtr, IntPtr>, System::Numerics::IUnaryPlusOperators<IntPtr, IntPtr>, System::Runtime::Serialization::ISerializable" FrameworkAlternate="net-8.0;net-9.0" />
<TypeSignature Language="F#" Value="type nativeint = struct
 interface IFormattable
 interface IParsable<nativeint>
 interface ISpanFormattable
 interface ISpanParsable<nativeint>
 interface IUtf8SpanFormattable
 interface IUtf8SpanParsable<nativeint>
 interface IAdditionOperators<nativeint, nativeint, nativeint>
 interface IAdditiveIdentity<nativeint, nativeint>
 interface IBinaryInteger<nativeint>
 interface IBinaryNumber<nativeint>
 interface IBitwiseOperators<nativeint, nativeint, nativeint>
 interface IComparisonOperators<nativeint, nativeint, bool>
 interface IEqualityOperators<nativeint, nativeint, bool>
 interface IDecrementOperators<nativeint>
 interface IDivisionOperators<nativeint, nativeint, nativeint>
 interface IIncrementOperators<nativeint>
 interface IModulusOperators<nativeint, nativeint, nativeint>
 interface IMultiplicativeIdentity<nativeint, nativeint>
 interface IMultiplyOperators<nativeint, nativeint, nativeint>
 interface INumber<nativeint>
 interface INumberBase<nativeint>
 interface ISubtractionOperators<nativeint, nativeint, nativeint>
 interface IUnaryNegationOperators<nativeint, nativeint>
 interface IUnaryPlusOperators<nativeint, nativeint>
 interface IShiftOperators<nativeint, int, nativeint>
 interface IMinMaxValue<nativeint>
 interface ISignedNumber<nativeint>
 interface ISerializable" FrameworkAlternate="net-9.0" />
<TypeSignature Language="C#" Value="public struct IntPtr : IEquatable<IntPtr>, System.Runtime.Serialization.ISerializable" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit native int extends System.ValueType implements class System.IEquatable`1<native int>, class System.Runtime.Serialization.ISerializable" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netstandard-2.1" />
<TypeSignature Language="VB.NET" Value="Public Structure IntPtr
Implements IEquatable(Of IntPtr), ISerializable" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netstandard-2.1" />
<TypeSignature Language="F#" Value="type nativeint = struct
 interface ISerializable" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;netstandard-2.0;netstandard-2.1" />
<TypeSignature Language="C++ CLI" Value="public value class IntPtr : IEquatable<IntPtr>, System::Runtime::Serialization::ISerializable" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netstandard-2.1" />
<TypeSignature Language="C#" Value="public readonly struct IntPtr : IEquatable<IntPtr>, System.Runtime.Serialization.ISerializable" FrameworkAlternate="netcore-3.0;netcore-3.1;netstandard-2.1" />
<TypeSignature Language="C#" Value="public struct IntPtr : System.Runtime.Serialization.ISerializable" FrameworkAlternate="netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;netstandard-2.0" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi serializable sealed beforefieldinit native int extends System.ValueType implements class System.Runtime.Serialization.ISerializable" FrameworkAlternate="netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1" />
<TypeSignature Language="VB.NET" Value="Public Structure IntPtr
Implements ISerializable" FrameworkAlternate="netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;netstandard-2.0" />
<TypeSignature Language="C++ CLI" Value="public value class IntPtr : System::Runtime::Serialization::ISerializable" FrameworkAlternate="netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;netstandard-2.0" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit native int extends System.ValueType implements class System.Runtime.Serialization.ISerializable" FrameworkAlternate="netstandard-2.0" />
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeForwardingChain>
<TypeForwarding From="mscorlib" FromVersion="4.0.0.0" To="System.Runtime" ToVersion="0.0.0.0" FrameworkAlternate="dotnet-uwp-10.0" />
<TypeForwarding From="netstandard" FromVersion="2.1.0.0" To="System.Runtime" ToVersion="5.0.0.0" FrameworkAlternate="net-5.0" />
<TypeForwarding From="netstandard" FromVersion="2.1.0.0" To="System.Runtime" ToVersion="6.0.0.0" FrameworkAlternate="net-6.0" />
<TypeForwarding From="netstandard" FromVersion="2.1.0.0" To="System.Runtime" ToVersion="7.0.0.0" FrameworkAlternate="net-7.0" />
<TypeForwarding From="netstandard" FromVersion="2.1.0.0" To="System.Runtime" ToVersion="8.0.0.0" FrameworkAlternate="net-8.0" />
<TypeForwarding From="netstandard" FromVersion="2.1.0.0" To="System.Runtime" ToVersion="9.0.0.0" FrameworkAlternate="net-9.0" />
<TypeForwarding From="System.Runtime" FromVersion="4.1.1.1" To="mscorlib" ToVersion="4.0.0.0" FrameworkAlternate="netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1" />
</TypeForwardingChain>
<Base>
<BaseTypeName>System.ValueType</BaseTypeName>
</Base>
<Interfaces>
<Interface FrameworkAlternate="net-5.0;net-6.0;net-7.0;net-8.0;net-9.0">
<InterfaceName>System.IComparable</InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-5.0;net-6.0;net-7.0;net-8.0;net-9.0">
<InterfaceName>System.IComparable<System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-5.0;net-6.0;net-7.0;net-8.0;net-9.0;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netstandard-2.1">
<InterfaceName>System.IEquatable<System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-5.0;net-6.0;net-7.0;net-8.0;net-9.0">
<InterfaceName>System.IFormattable</InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-5.0;net-6.0;net-7.0;net-8.0;net-9.0;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;netstandard-2.0;netstandard-2.1">
<InterfaceName>System.Runtime.Serialization.ISerializable</InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-6.0;net-7.0;net-8.0;net-9.0">
<InterfaceName>System.ISpanFormattable</InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.IComparable<TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.IEquatable<TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.IParsable<System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.IParsable<TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.ISpanParsable<System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.ISpanParsable<TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IAdditionOperators<System.IntPtr,System.IntPtr,System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IAdditionOperators<TSelf,TSelf,TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IAdditiveIdentity<System.IntPtr,System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IAdditiveIdentity<TSelf,TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IBinaryInteger<System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IBinaryNumber<System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IBinaryNumber<TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IBitwiseOperators<System.IntPtr,System.IntPtr,System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IBitwiseOperators<TSelf,TSelf,TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IComparisonOperators<System.IntPtr,System.IntPtr,System.Boolean></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IComparisonOperators<TSelf,TSelf,System.Boolean></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IDecrementOperators<System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IDecrementOperators<TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IDivisionOperators<System.IntPtr,System.IntPtr,System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IDivisionOperators<TSelf,TSelf,TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IEqualityOperators<System.IntPtr,System.IntPtr,System.Boolean></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IEqualityOperators<TSelf,TOther,TResult></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IEqualityOperators<TSelf,TSelf,System.Boolean></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IIncrementOperators<System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IIncrementOperators<TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IMinMaxValue<System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IModulusOperators<System.IntPtr,System.IntPtr,System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IModulusOperators<TSelf,TSelf,TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IMultiplicativeIdentity<System.IntPtr,System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IMultiplicativeIdentity<TSelf,TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IMultiplyOperators<System.IntPtr,System.IntPtr,System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IMultiplyOperators<TSelf,TSelf,TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.INumber<System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.INumber<TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.INumberBase<System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.INumberBase<TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IShiftOperators<System.IntPtr,System.Int32,System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IShiftOperators<TSelf,System.Int32,TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.ISignedNumber<System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.ISubtractionOperators<System.IntPtr,System.IntPtr,System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.ISubtractionOperators<TSelf,TSelf,TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IUnaryNegationOperators<System.IntPtr,System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IUnaryNegationOperators<TSelf,TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IUnaryPlusOperators<System.IntPtr,System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-7.0;net-8.0;net-9.0">
<InterfaceName>System.Numerics.IUnaryPlusOperators<TSelf,TSelf></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-8.0;net-9.0">
<InterfaceName>System.IUtf8SpanFormattable</InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-8.0;net-9.0">
<InterfaceName>System.IUtf8SpanParsable<System.IntPtr></InterfaceName>
</Interface>
<Interface FrameworkAlternate="net-8.0;net-9.0">
<InterfaceName>System.IUtf8SpanParsable<TSelf></InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute FrameworkAlternate="net-5.0;net-6.0;net-7.0;net-8.0;net-9.0;netcore-3.0;netcore-3.1;netstandard-2.1">
<AttributeName Language="C#">[System.Runtime.CompilerServices.IsReadOnly]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.IsReadOnly>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Serializable]</AttributeName>
<AttributeName Language="F#">[<System.Serializable>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Runtime.InteropServices.ComVisible(true)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.ComVisible(true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents a signed integer where the bit-width is the same as a pointer.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.IntPtr> type is designed to be an integer whose size is the same as a pointer. That is, an instance of this type is expected to be 32 bits in a 32-bit process and 64 bits in a 64-bit process.
The <xref:System.IntPtr> type can be used by languages that support pointers and as a common means of referring to data between languages that do and do not support pointers.
<xref:System.IntPtr> objects can also be used to hold handles. For example, instances of <xref:System.IntPtr> are used extensively in the <xref:System.IO.FileStream?displayProperty=nameWithType> class to hold file handles.
> [!NOTE]
> Using <xref:System.IntPtr> as a pointer or a handle is error prone and unsafe. It is simply an integer type that can be used as an interchange format for pointers and handles due to being the same size. Outside of specific interchange requirements, such as for passing data to a language that doesn't support pointers, a correctly typed pointer should be used to represent pointers and <xref:System.Runtime.InteropServices.SafeHandle> should be used to represent handles.
This type implements the <xref:System.Runtime.Serialization.ISerializable>. In .NET 5 and later versions, this type also implements the <xref:System.IFormattable> interfaces. In .NET 7 and later versions, this type also implements the <xref:System.Numerics.IBinaryInteger%601>, <xref:System.Numerics.IMinMaxValue%601>, and <xref:System.Numerics.ISignedNumber%601> interfaces.
In C# starting from version 9.0, you can use the built-in `nint` type to define native-sized integers. This type is represented by the <xref:System.IntPtr> type internally and provides operations and conversions that are appropriate for integer types. For more information, see [nint and nuint types](/dotnet/csharp/language-reference/builtin-types/nint-nuint).
In C# starting from version 11 and when targeting the .NET 7 or later runtime, `nint` is an alias for <xref:System.IntPtr> in the same way that `int` is an alias for <xref:System.Int32>.
## Examples
The following example uses managed pointers to reverse the characters in an array. After it initializes a <xref:System.String> object and gets its length, it does the following:
1. Calls the <xref:System.Runtime.InteropServices.Marshal.StringToHGlobalAnsi%2A?displayProperty=nameWithType> method to copy the Unicode string to unmanaged memory as an ANSI (one-byte) character. The method returns an <xref:System.IntPtr> object that points to the beginning of the unmanaged string. The Visual Basic example uses this pointer directly; in the C++, F# and C# examples, it is cast to a pointer to a byte.
2. Calls the <xref:System.Runtime.InteropServices.Marshal.AllocHGlobal%2A?displayProperty=nameWithType> method to allocate the same number of bytes as the unmanaged string occupies. The method returns an <xref:System.IntPtr> object that points to the beginning of the unmanaged block of memory. The Visual Basic example uses this pointer directly; in the C++, F# and C# examples, it is cast to a pointer to a byte.
3. The Visual Basic example defines a variable named `offset` that is equal to the length of the ANSI string. It is used to determine the offset into unmanaged memory to which the next character in the ANSI string is copied. Because its starting value is the length of the string, the copy operation will copy a character from the start of the string to the end of the memory block.
The C#, F# and C++ examples call the <xref:System.IntPtr.ToPointer%2A> method to get an unmanaged pointer to the starting address of the string and the unmanaged block of memory, and they add one less than the length of the string to the starting address of the ANSI string. Because the unmanaged string pointer now points to the end of the string, the copy operation will copy a character from the end of the string to the start of the memory block.
4. Uses a loop to copy each character from the string to the unmanaged block of memory.
The Visual Basic example calls the <xref:System.Runtime.InteropServices.Marshal.ReadByte%28System.IntPtr%2CSystem.Int32%29?displayProperty=nameWithType> method to read the byte (or one-byte character) at a specified offset from the managed pointer to the ANSI string. The offset is incremented with each iteration of the loop. It then calls the <xref:System.Runtime.InteropServices.Marshal.WriteByte%28System.IntPtr%2CSystem.Int32%2CSystem.Byte%29?displayProperty=nameWithType> method to write the byte to the memory address defined by the starting address of the unmanaged block of memory plus `offset`. It then decrements `offset`.
The C#, F# and C++ examples perform the copy operation, then decrement the pointer to the address of the next location in the unmanaged ANSI string and increment the pointer to the next address in the unmanaged block.
5. All examples call the <xref:System.Runtime.InteropServices.Marshal.PtrToStringAnsi%2A?displayProperty=nameWithType> to convert the unmanaged memory block containing the copied ANSI string to a managed Unicode <xref:System.String> object.
6. After displaying the original and reversed strings, all examples call the <xref:System.Runtime.InteropServices.Marshal.FreeHGlobal%2A> method to free the memory allocated for the unmanaged ANSI string and the unmanaged block of memory.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.intptr/cpp/topointer.cpp" id="Snippet1":::
:::code language="csharp" source="~/snippets/csharp/System/IntPtr/ToPointer/topointer.cs" id="Snippet1":::
:::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/ToPointer/topointer.fs" id="Snippet1":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr/vb/topointer.vb" id="Snippet1":::
]]></format>
</remarks>
<threadsafe>This type is thread safe.</threadsafe>
<altmember cref="T:System.UIntPtr" />
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Initializes a new instance of <see cref="T:System.IntPtr" />.</summary>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public IntPtr (int value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int32 value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IntPtr.#ctor(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (value As Integer)" />
<MemberSignature Language="F#" Value="new nativeint : int -> nativeint" Usage="new System.nativeint value" />
<MemberSignature Language="C++ CLI" Value="public:
 IntPtr(int value);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;netstandard-1.0;netstandard-1.1;netstandard-1.2">
<AttributeName Language="C#">[System.Security.SecuritySafeCritical]</AttributeName>
<AttributeName Language="F#">[<System.Security.SecuritySafeCritical>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<param name="value">A 32-bit signed integer.</param>
<summary>Initializes a new instance of <see cref="T:System.IntPtr" /> using the specified 32-bit signed integer.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public IntPtr (long value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int64 value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IntPtr.#ctor(System.Int64)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (value As Long)" />
<MemberSignature Language="F#" Value="new nativeint : int64 -> nativeint" Usage="new System.nativeint value" />
<MemberSignature Language="C++ CLI" Value="public:
 IntPtr(long value);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;netstandard-1.0;netstandard-1.1;netstandard-1.2">
<AttributeName Language="C#">[System.Security.SecuritySafeCritical]</AttributeName>
<AttributeName Language="F#">[<System.Security.SecuritySafeCritical>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="value" Type="System.Int64" />
</Parameters>
<Docs>
<param name="value">A 64-bit signed integer.</param>
<summary>Initializes a new instance of <see cref="T:System.IntPtr" /> using the specified 64-bit signed integer.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
An exception is only thrown if the value of `value` requires more bits than the executing process supports.
]]></format>
</remarks>
<exception cref="T:System.OverflowException">In a 32-bit process, <paramref name="value" /> is too large or too small to represent as an <see cref="T:System.IntPtr" />.</exception>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public IntPtr (void* value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(void* value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IntPtr.#ctor(System.Void*)" />
<MemberSignature Language="F#" Value="new nativeint : nativeptr<unit> -> nativeint" Usage="new System.nativeint value" />
<MemberSignature Language="C++ CLI" Value="public:
 IntPtr(void* value);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.CLSCompliant(false)]</AttributeName>
<AttributeName Language="F#">[<System.CLSCompliant(false)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netcore-2.0;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6">
<AttributeName Language="C#">[System.Security.SecurityCritical]</AttributeName>
<AttributeName Language="F#">[<System.Security.SecurityCritical>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail)>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="value" Type="System.Void*" />
</Parameters>
<Docs>
<param name="value">A pointer to an unspecified type.</param>
<summary>Initializes a new instance of <see cref="T:System.IntPtr" /> using the specified pointer to an unspecified type.</summary>
<remarks>To be added.</remarks>
<altmember cref="T:System.Void" />
</Docs>
</Member>
<Member MemberName="Abs">
<MemberSignature Language="C#" Value="public static IntPtr Abs (IntPtr value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig native int Abs(native int value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IntPtr.Abs(System.IntPtr)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Abs (value As IntPtr) As IntPtr" />
<MemberSignature Language="F#" Value="static member Abs : nativeint -> nativeint" Usage="System.nativeint.Abs value" />
<MemberSignature Language="C++ CLI" Value="public:
 static IntPtr Abs(IntPtr value) = System::Numerics::INumberBase<IntPtr>::Abs;" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Numerics.INumberBase`1.Abs(`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.IntPtr" Index="0" FrameworkAlternate="net-7.0;net-8.0;net-9.0" />
</Parameters>
<Docs>
<param name="value">The value for which to get its absolute.</param>
<summary>Computes the absolute of a value.</summary>
<returns>The absolute of <paramref name="value" />.</returns>
<remarks>To be added.</remarks>
<inheritdoc cref="M:System.Numerics.INumberBase`1.Abs(`0)" />
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public static IntPtr Add (IntPtr pointer, int offset);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig native int Add(native int pointer, int32 offset) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IntPtr.Add(System.IntPtr,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Add (pointer As IntPtr, offset As Integer) As IntPtr" />
<MemberSignature Language="F#" Value="static member Add : nativeint * int -> nativeint" Usage="System.nativeint.Add (pointer, offset)" />
<MemberSignature Language="C++ CLI" Value="public:
 static IntPtr Add(IntPtr pointer, int offset);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Security.SecuritySafeCritical]</AttributeName>
<AttributeName Language="F#">[<System.Security.SecuritySafeCritical>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pointer" Type="System.IntPtr" Index="0" FrameworkAlternate="dotnet-uwp-10.0;net-5.0;net-6.0;net-7.0;net-8.0;net-9.0;netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6;netstandard-2.0;netstandard-2.1" />
<Parameter Name="offset" Type="System.Int32" Index="1" FrameworkAlternate="dotnet-uwp-10.0;net-5.0;net-6.0;net-7.0;net-8.0;net-9.0;netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6;netstandard-2.0;netstandard-2.1" />
</Parameters>
<Docs>
<param name="pointer">The signed integer to add the offset to.</param>
<param name="offset">The offset to add.</param>
<summary>Adds an offset to a signed integer.</summary>
<returns>A new signed integer that reflects the addition of <paramref name="offset" /> to <paramref name="pointer" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.IntPtr.Add%2A> method does not throw an exception if the result is too large to represent as a signed integer in the executing process. Instead, the addition operation is performed in an unchecked context.
Languages that do not support operator overloading or custom operators can use this method to add an offset to the value of a pointer.
## Examples
The following example instantiates an <xref:System.IntPtr> object that points to the beginning of a ten-element array, and then calls the <xref:System.IntPtr.Add%2A> method to iterate the elements in the array.
:::code language="csharp" source="~/snippets/csharp/System/IntPtr/Add/add1.cs" id="Snippet1":::
:::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/Add/add1.fs" id="Snippet1":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.add/vb/add1.vb" id="Snippet1":::
]]></format>
</remarks>
<altmember cref="M:System.IntPtr.op_Addition(System.IntPtr,System.Int32)" />
</Docs>
</Member>
<Member MemberName="Clamp">
<MemberSignature Language="C#" Value="public static IntPtr Clamp (IntPtr value, IntPtr min, IntPtr max);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig native int Clamp(native int value, native int min, native int max) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IntPtr.Clamp(System.IntPtr,System.IntPtr,System.IntPtr)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Clamp (value As IntPtr, min As IntPtr, max As IntPtr) As IntPtr" />
<MemberSignature Language="F#" Value="static member Clamp : nativeint * nativeint * nativeint -> nativeint" Usage="System.nativeint.Clamp (value, min, max)" />
<MemberSignature Language="C++ CLI" Value="public:
 static IntPtr Clamp(IntPtr value, IntPtr min, IntPtr max) = System::Numerics::INumber<IntPtr>::Clamp;" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Numerics.INumber`1.Clamp(`0,`0,`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.IntPtr" Index="0" FrameworkAlternate="net-7.0;net-8.0;net-9.0" />
<Parameter Name="min" Type="System.IntPtr" Index="1" FrameworkAlternate="net-7.0;net-8.0;net-9.0" />
<Parameter Name="max" Type="System.IntPtr" Index="2" FrameworkAlternate="net-7.0;net-8.0;net-9.0" />
</Parameters>
<Docs>
<param name="value">The value to clamp.</param>
<param name="min">The inclusive minimum to which <paramref name="value" /> should clamp.</param>
<param name="max">The inclusive maximum to which <paramref name="value" /> should clamp.</param>
<summary>Clamps a value to an inclusive minimum and maximum value.</summary>
<returns>The result of clamping <paramref name="value" /> to the inclusive range of <paramref name="min" /> and <paramref name="max" />.</returns>
<remarks>To be added.</remarks>
<inheritdoc cref="M:System.Numerics.INumber`1.Clamp(`0,`0,`0)" />
</Docs>
</Member>
<Member MemberName="CompareTo">
<MemberSignature Language="C#" Value="public int CompareTo (IntPtr value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 CompareTo(native int value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IntPtr.CompareTo(System.IntPtr)" />
<MemberSignature Language="VB.NET" Value="Public Function CompareTo (value As IntPtr) As Integer" />
<MemberSignature Language="F#" Value="abstract member CompareTo : nativeint -> int
override this.CompareTo : nativeint -> int" Usage="nativeint.CompareTo value" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual int CompareTo(IntPtr value);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.IComparable`1.CompareTo(`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.IntPtr" Index="0" FrameworkAlternate="net-5.0;net-6.0;net-7.0;net-8.0;net-9.0" />
</Parameters>
<Docs>
<param name="value">A signed native integer to compare.</param>
<summary>Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.</summary>
<returns>A value that indicates the relative order of the objects being compared. The return value has these meanings:
<list type="table"><listheader><term> Value
</term><description> Meaning
</description></listheader><item><term> Less than zero
</term><description> This instance precedes <paramref name="value" /> in the sort order.
</description></item><item><term> Zero
</term><description> This instance occurs in the same position in the sort order as <paramref name="value" />.
</description></item><item><term> Greater than zero
</term><description> This instance follows <paramref name="value" /> in the sort order.
</description></item></list></returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CompareTo">
<MemberSignature Language="C#" Value="public int CompareTo (object? value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 CompareTo(object value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IntPtr.CompareTo(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Function CompareTo (value As Object) As Integer" />
<MemberSignature Language="F#" Value="abstract member CompareTo : obj -> int
override this.CompareTo : obj -> int" Usage="nativeint.CompareTo value" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual int CompareTo(System::Object ^ value);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.IComparable.CompareTo(System.Object)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(2)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" Index="0" FrameworkAlternate="net-5.0;net-6.0;net-7.0;net-8.0;net-9.0" />
</Parameters>
<Docs>
<param name="value">An object to compare, or <see langword="null" />.</param>
<summary>Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.</summary>
<returns>A value that indicates the relative order of the objects being compared. The return value has these meanings:
<list type="table"><listheader><term> Value
</term><description> Meaning
</description></listheader><item><term> Less than zero
</term><description> This instance precedes <paramref name="value" /> in the sort order.
</description></item><item><term> Zero
</term><description> This instance occurs in the same position in the sort order as <paramref name="value" />.
</description></item><item><term> Greater than zero
</term><description> This instance follows <paramref name="value" /> in the sort order.
</description></item></list></returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CopySign">
<MemberSignature Language="C#" Value="public static IntPtr CopySign (IntPtr value, IntPtr sign);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig native int CopySign(native int value, native int sign) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IntPtr.CopySign(System.IntPtr,System.IntPtr)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CopySign (value As IntPtr, sign As IntPtr) As IntPtr" />
<MemberSignature Language="F#" Value="static member CopySign : nativeint * nativeint -> nativeint" Usage="System.nativeint.CopySign (value, sign)" />
<MemberSignature Language="C++ CLI" Value="public:
 static IntPtr CopySign(IntPtr value, IntPtr sign) = System::Numerics::INumber<IntPtr>::CopySign;" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Numerics.INumber`1.CopySign(`0,`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.IntPtr" Index="0" FrameworkAlternate="net-7.0;net-8.0;net-9.0" />
<Parameter Name="sign" Type="System.IntPtr" Index="1" FrameworkAlternate="net-7.0;net-8.0;net-9.0" />
</Parameters>
<Docs>
<param name="value">The value whose magnitude is used in the result.</param>
<param name="sign">The value whose sign is used in the result.</param>
<summary>Copies the sign of a value to the sign of another value.</summary>
<returns>A value with the magnitude of <paramref name="value" /> and the sign of <paramref name="sign" />.</returns>
<remarks>To be added.</remarks>
<inheritdoc cref="M:System.Numerics.INumber`1.CopySign(`0,`0)" />
</Docs>
</Member>
<Member MemberName="CreateChecked<TOther>">
<MemberSignature Language="C#" Value="public static IntPtr CreateChecked<TOther> (TOther value) where TOther : System.Numerics.INumberBase<TOther>;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig native int CreateChecked<(class System.Numerics.INumberBase`1<!!TOther>) TOther>(!!TOther value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IntPtr.CreateChecked``1(``0)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CreateChecked(Of TOther As INumberBase(Of TOther)) (value As TOther) As IntPtr" />
<MemberSignature Language="F#" Value="static member CreateChecked : 'Other -> nativeint (requires 'Other :> System.Numerics.INumberBase<'Other>)" Usage="System.nativeint.CreateChecked value" />
<MemberSignature Language="C++ CLI" Value="public:
generic <typename TOther>
 where TOther : System::Numerics::INumberBase<TOther> static IntPtr CreateChecked(TOther value) = System::Numerics::INumberBase<IntPtr>::CreateChecked;" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Numerics.INumberBase`1.CreateChecked``1(``0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TOther">
<Constraints>
<InterfaceName>System.Numerics.INumberBase<TOther></InterfaceName>
</Constraints>
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
</Attributes>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="value" Type="TOther" Index="0" FrameworkAlternate="net-7.0;net-8.0;net-9.0" />
</Parameters>
<Docs>
<typeparam name="TOther">The type of <paramref name="value" />.</typeparam>
<param name="value">The value that's used to create the instance of <typeparamref name="TSelf" />.</param>
<summary>Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.</summary>
<returns>An instance of <typeparamref name="TSelf" /> created from <paramref name="value" />.</returns>
<remarks>To be added.</remarks>
<inheritdoc cref="M:System.Numerics.INumberBase`1.CreateChecked``1(``0)" />
</Docs>
</Member>
<Member MemberName="CreateSaturating<TOther>">
<MemberSignature Language="C#" Value="public static IntPtr CreateSaturating<TOther> (TOther value) where TOther : System.Numerics.INumberBase<TOther>;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig native int CreateSaturating<(class System.Numerics.INumberBase`1<!!TOther>) TOther>(!!TOther value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IntPtr.CreateSaturating``1(``0)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CreateSaturating(Of TOther As INumberBase(Of TOther)) (value As TOther) As IntPtr" />
<MemberSignature Language="F#" Value="static member CreateSaturating : 'Other -> nativeint (requires 'Other :> System.Numerics.INumberBase<'Other>)" Usage="System.nativeint.CreateSaturating value" />
<MemberSignature Language="C++ CLI" Value="public:
generic <typename TOther>
 where TOther : System::Numerics::INumberBase<TOther> static IntPtr CreateSaturating(TOther value) = System::Numerics::INumberBase<IntPtr>::CreateSaturating;" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Numerics.INumberBase`1.CreateSaturating``1(``0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TOther">
<Constraints>
<InterfaceName>System.Numerics.INumberBase<TOther></InterfaceName>
</Constraints>
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
</Attributes>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="value" Type="TOther" Index="0" FrameworkAlternate="net-7.0;net-8.0;net-9.0" />
</Parameters>
<Docs>
<typeparam name="TOther">The type of <paramref name="value" />.</typeparam>
<param name="value">The value which is used to create the instance of <typeparamref name="TSelf" />.</param>
<summary>Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.</summary>
<returns>An instance of <typeparamref name="TSelf" /> created from <paramref name="value" />, saturating if <paramref name="value" /> falls outside the representable range of <typeparamref name="TSelf" />.</returns>
<remarks>To be added.</remarks>
<inheritdoc cref="M:System.Numerics.INumberBase`1.CreateSaturating``1(``0)" />
</Docs>
</Member>
<Member MemberName="CreateTruncating<TOther>">
<MemberSignature Language="C#" Value="public static IntPtr CreateTruncating<TOther> (TOther value) where TOther : System.Numerics.INumberBase<TOther>;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig native int CreateTruncating<(class System.Numerics.INumberBase`1<!!TOther>) TOther>(!!TOther value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IntPtr.CreateTruncating``1(``0)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CreateTruncating(Of TOther As INumberBase(Of TOther)) (value As TOther) As IntPtr" />
<MemberSignature Language="F#" Value="static member CreateTruncating : 'Other -> nativeint (requires 'Other :> System.Numerics.INumberBase<'Other>)" Usage="System.nativeint.CreateTruncating value" />
<MemberSignature Language="C++ CLI" Value="public:
generic <typename TOther>
 where TOther : System::Numerics::INumberBase<TOther> static IntPtr CreateTruncating(TOther value) = System::Numerics::INumberBase<IntPtr>::CreateTruncating;" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Numerics.INumberBase`1.CreateTruncating``1(``0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TOther">
<Constraints>
<InterfaceName>System.Numerics.INumberBase<TOther></InterfaceName>
</Constraints>
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
</Attributes>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="value" Type="TOther" Index="0" FrameworkAlternate="net-7.0;net-8.0;net-9.0" />
</Parameters>
<Docs>
<typeparam name="TOther">The type of <paramref name="value" />.</typeparam>
<param name="value">The value which is used to create the instance of <typeparamref name="TSelf" />.</param>
<summary>Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.</summary>
<returns>An instance of <typeparamref name="TSelf" /> created from <paramref name="value" />, truncating if <paramref name="value" /> falls outside the representable range of <typeparamref name="TSelf" />.</returns>
<remarks>To be added.</remarks>
<inheritdoc cref="M:System.Numerics.INumberBase`1.CreateTruncating``1(``0)" />
</Docs>
</Member>
<Member MemberName="DivRem">
<MemberSignature Language="C#" Value="public static (IntPtr Quotient, IntPtr Remainder) DivRem (IntPtr left, IntPtr right);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.ValueTuple`2<native int, native int> DivRem(native int left, native int right) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IntPtr.DivRem(System.IntPtr,System.IntPtr)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function DivRem (left As IntPtr, right As IntPtr) As ValueTuple(Of IntPtr, IntPtr)" />
<MemberSignature Language="F#" Value="static member DivRem : nativeint * nativeint -> ValueTuple<nativeint, nativeint>" Usage="System.nativeint.DivRem (left, right)" />
<MemberSignature Language="C++ CLI" Value="public:
 static ValueTuple<IntPtr, IntPtr> DivRem(IntPtr left, IntPtr right) = System::Numerics::IBinaryInteger<IntPtr>::DivRem;" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Numerics.IBinaryInteger`1.DivRem(`0,`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
</AssemblyInfo>
<ReturnValue>