This repository has been archived by the owner on Sep 13, 2022. It is now read-only.
/
System.Reflection.cs
1174 lines (1173 loc) · 78.3 KB
/
System.Reflection.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.
namespace System.Reflection
{
public sealed partial class AmbiguousMatchException : System.SystemException
{
public AmbiguousMatchException() { }
public AmbiguousMatchException(string message) { }
public AmbiguousMatchException(string message, System.Exception inner) { }
}
public abstract partial class Assembly : System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.ISerializable
//CAS , System.Security.IEvidenceFactory
{
protected Assembly() { }
public virtual string CodeBase { get { throw null; } }
public virtual System.Collections.Generic.IEnumerable<System.Reflection.CustomAttributeData> CustomAttributes { get { throw null; } }
public virtual System.Collections.Generic.IEnumerable<System.Reflection.TypeInfo> DefinedTypes { get { throw null; } }
public virtual System.Reflection.MethodInfo EntryPoint { get { throw null; } }
public virtual string EscapedCodeBase { get { throw null; } }
//CAS public virtual System.Security.Policy.Evidence Evidence { get { throw null; } }
public virtual System.Collections.Generic.IEnumerable<System.Type> ExportedTypes { get { throw null; } }
public virtual string FullName { get { throw null; } }
public virtual bool GlobalAssemblyCache { get { throw null; } }
public virtual long HostContext { get { throw null; } }
public virtual string ImageRuntimeVersion { get { throw null; } }
public virtual bool IsDynamic { get { throw null; } }
public bool IsFullyTrusted { get { throw null; } }
public virtual string Location { get { throw null; } }
public virtual System.Reflection.Module ManifestModule { get { throw null; } }
public virtual System.Collections.Generic.IEnumerable<System.Reflection.Module> Modules { get { throw null; } }
//CAS public virtual System.Security.PermissionSet PermissionSet { get { throw null; } }
public virtual bool ReflectionOnly { get { throw null; } }
public virtual System.Security.SecurityRuleSet SecurityRuleSet { get { throw null; } }
public virtual event System.Reflection.ModuleResolveEventHandler ModuleResolve { add { } remove { } }
public object CreateInstance(string typeName) { throw null; }
public object CreateInstance(string typeName, bool ignoreCase) { throw null; }
public virtual object CreateInstance(string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes) { throw null; }
public static string CreateQualifiedName(string assemblyName, string typeName) { throw null; }
public override bool Equals(object o) { throw null; }
public static System.Reflection.Assembly GetAssembly(System.Type type) { throw null; }
public static System.Reflection.Assembly GetCallingAssembly() { throw null; }
public virtual object[] GetCustomAttributes(bool inherit) { throw null; }
public virtual object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw null; }
public virtual System.Collections.Generic.IList<System.Reflection.CustomAttributeData> GetCustomAttributesData() { throw null; }
public static System.Reflection.Assembly GetEntryAssembly() { throw null; }
public static System.Reflection.Assembly GetExecutingAssembly() { throw null; }
public virtual System.Type[] GetExportedTypes() { throw null; }
public virtual System.IO.FileStream GetFile(string name) { throw null; }
public virtual System.IO.FileStream[] GetFiles() { throw null; }
public virtual System.IO.FileStream[] GetFiles(bool getResourceModules) { throw null; }
public virtual System.Type[] GetForwardedTypes() { throw null; }
public override int GetHashCode() { throw null; }
public System.Reflection.Module[] GetLoadedModules() { throw null; }
public virtual System.Reflection.Module[] GetLoadedModules(bool getResourceModules) { throw null; }
public virtual System.Reflection.ManifestResourceInfo GetManifestResourceInfo(string resourceName) { throw null; }
public virtual string[] GetManifestResourceNames() { throw null; }
public virtual System.IO.Stream GetManifestResourceStream(string name) { throw null; }
public virtual System.IO.Stream GetManifestResourceStream(System.Type type, string name) { throw null; }
public virtual System.Reflection.Module GetModule(string name) { throw null; }
public System.Reflection.Module[] GetModules() { throw null; }
public virtual System.Reflection.Module[] GetModules(bool getResourceModules) { throw null; }
public virtual System.Reflection.AssemblyName GetName() { throw null; }
public virtual System.Reflection.AssemblyName GetName(bool copiedName) { throw null; }
public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public virtual System.Reflection.AssemblyName[] GetReferencedAssemblies() { throw null; }
public virtual System.Reflection.Assembly GetSatelliteAssembly(System.Globalization.CultureInfo culture) { throw null; }
public virtual System.Reflection.Assembly GetSatelliteAssembly(System.Globalization.CultureInfo culture, System.Version version) { throw null; }
public virtual System.Type GetType(string name) { throw null; }
public virtual System.Type GetType(string name, bool throwOnError) { throw null; }
public virtual System.Type GetType(string name, bool throwOnError, bool ignoreCase) { throw null; }
public virtual System.Type[] GetTypes() { throw null; }
public virtual bool IsDefined(System.Type attributeType, bool inherit) { throw null; }
public static System.Reflection.Assembly Load(byte[] rawAssembly) { throw null; }
public static System.Reflection.Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore) { throw null; }
//CAS [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release of the .NET Framework. Please use an overload of Load which does not take an Evidence parameter. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
//CAS public static System.Reflection.Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore, System.Security.Policy.Evidence securityEvidence) { throw null; }
//CAS public static System.Reflection.Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore, System.Security.SecurityContextSource securityContextSource) { throw null; }
public static System.Reflection.Assembly Load(System.Reflection.AssemblyName assemblyRef) { throw null; }
//CAS [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release of the .NET Framework. Please use an overload of Load which does not take an Evidence parameter. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
//CAS public static System.Reflection.Assembly Load(System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity) { throw null; }
public static System.Reflection.Assembly Load(string assemblyString) { throw null; }
//CAS [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release of the .NET Framework. Please use an overload of Load which does not take an Evidence parameter. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
//CAS public static System.Reflection.Assembly Load(string assemblyString, System.Security.Policy.Evidence assemblySecurity) { throw null; }
public static System.Reflection.Assembly LoadFile(string path) { throw null; }
//CAS [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release of the .NET Framework. Please use an overload of LoadFile which does not take an Evidence parameter. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
//CAS public static System.Reflection.Assembly LoadFile(string path, System.Security.Policy.Evidence securityEvidence) { throw null; }
public static System.Reflection.Assembly LoadFrom(string assemblyFile) { throw null; }
public static System.Reflection.Assembly LoadFrom(string assemblyFile, byte[] hashValue, System.Configuration.Assemblies.AssemblyHashAlgorithm hashAlgorithm) { throw null; }
//CAS [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release of the .NET Framework. Please use an overload of LoadFrom which does not take an Evidence parameter. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
//CAS public static System.Reflection.Assembly LoadFrom(string assemblyFile, System.Security.Policy.Evidence securityEvidence) { throw null; }
//CAS [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release of the .NET Framework. Please use an overload of LoadFrom which does not take an Evidence parameter. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
//CAS public static System.Reflection.Assembly LoadFrom(string assemblyFile, System.Security.Policy.Evidence securityEvidence, byte[] hashValue, System.Configuration.Assemblies.AssemblyHashAlgorithm hashAlgorithm) { throw null; }
public System.Reflection.Module LoadModule(string moduleName, byte[] rawModule) { throw null; }
public virtual System.Reflection.Module LoadModule(string moduleName, byte[] rawModule, byte[] rawSymbolStore) { throw null; }
[System.ObsoleteAttribute("This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public static System.Reflection.Assembly LoadWithPartialName(string partialName) { throw null; }
//CAS [System.ObsoleteAttribute("This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202")]
//CAS public static System.Reflection.Assembly LoadWithPartialName(string partialName, System.Security.Policy.Evidence securityEvidence) { throw null; }
public static bool operator ==(System.Reflection.Assembly left, System.Reflection.Assembly right) { throw null; }
public static bool operator !=(System.Reflection.Assembly left, System.Reflection.Assembly right) { throw null; }
public static System.Reflection.Assembly ReflectionOnlyLoad(byte[] rawAssembly) { throw null; }
public static System.Reflection.Assembly ReflectionOnlyLoad(string assemblyString) { throw null; }
public static System.Reflection.Assembly ReflectionOnlyLoadFrom(string assemblyFile) { throw null; }
public override string ToString() { throw null; }
public static System.Reflection.Assembly UnsafeLoadFrom(string assemblyFile) { throw null; }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyAlgorithmIdAttribute : System.Attribute
{
public AssemblyAlgorithmIdAttribute(System.Configuration.Assemblies.AssemblyHashAlgorithm algorithmId) { }
[System.CLSCompliantAttribute(false)]
public AssemblyAlgorithmIdAttribute(uint algorithmId) { }
[System.CLSCompliantAttribute(false)]
public uint AlgorithmId { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyCompanyAttribute : System.Attribute
{
public AssemblyCompanyAttribute(string company) { }
public string Company { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyConfigurationAttribute : System.Attribute
{
public AssemblyConfigurationAttribute(string configuration) { }
public string Configuration { get { throw null; } }
}
public enum AssemblyContentType
{
Default = 0,
WindowsRuntime = 1,
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyCopyrightAttribute : System.Attribute
{
public AssemblyCopyrightAttribute(string copyright) { }
public string Copyright { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyCultureAttribute : System.Attribute
{
public AssemblyCultureAttribute(string culture) { }
public string Culture { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyDefaultAliasAttribute : System.Attribute
{
public AssemblyDefaultAliasAttribute(string defaultAlias) { }
public string DefaultAlias { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyDelaySignAttribute : System.Attribute
{
public AssemblyDelaySignAttribute(bool delaySign) { }
public bool DelaySign { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyDescriptionAttribute : System.Attribute
{
public AssemblyDescriptionAttribute(string description) { }
public string Description { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyFileVersionAttribute : System.Attribute
{
public AssemblyFileVersionAttribute(string version) { }
public string Version { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyFlagsAttribute : System.Attribute
{
[System.ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public AssemblyFlagsAttribute(int assemblyFlags) { }
public AssemblyFlagsAttribute(System.Reflection.AssemblyNameFlags assemblyFlags) { }
[System.CLSCompliantAttribute(false)]
[System.ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public AssemblyFlagsAttribute(uint flags) { }
public int AssemblyFlags { get { throw null; } }
[System.CLSCompliantAttribute(false)]
[System.ObsoleteAttribute("This property has been deprecated. Please use AssemblyFlags instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public uint Flags { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyInformationalVersionAttribute : System.Attribute
{
public AssemblyInformationalVersionAttribute(string informationalVersion) { }
public string InformationalVersion { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyKeyFileAttribute : System.Attribute
{
public AssemblyKeyFileAttribute(string keyFile) { }
public string KeyFile { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyKeyNameAttribute : System.Attribute
{
public AssemblyKeyNameAttribute(string keyName) { }
public string KeyName { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), AllowMultiple=true, Inherited=false)]
public sealed partial class AssemblyMetadataAttribute : System.Attribute
{
public AssemblyMetadataAttribute(string key, string value) { }
public string Key { get { throw null; } }
public string Value { get { throw null; } }
}
public sealed partial class AssemblyName : System.ICloneable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable
{
public AssemblyName() { }
public AssemblyName(string assemblyName) { }
public string CodeBase { get { throw null; } set { } }
public System.Reflection.AssemblyContentType ContentType { get { throw null; } set { } }
public System.Globalization.CultureInfo CultureInfo { get { throw null; } set { } }
public string CultureName { get { throw null; } set { } }
public string EscapedCodeBase { get { throw null; } }
public System.Reflection.AssemblyNameFlags Flags { get { throw null; } set { } }
public string FullName { get { throw null; } }
public System.Configuration.Assemblies.AssemblyHashAlgorithm HashAlgorithm { get { throw null; } set { } }
public System.Reflection.StrongNameKeyPair KeyPair { get { throw null; } set { } }
public string Name { get { throw null; } set { } }
public System.Reflection.ProcessorArchitecture ProcessorArchitecture { get { throw null; } set { } }
public System.Version Version { get { throw null; } set { } }
public System.Configuration.Assemblies.AssemblyVersionCompatibility VersionCompatibility { get { throw null; } set { } }
public object Clone() { throw null; }
public static System.Reflection.AssemblyName GetAssemblyName(string assemblyFile) { throw null; }
public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public byte[] GetPublicKey() { throw null; }
public byte[] GetPublicKeyToken() { throw null; }
public void OnDeserialization(object sender) { }
public static bool ReferenceMatchesDefinition(System.Reflection.AssemblyName reference, System.Reflection.AssemblyName definition) { throw null; }
public void SetPublicKey(byte[] publicKey) { }
public void SetPublicKeyToken(byte[] publicKeyToken) { }
public override string ToString() { throw null; }
}
[System.FlagsAttribute]
public enum AssemblyNameFlags
{
EnableJITcompileOptimizer = 16384,
EnableJITcompileTracking = 32768,
None = 0,
PublicKey = 1,
Retargetable = 256,
}
public partial class AssemblyNameProxy : System.MarshalByRefObject
{
public AssemblyNameProxy() { }
public System.Reflection.AssemblyName GetAssemblyName(string assemblyFile) { throw null; }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyProductAttribute : System.Attribute
{
public AssemblyProductAttribute(string product) { }
public string Product { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false, AllowMultiple=false)]
public sealed partial class AssemblySignatureKeyAttribute : System.Attribute
{
public AssemblySignatureKeyAttribute(string publicKey, string countersignature) { }
public string Countersignature { get { throw null; } }
public string PublicKey { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyTitleAttribute : System.Attribute
{
public AssemblyTitleAttribute(string title) { }
public string Title { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyTrademarkAttribute : System.Attribute
{
public AssemblyTrademarkAttribute(string trademark) { }
public string Trademark { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
public sealed partial class AssemblyVersionAttribute : System.Attribute
{
public AssemblyVersionAttribute(string version) { }
public string Version { get { throw null; } }
}
public abstract partial class Binder
{
protected Binder() { }
public abstract System.Reflection.FieldInfo BindToField(System.Reflection.BindingFlags bindingAttr, System.Reflection.FieldInfo[] match, object value, System.Globalization.CultureInfo culture);
public abstract System.Reflection.MethodBase BindToMethod(System.Reflection.BindingFlags bindingAttr, System.Reflection.MethodBase[] match, ref object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] names, out object state);
public abstract object ChangeType(object value, System.Type type, System.Globalization.CultureInfo culture);
public abstract void ReorderArgumentArray(ref object[] args, object state);
public abstract System.Reflection.MethodBase SelectMethod(System.Reflection.BindingFlags bindingAttr, System.Reflection.MethodBase[] match, System.Type[] types, System.Reflection.ParameterModifier[] modifiers);
public abstract System.Reflection.PropertyInfo SelectProperty(System.Reflection.BindingFlags bindingAttr, System.Reflection.PropertyInfo[] match, System.Type returnType, System.Type[] indexes, System.Reflection.ParameterModifier[] modifiers);
}
[System.FlagsAttribute]
public enum BindingFlags
{
CreateInstance = 512,
DeclaredOnly = 2,
Default = 0,
DoNotWrapExceptions = 33554432,
ExactBinding = 65536,
FlattenHierarchy = 64,
GetField = 1024,
GetProperty = 4096,
IgnoreCase = 1,
IgnoreReturn = 16777216,
Instance = 4,
InvokeMethod = 256,
NonPublic = 32,
OptionalParamBinding = 262144,
Public = 16,
PutDispProperty = 16384,
PutRefDispProperty = 32768,
SetField = 2048,
SetProperty = 8192,
Static = 8,
SuppressChangeType = 131072,
}
[System.FlagsAttribute]
public enum CallingConventions
{
Any = 3,
ExplicitThis = 64,
HasThis = 32,
Standard = 1,
VarArgs = 2,
}
public abstract partial class ConstructorInfo : System.Reflection.MethodBase
{
public static readonly string ConstructorName;
public static readonly string TypeConstructorName;
protected ConstructorInfo() { }
public override System.Reflection.MemberTypes MemberType { get { throw null; } }
public override bool Equals(object obj) { throw null; }
public override int GetHashCode() { throw null; }
public object Invoke(object[] parameters) { throw null; }
public abstract object Invoke(System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture);
public static bool operator ==(System.Reflection.ConstructorInfo left, System.Reflection.ConstructorInfo right) { throw null; }
public static bool operator !=(System.Reflection.ConstructorInfo left, System.Reflection.ConstructorInfo right) { throw null; }
}
public partial class CustomAttributeData
{
protected CustomAttributeData() { }
public System.Type AttributeType { get { throw null; } }
public virtual System.Reflection.ConstructorInfo Constructor { get { throw null; } }
public virtual System.Collections.Generic.IList<System.Reflection.CustomAttributeTypedArgument> ConstructorArguments { get { throw null; } }
public virtual System.Collections.Generic.IList<System.Reflection.CustomAttributeNamedArgument> NamedArguments { get { throw null; } }
public override bool Equals(object obj) { throw null; }
public static System.Collections.Generic.IList<System.Reflection.CustomAttributeData> GetCustomAttributes(System.Reflection.Assembly target) { throw null; }
public static System.Collections.Generic.IList<System.Reflection.CustomAttributeData> GetCustomAttributes(System.Reflection.MemberInfo target) { throw null; }
public static System.Collections.Generic.IList<System.Reflection.CustomAttributeData> GetCustomAttributes(System.Reflection.Module target) { throw null; }
public static System.Collections.Generic.IList<System.Reflection.CustomAttributeData> GetCustomAttributes(System.Reflection.ParameterInfo target) { throw null; }
public override int GetHashCode() { throw null; }
public override string ToString() { throw null; }
}
public static partial class CustomAttributeExtensions
{
public static System.Attribute GetCustomAttribute(this System.Reflection.Assembly element, System.Type attributeType) { throw null; }
public static System.Attribute GetCustomAttribute(this System.Reflection.MemberInfo element, System.Type attributeType) { throw null; }
public static System.Attribute GetCustomAttribute(this System.Reflection.MemberInfo element, System.Type attributeType, bool inherit) { throw null; }
public static System.Attribute GetCustomAttribute(this System.Reflection.Module element, System.Type attributeType) { throw null; }
public static System.Attribute GetCustomAttribute(this System.Reflection.ParameterInfo element, System.Type attributeType) { throw null; }
public static System.Attribute GetCustomAttribute(this System.Reflection.ParameterInfo element, System.Type attributeType, bool inherit) { throw null; }
public static T GetCustomAttribute<T>(this System.Reflection.Assembly element) where T : System.Attribute { throw null; }
public static T GetCustomAttribute<T>(this System.Reflection.MemberInfo element) where T : System.Attribute { throw null; }
public static T GetCustomAttribute<T>(this System.Reflection.MemberInfo element, bool inherit) where T : System.Attribute { throw null; }
public static T GetCustomAttribute<T>(this System.Reflection.Module element) where T : System.Attribute { throw null; }
public static T GetCustomAttribute<T>(this System.Reflection.ParameterInfo element) where T : System.Attribute { throw null; }
public static T GetCustomAttribute<T>(this System.Reflection.ParameterInfo element, bool inherit) where T : System.Attribute { throw null; }
public static System.Collections.Generic.IEnumerable<System.Attribute> GetCustomAttributes(this System.Reflection.Assembly element) { throw null; }
public static System.Collections.Generic.IEnumerable<System.Attribute> GetCustomAttributes(this System.Reflection.Assembly element, System.Type attributeType) { throw null; }
public static System.Collections.Generic.IEnumerable<System.Attribute> GetCustomAttributes(this System.Reflection.MemberInfo element) { throw null; }
public static System.Collections.Generic.IEnumerable<System.Attribute> GetCustomAttributes(this System.Reflection.MemberInfo element, bool inherit) { throw null; }
public static System.Collections.Generic.IEnumerable<System.Attribute> GetCustomAttributes(this System.Reflection.MemberInfo element, System.Type attributeType) { throw null; }
public static System.Collections.Generic.IEnumerable<System.Attribute> GetCustomAttributes(this System.Reflection.MemberInfo element, System.Type attributeType, bool inherit) { throw null; }
public static System.Collections.Generic.IEnumerable<System.Attribute> GetCustomAttributes(this System.Reflection.Module element) { throw null; }
public static System.Collections.Generic.IEnumerable<System.Attribute> GetCustomAttributes(this System.Reflection.Module element, System.Type attributeType) { throw null; }
public static System.Collections.Generic.IEnumerable<System.Attribute> GetCustomAttributes(this System.Reflection.ParameterInfo element) { throw null; }
public static System.Collections.Generic.IEnumerable<System.Attribute> GetCustomAttributes(this System.Reflection.ParameterInfo element, bool inherit) { throw null; }
public static System.Collections.Generic.IEnumerable<System.Attribute> GetCustomAttributes(this System.Reflection.ParameterInfo element, System.Type attributeType) { throw null; }
public static System.Collections.Generic.IEnumerable<System.Attribute> GetCustomAttributes(this System.Reflection.ParameterInfo element, System.Type attributeType, bool inherit) { throw null; }
public static System.Collections.Generic.IEnumerable<T> GetCustomAttributes<T>(this System.Reflection.Assembly element) where T : System.Attribute { throw null; }
public static System.Collections.Generic.IEnumerable<T> GetCustomAttributes<T>(this System.Reflection.MemberInfo element) where T : System.Attribute { throw null; }
public static System.Collections.Generic.IEnumerable<T> GetCustomAttributes<T>(this System.Reflection.MemberInfo element, bool inherit) where T : System.Attribute { throw null; }
public static System.Collections.Generic.IEnumerable<T> GetCustomAttributes<T>(this System.Reflection.Module element) where T : System.Attribute { throw null; }
public static System.Collections.Generic.IEnumerable<T> GetCustomAttributes<T>(this System.Reflection.ParameterInfo element) where T : System.Attribute { throw null; }
public static System.Collections.Generic.IEnumerable<T> GetCustomAttributes<T>(this System.Reflection.ParameterInfo element, bool inherit) where T : System.Attribute { throw null; }
public static bool IsDefined(this System.Reflection.Assembly element, System.Type attributeType) { throw null; }
public static bool IsDefined(this System.Reflection.MemberInfo element, System.Type attributeType) { throw null; }
public static bool IsDefined(this System.Reflection.MemberInfo element, System.Type attributeType, bool inherit) { throw null; }
public static bool IsDefined(this System.Reflection.Module element, System.Type attributeType) { throw null; }
public static bool IsDefined(this System.Reflection.ParameterInfo element, System.Type attributeType) { throw null; }
public static bool IsDefined(this System.Reflection.ParameterInfo element, System.Type attributeType, bool inherit) { throw null; }
}
public partial class CustomAttributeFormatException : System.FormatException
{
public CustomAttributeFormatException() { }
protected CustomAttributeFormatException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public CustomAttributeFormatException(string message) { }
public CustomAttributeFormatException(string message, System.Exception inner) { }
}
public partial struct CustomAttributeNamedArgument
{
public CustomAttributeNamedArgument(System.Reflection.MemberInfo memberInfo, object value) { throw null; }
public CustomAttributeNamedArgument(System.Reflection.MemberInfo memberInfo, System.Reflection.CustomAttributeTypedArgument typedArgument) { throw null; }
public bool IsField { get { throw null; } }
public System.Reflection.MemberInfo MemberInfo { get { throw null; } }
public string MemberName { get { throw null; } }
public System.Reflection.CustomAttributeTypedArgument TypedValue { get { throw null; } }
public override bool Equals(object obj) { throw null; }
public override int GetHashCode() { throw null; }
public static bool operator ==(System.Reflection.CustomAttributeNamedArgument left, System.Reflection.CustomAttributeNamedArgument right) { throw null; }
public static bool operator !=(System.Reflection.CustomAttributeNamedArgument left, System.Reflection.CustomAttributeNamedArgument right) { throw null; }
public override string ToString() { throw null; }
}
public partial struct CustomAttributeTypedArgument
{
public CustomAttributeTypedArgument(object value) { throw null; }
public CustomAttributeTypedArgument(System.Type argumentType, object value) { throw null; }
public System.Type ArgumentType { get { throw null; } }
public object Value { get { throw null; } }
public override bool Equals(object obj) { throw null; }
public override int GetHashCode() { throw null; }
public static bool operator ==(System.Reflection.CustomAttributeTypedArgument left, System.Reflection.CustomAttributeTypedArgument right) { throw null; }
public static bool operator !=(System.Reflection.CustomAttributeTypedArgument left, System.Reflection.CustomAttributeTypedArgument right) { throw null; }
public override string ToString() { throw null; }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1036))]
public sealed partial class DefaultMemberAttribute : System.Attribute
{
public DefaultMemberAttribute(string memberName) { }
public string MemberName { get { throw null; } }
}
public abstract partial class DispatchProxy
{
protected DispatchProxy() { }
public static T Create<T, TProxy>() where TProxy : System.Reflection.DispatchProxy { throw null; }
protected abstract object Invoke(System.Reflection.MethodInfo targetMethod, object[] args);
}
[System.FlagsAttribute]
public enum EventAttributes
{
None = 0,
ReservedMask = 1024,
RTSpecialName = 1024,
SpecialName = 512,
}
public abstract partial class EventInfo : System.Reflection.MemberInfo
{
protected EventInfo() { }
public virtual System.Reflection.MethodInfo AddMethod { get { throw null; } }
public abstract System.Reflection.EventAttributes Attributes { get; }
public virtual System.Type EventHandlerType { get { throw null; } }
public virtual bool IsMulticast { get { throw null; } }
public bool IsSpecialName { get { throw null; } }
public override System.Reflection.MemberTypes MemberType { get { throw null; } }
public virtual System.Reflection.MethodInfo RaiseMethod { get { throw null; } }
public virtual System.Reflection.MethodInfo RemoveMethod { get { throw null; } }
public virtual void AddEventHandler(object target, System.Delegate handler) { }
public override bool Equals(object obj) { throw null; }
public System.Reflection.MethodInfo GetAddMethod() { throw null; }
public abstract System.Reflection.MethodInfo GetAddMethod(bool nonPublic);
public override int GetHashCode() { throw null; }
public System.Reflection.MethodInfo[] GetOtherMethods() { throw null; }
public virtual System.Reflection.MethodInfo[] GetOtherMethods(bool nonPublic) { throw null; }
public System.Reflection.MethodInfo GetRaiseMethod() { throw null; }
public abstract System.Reflection.MethodInfo GetRaiseMethod(bool nonPublic);
public System.Reflection.MethodInfo GetRemoveMethod() { throw null; }
public abstract System.Reflection.MethodInfo GetRemoveMethod(bool nonPublic);
public static bool operator ==(System.Reflection.EventInfo left, System.Reflection.EventInfo right) { throw null; }
public static bool operator !=(System.Reflection.EventInfo left, System.Reflection.EventInfo right) { throw null; }
public virtual void RemoveEventHandler(object target, System.Delegate handler) { }
}
public partial class ExceptionHandlingClause
{
protected ExceptionHandlingClause() { }
public virtual System.Type CatchType { get { throw null; } }
public virtual int FilterOffset { get { throw null; } }
public virtual System.Reflection.ExceptionHandlingClauseOptions Flags { get { throw null; } }
public virtual int HandlerLength { get { throw null; } }
public virtual int HandlerOffset { get { throw null; } }
public virtual int TryLength { get { throw null; } }
public virtual int TryOffset { get { throw null; } }
public override string ToString() { throw null; }
}
[System.FlagsAttribute]
public enum ExceptionHandlingClauseOptions
{
Clause = 0,
Fault = 4,
Filter = 1,
Finally = 2,
}
[System.FlagsAttribute]
public enum FieldAttributes
{
Assembly = 3,
FamANDAssem = 2,
Family = 4,
FamORAssem = 5,
FieldAccessMask = 7,
HasDefault = 32768,
HasFieldMarshal = 4096,
HasFieldRVA = 256,
InitOnly = 32,
Literal = 64,
NotSerialized = 128,
PinvokeImpl = 8192,
Private = 1,
PrivateScope = 0,
Public = 6,
ReservedMask = 38144,
RTSpecialName = 1024,
SpecialName = 512,
Static = 16,
}
public abstract partial class FieldInfo : System.Reflection.MemberInfo
{
protected FieldInfo() { }
public abstract System.Reflection.FieldAttributes Attributes { get; }
public abstract System.RuntimeFieldHandle FieldHandle { get; }
public abstract System.Type FieldType { get; }
public bool IsAssembly { get { throw null; } }
public bool IsFamily { get { throw null; } }
public bool IsFamilyAndAssembly { get { throw null; } }
public bool IsFamilyOrAssembly { get { throw null; } }
public bool IsInitOnly { get { throw null; } }
public bool IsLiteral { get { throw null; } }
public bool IsNotSerialized { get { throw null; } }
public bool IsPinvokeImpl { get { throw null; } }
public bool IsPrivate { get { throw null; } }
public bool IsPublic { get { throw null; } }
public virtual bool IsSecurityCritical { get { throw null; } }
public virtual bool IsSecuritySafeCritical { get { throw null; } }
public virtual bool IsSecurityTransparent { get { throw null; } }
public bool IsSpecialName { get { throw null; } }
public bool IsStatic { get { throw null; } }
public override System.Reflection.MemberTypes MemberType { get { throw null; } }
public override bool Equals(object obj) { throw null; }
public static System.Reflection.FieldInfo GetFieldFromHandle(System.RuntimeFieldHandle handle) { throw null; }
public static System.Reflection.FieldInfo GetFieldFromHandle(System.RuntimeFieldHandle handle, System.RuntimeTypeHandle declaringType) { throw null; }
public override int GetHashCode() { throw null; }
public virtual System.Type[] GetOptionalCustomModifiers() { throw null; }
public virtual object GetRawConstantValue() { throw null; }
public virtual System.Type[] GetRequiredCustomModifiers() { throw null; }
public abstract object GetValue(object obj);
[System.CLSCompliantAttribute(false)]
public virtual object GetValueDirect(System.TypedReference obj) { throw null; }
public static bool operator ==(System.Reflection.FieldInfo left, System.Reflection.FieldInfo right) { throw null; }
public static bool operator !=(System.Reflection.FieldInfo left, System.Reflection.FieldInfo right) { throw null; }
public void SetValue(object obj, object value) { }
public abstract void SetValue(object obj, object value, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization.CultureInfo culture);
[System.CLSCompliantAttribute(false)]
public virtual void SetValueDirect(System.TypedReference obj, object value) { }
}
[System.FlagsAttribute]
public enum GenericParameterAttributes
{
Contravariant = 2,
Covariant = 1,
DefaultConstructorConstraint = 16,
None = 0,
NotNullableValueTypeConstraint = 8,
ReferenceTypeConstraint = 4,
SpecialConstraintMask = 28,
VarianceMask = 3,
}
public partial interface ICustomAttributeProvider
{
object[] GetCustomAttributes(bool inherit);
object[] GetCustomAttributes(System.Type attributeType, bool inherit);
bool IsDefined(System.Type attributeType, bool inherit);
}
public enum ImageFileMachine
{
AMD64 = 34404,
ARM = 452,
I386 = 332,
IA64 = 512,
}
public partial struct InterfaceMapping
{
public System.Reflection.MethodInfo[] InterfaceMethods;
public System.Type InterfaceType;
public System.Reflection.MethodInfo[] TargetMethods;
public System.Type TargetType;
}
public static partial class IntrospectionExtensions
{
public static System.Reflection.TypeInfo GetTypeInfo(this System.Type type) { throw null; }
}
public partial class InvalidFilterCriteriaException : System.ApplicationException
{
public InvalidFilterCriteriaException() { }
protected InvalidFilterCriteriaException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public InvalidFilterCriteriaException(string message) { }
public InvalidFilterCriteriaException(string message, System.Exception inner) { }
}
public partial interface IReflect
{
System.Type UnderlyingSystemType { get; }
System.Reflection.FieldInfo GetField(string name, System.Reflection.BindingFlags bindingAttr);
System.Reflection.FieldInfo[] GetFields(System.Reflection.BindingFlags bindingAttr);
System.Reflection.MemberInfo[] GetMember(string name, System.Reflection.BindingFlags bindingAttr);
System.Reflection.MemberInfo[] GetMembers(System.Reflection.BindingFlags bindingAttr);
System.Reflection.MethodInfo GetMethod(string name, System.Reflection.BindingFlags bindingAttr);
System.Reflection.MethodInfo GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type[] types, System.Reflection.ParameterModifier[] modifiers);
System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingAttr);
System.Reflection.PropertyInfo[] GetProperties(System.Reflection.BindingFlags bindingAttr);
System.Reflection.PropertyInfo GetProperty(string name, System.Reflection.BindingFlags bindingAttr);
System.Reflection.PropertyInfo GetProperty(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type returnType, System.Type[] types, System.Reflection.ParameterModifier[] modifiers);
object InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object target, object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters);
}
public partial interface IReflectableType
{
System.Reflection.TypeInfo GetTypeInfo();
}
public partial class LocalVariableInfo
{
protected LocalVariableInfo() { }
public virtual bool IsPinned { get { throw null; } }
public virtual int LocalIndex { get { throw null; } }
public virtual System.Type LocalType { get { throw null; } }
public override string ToString() { throw null; }
}
public partial class ManifestResourceInfo
{
public ManifestResourceInfo(System.Reflection.Assembly containingAssembly, string containingFileName, System.Reflection.ResourceLocation resourceLocation) { }
public virtual string FileName { get { throw null; } }
public virtual System.Reflection.Assembly ReferencedAssembly { get { throw null; } }
public virtual System.Reflection.ResourceLocation ResourceLocation { get { throw null; } }
}
public delegate bool MemberFilter(System.Reflection.MemberInfo m, object filterCriteria);
public abstract partial class MemberInfo : System.Reflection.ICustomAttributeProvider
{
protected MemberInfo() { }
public virtual System.Collections.Generic.IEnumerable<System.Reflection.CustomAttributeData> CustomAttributes { get { throw null; } }
public abstract System.Type DeclaringType { get; }
public abstract System.Reflection.MemberTypes MemberType { get; }
public virtual int MetadataToken { get { throw null; } }
public virtual System.Reflection.Module Module { get { throw null; } }
public abstract string Name { get; }
public abstract System.Type ReflectedType { get; }
public override bool Equals(object obj) { throw null; }
public abstract object[] GetCustomAttributes(bool inherit);
public abstract object[] GetCustomAttributes(System.Type attributeType, bool inherit);
public virtual System.Collections.Generic.IList<System.Reflection.CustomAttributeData> GetCustomAttributesData() { throw null; }
public override int GetHashCode() { throw null; }
public virtual bool HasSameMetadataDefinitionAs(System.Reflection.MemberInfo other) { throw null; }
public abstract bool IsDefined(System.Type attributeType, bool inherit);
public static bool operator ==(System.Reflection.MemberInfo left, System.Reflection.MemberInfo right) { throw null; }
public static bool operator !=(System.Reflection.MemberInfo left, System.Reflection.MemberInfo right) { throw null; }
}
[System.FlagsAttribute]
public enum MemberTypes
{
All = 191,
Constructor = 1,
Custom = 64,
Event = 2,
Field = 4,
Method = 8,
NestedType = 128,
Property = 16,
TypeInfo = 32,
}
[System.FlagsAttribute]
public enum MethodAttributes
{
Abstract = 1024,
Assembly = 3,
CheckAccessOnOverride = 512,
FamANDAssem = 2,
Family = 4,
FamORAssem = 5,
Final = 32,
HasSecurity = 16384,
HideBySig = 128,
MemberAccessMask = 7,
NewSlot = 256,
PinvokeImpl = 8192,
Private = 1,
PrivateScope = 0,
Public = 6,
RequireSecObject = 32768,
ReservedMask = 53248,
ReuseSlot = 0,
RTSpecialName = 4096,
SpecialName = 2048,
Static = 16,
UnmanagedExport = 8,
Virtual = 64,
VtableLayoutMask = 256,
}
public abstract partial class MethodBase : System.Reflection.MemberInfo
{
protected MethodBase() { }
public abstract System.Reflection.MethodAttributes Attributes { get; }
public virtual System.Reflection.CallingConventions CallingConvention { get { throw null; } }
public virtual bool ContainsGenericParameters { get { throw null; } }
public bool IsAbstract { get { throw null; } }
public bool IsAssembly { get { throw null; } }
public virtual bool IsConstructedGenericMethod { get { throw null; } }
public bool IsConstructor { get { throw null; } }
public bool IsFamily { get { throw null; } }
public bool IsFamilyAndAssembly { get { throw null; } }
public bool IsFamilyOrAssembly { get { throw null; } }
public bool IsFinal { get { throw null; } }
public virtual bool IsGenericMethod { get { throw null; } }
public virtual bool IsGenericMethodDefinition { get { throw null; } }
public bool IsHideBySig { get { throw null; } }
public bool IsPrivate { get { throw null; } }
public bool IsPublic { get { throw null; } }
public virtual bool IsSecurityCritical { get { throw null; } }
public virtual bool IsSecuritySafeCritical { get { throw null; } }
public virtual bool IsSecurityTransparent { get { throw null; } }
public bool IsSpecialName { get { throw null; } }
public bool IsStatic { get { throw null; } }
public bool IsVirtual { get { throw null; } }
public abstract System.RuntimeMethodHandle MethodHandle { get; }
public virtual System.Reflection.MethodImplAttributes MethodImplementationFlags { get { throw null; } }
public override bool Equals(object obj) { throw null; }
public static System.Reflection.MethodBase GetCurrentMethod() { throw null; }
public virtual System.Type[] GetGenericArguments() { throw null; }
public override int GetHashCode() { throw null; }
public virtual System.Reflection.MethodBody GetMethodBody() { throw null; }
public static System.Reflection.MethodBase GetMethodFromHandle(System.RuntimeMethodHandle handle) { throw null; }
public static System.Reflection.MethodBase GetMethodFromHandle(System.RuntimeMethodHandle handle, System.RuntimeTypeHandle declaringType) { throw null; }
public abstract System.Reflection.MethodImplAttributes GetMethodImplementationFlags();
public abstract System.Reflection.ParameterInfo[] GetParameters();
public object Invoke(object obj, object[] parameters) { throw null; }
public abstract object Invoke(object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture);
public static bool operator ==(System.Reflection.MethodBase left, System.Reflection.MethodBase right) { throw null; }
public static bool operator !=(System.Reflection.MethodBase left, System.Reflection.MethodBase right) { throw null; }
}
public partial class MethodBody
{
protected MethodBody() { }
public virtual System.Collections.Generic.IList<System.Reflection.ExceptionHandlingClause> ExceptionHandlingClauses { get { throw null; } }
public virtual bool InitLocals { get { throw null; } }
public virtual int LocalSignatureMetadataToken { get { throw null; } }
public virtual System.Collections.Generic.IList<System.Reflection.LocalVariableInfo> LocalVariables { get { throw null; } }
public virtual int MaxStackSize { get { throw null; } }
public virtual byte[] GetILAsByteArray() { throw null; }
}
public enum MethodImplAttributes
{
AggressiveInlining = 256,
CodeTypeMask = 3,
ForwardRef = 16,
IL = 0,
InternalCall = 4096,
Managed = 0,
ManagedMask = 4,
MaxMethodImplVal = 65535,
Native = 1,
NoInlining = 8,
NoOptimization = 64,
OPTIL = 2,
PreserveSig = 128,
Runtime = 3,
Synchronized = 32,
Unmanaged = 4,
}
public abstract partial class MethodInfo : System.Reflection.MethodBase
{
protected MethodInfo() { }
public override System.Reflection.MemberTypes MemberType { get { throw null; } }
public virtual System.Reflection.ParameterInfo ReturnParameter { get { throw null; } }
public virtual System.Type ReturnType { get { throw null; } }
public abstract System.Reflection.ICustomAttributeProvider ReturnTypeCustomAttributes { get; }
public virtual System.Delegate CreateDelegate(System.Type delegateType) { throw null; }
public virtual System.Delegate CreateDelegate(System.Type delegateType, object target) { throw null; }
public override bool Equals(object obj) { throw null; }
public abstract System.Reflection.MethodInfo GetBaseDefinition();
public override System.Type[] GetGenericArguments() { throw null; }
public virtual System.Reflection.MethodInfo GetGenericMethodDefinition() { throw null; }
public override int GetHashCode() { throw null; }
public virtual System.Reflection.MethodInfo MakeGenericMethod(params System.Type[] typeArguments) { throw null; }
public static bool operator ==(System.Reflection.MethodInfo left, System.Reflection.MethodInfo right) { throw null; }
public static bool operator !=(System.Reflection.MethodInfo left, System.Reflection.MethodInfo right) { throw null; }
}
public sealed partial class Missing : System.Runtime.Serialization.ISerializable
{
internal Missing() { }
public static readonly System.Reflection.Missing Value;
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
}
public abstract partial class Module : System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.ISerializable
{
public static readonly System.Reflection.TypeFilter FilterTypeName;
public static readonly System.Reflection.TypeFilter FilterTypeNameIgnoreCase;
protected Module() { }
public virtual System.Reflection.Assembly Assembly { get { throw null; } }
public virtual System.Collections.Generic.IEnumerable<System.Reflection.CustomAttributeData> CustomAttributes { get { throw null; } }
public virtual string FullyQualifiedName { get { throw null; } }
public virtual int MDStreamVersion { get { throw null; } }
public virtual int MetadataToken { get { throw null; } }
public System.ModuleHandle ModuleHandle { get { throw null; } }
public virtual System.Guid ModuleVersionId { get { throw null; } }
public virtual string Name { get { throw null; } }
public virtual string ScopeName { get { throw null; } }
public override bool Equals(object o) { throw null; }
public virtual System.Type[] FindTypes(System.Reflection.TypeFilter filter, object filterCriteria) { throw null; }
public virtual object[] GetCustomAttributes(bool inherit) { throw null; }
public virtual object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw null; }
public virtual System.Collections.Generic.IList<System.Reflection.CustomAttributeData> GetCustomAttributesData() { throw null; }
public System.Reflection.FieldInfo GetField(string name) { throw null; }
public virtual System.Reflection.FieldInfo GetField(string name, System.Reflection.BindingFlags bindingAttr) { throw null; }
public System.Reflection.FieldInfo[] GetFields() { throw null; }
public virtual System.Reflection.FieldInfo[] GetFields(System.Reflection.BindingFlags bindingFlags) { throw null; }
public override int GetHashCode() { throw null; }
public System.Reflection.MethodInfo GetMethod(string name) { throw null; }
public System.Reflection.MethodInfo GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; }
public System.Reflection.MethodInfo GetMethod(string name, System.Type[] types) { throw null; }
protected virtual System.Reflection.MethodInfo GetMethodImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; }
public System.Reflection.MethodInfo[] GetMethods() { throw null; }
public virtual System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingFlags) { throw null; }
public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public virtual void GetPEKind(out System.Reflection.PortableExecutableKinds peKind, out System.Reflection.ImageFileMachine machine) { peKind = default(System.Reflection.PortableExecutableKinds); machine = default(System.Reflection.ImageFileMachine); }
// We've excluded GetSignerCertificate() for the following reasons:
// * It pulls in crypto, which isn't in corlib in .NET Core
// * It's unclear how this API would work if the module has multiple certs
// * It seems like a fringe scenario. If there are use cases for extracting Authenticode signatures from modules,
// it should probably be part of System.Reflection.Metadata and return raw blobs. The consumer can feed it to
// crypto cert AIs (e.g. as a byte array), which would avaoid the layering issue.
// public virtual System.Security.Cryptography.X509Certificates.X509Certificate GetSignerCertificate() { throw null; }
public virtual System.Type GetType(string className) { throw null; }
public virtual System.Type GetType(string className, bool ignoreCase) { throw null; }
public virtual System.Type GetType(string className, bool throwOnError, bool ignoreCase) { throw null; }
public virtual System.Type[] GetTypes() { throw null; }
public virtual bool IsDefined(System.Type attributeType, bool inherit) { throw null; }
public virtual bool IsResource() { throw null; }
public static bool operator ==(System.Reflection.Module left, System.Reflection.Module right) { throw null; }
public static bool operator !=(System.Reflection.Module left, System.Reflection.Module right) { throw null; }
public System.Reflection.FieldInfo ResolveField(int metadataToken) { throw null; }
public virtual System.Reflection.FieldInfo ResolveField(int metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) { throw null; }
public System.Reflection.MemberInfo ResolveMember(int metadataToken) { throw null; }
public virtual System.Reflection.MemberInfo ResolveMember(int metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) { throw null; }
public System.Reflection.MethodBase ResolveMethod(int metadataToken) { throw null; }
public virtual System.Reflection.MethodBase ResolveMethod(int metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) { throw null; }
public virtual byte[] ResolveSignature(int metadataToken) { throw null; }
public virtual string ResolveString(int metadataToken) { throw null; }
public System.Type ResolveType(int metadataToken) { throw null; }
public virtual System.Type ResolveType(int metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) { throw null; }
public override string ToString() { throw null; }
}
public delegate System.Reflection.Module ModuleResolveEventHandler(object sender, System.ResolveEventArgs e);
[System.AttributeUsageAttribute((System.AttributeTargets)(1), AllowMultiple=false, Inherited=false)]
public sealed partial class ObfuscateAssemblyAttribute : System.Attribute
{
public ObfuscateAssemblyAttribute(bool assemblyIsPrivate) { }
public bool AssemblyIsPrivate { get { throw null; } }
public bool StripAfterObfuscation { get { throw null; } set { } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(8157), AllowMultiple=true, Inherited=false)]
public sealed partial class ObfuscationAttribute : System.Attribute
{
public ObfuscationAttribute() { }
public bool ApplyToMembers { get { throw null; } set { } }
public bool Exclude { get { throw null; } set { } }
public string Feature { get { throw null; } set { } }
public bool StripAfterObfuscation { get { throw null; } set { } }
}
[System.FlagsAttribute]
public enum ParameterAttributes
{
HasDefault = 4096,
HasFieldMarshal = 8192,
In = 1,
Lcid = 4,
None = 0,
Optional = 16,
Out = 2,
Reserved3 = 16384,
Reserved4 = 32768,
ReservedMask = 61440,
Retval = 8,
}
public partial class ParameterInfo : System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.IObjectReference
{
protected System.Reflection.ParameterAttributes AttrsImpl;
protected System.Type ClassImpl;
protected object DefaultValueImpl;
protected System.Reflection.MemberInfo MemberImpl;
protected string NameImpl;
protected int PositionImpl;
protected ParameterInfo() { }
public virtual System.Reflection.ParameterAttributes Attributes { get { throw null; } }
public virtual System.Collections.Generic.IEnumerable<System.Reflection.CustomAttributeData> CustomAttributes { get { throw null; } }
public virtual object DefaultValue { get { throw null; } }
public virtual bool HasDefaultValue { get { throw null; } }
public bool IsIn { get { throw null; } }
public bool IsLcid { get { throw null; } }
public bool IsOptional { get { throw null; } }
public bool IsOut { get { throw null; } }
public bool IsRetval { get { throw null; } }
public virtual System.Reflection.MemberInfo Member { get { throw null; } }
public virtual int MetadataToken { get { throw null; } }
public virtual string Name { get { throw null; } }
public virtual System.Type ParameterType { get { throw null; } }
public virtual int Position { get { throw null; } }
public virtual object RawDefaultValue { get { throw null; } }
public virtual object[] GetCustomAttributes(bool inherit) { throw null; }
public virtual object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw null; }
public virtual System.Collections.Generic.IList<System.Reflection.CustomAttributeData> GetCustomAttributesData() { throw null; }
public virtual System.Type[] GetOptionalCustomModifiers() { throw null; }
public object GetRealObject(System.Runtime.Serialization.StreamingContext context) { throw null; }
public virtual System.Type[] GetRequiredCustomModifiers() { throw null; }
public virtual bool IsDefined(System.Type attributeType, bool inherit) { throw null; }
public override string ToString() { throw null; }
}
public readonly partial struct ParameterModifier
{
public ParameterModifier(int parameterCount) { throw null; }
public bool this[int index] { get { throw null; } set { } }
}
[System.CLSCompliantAttribute(false)]
public sealed partial class Pointer : System.Runtime.Serialization.ISerializable
{
internal Pointer() { }
public unsafe static object Box(void* ptr, System.Type type) { throw null; }
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public unsafe static void* Unbox(object ptr) { throw null; }
}
[System.FlagsAttribute]
public enum PortableExecutableKinds
{
ILOnly = 1,
NotAPortableExecutableImage = 0,
PE32Plus = 4,
Preferred32Bit = 16,
Required32Bit = 2,
Unmanaged32Bit = 8,
}
public enum ProcessorArchitecture
{
Amd64 = 4,
Arm = 5,
IA64 = 3,
MSIL = 1,
None = 0,
X86 = 2,
}
[System.FlagsAttribute]
public enum PropertyAttributes
{
HasDefault = 4096,
None = 0,
Reserved2 = 8192,
Reserved3 = 16384,
Reserved4 = 32768,
ReservedMask = 62464,
RTSpecialName = 1024,
SpecialName = 512,
}
public abstract partial class PropertyInfo : System.Reflection.MemberInfo
{
protected PropertyInfo() { }
public abstract System.Reflection.PropertyAttributes Attributes { get; }
public abstract bool CanRead { get; }
public abstract bool CanWrite { get; }
public virtual System.Reflection.MethodInfo GetMethod { get { throw null; } }
public bool IsSpecialName { get { throw null; } }
public override System.Reflection.MemberTypes MemberType { get { throw null; } }
public abstract System.Type PropertyType { get; }
public virtual System.Reflection.MethodInfo SetMethod { get { throw null; } }
public override bool Equals(object obj) { throw null; }
public System.Reflection.MethodInfo[] GetAccessors() { throw null; }
public abstract System.Reflection.MethodInfo[] GetAccessors(bool nonPublic);
public virtual object GetConstantValue() { throw null; }
public System.Reflection.MethodInfo GetGetMethod() { throw null; }
public abstract System.Reflection.MethodInfo GetGetMethod(bool nonPublic);
public override int GetHashCode() { throw null; }
public abstract System.Reflection.ParameterInfo[] GetIndexParameters();
public virtual System.Type[] GetOptionalCustomModifiers() { throw null; }
public virtual object GetRawConstantValue() { throw null; }
public virtual System.Type[] GetRequiredCustomModifiers() { throw null; }
public System.Reflection.MethodInfo GetSetMethod() { throw null; }
public abstract System.Reflection.MethodInfo GetSetMethod(bool nonPublic);
public object GetValue(object obj) { throw null; }
public virtual object GetValue(object obj, object[] index) { throw null; }
public abstract object GetValue(object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] index, System.Globalization.CultureInfo culture);
public static bool operator ==(System.Reflection.PropertyInfo left, System.Reflection.PropertyInfo right) { throw null; }
public static bool operator !=(System.Reflection.PropertyInfo left, System.Reflection.PropertyInfo right) { throw null; }
public void SetValue(object obj, object value) { }
public virtual void SetValue(object obj, object value, object[] index) { }
public abstract void SetValue(object obj, object value, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] index, System.Globalization.CultureInfo culture);
}
public abstract partial class ReflectionContext
{
protected ReflectionContext() { }
public virtual System.Reflection.TypeInfo GetTypeForObject(object value) { throw null; }
public abstract System.Reflection.Assembly MapAssembly(System.Reflection.Assembly assembly);
public abstract System.Reflection.TypeInfo MapType(System.Reflection.TypeInfo type);
}
public sealed partial class ReflectionTypeLoadException : System.SystemException, System.Runtime.Serialization.ISerializable
{
public ReflectionTypeLoadException(System.Type[] classes, System.Exception[] exceptions) { }
public ReflectionTypeLoadException(System.Type[] classes, System.Exception[] exceptions, string message) { }
public System.Exception[] LoaderExceptions { get { throw null; } }