-
Notifications
You must be signed in to change notification settings - Fork 0
/
ILSourceParser.xml
2556 lines (2540 loc) · 128 KB
/
ILSourceParser.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
<?xml version="1.0"?>
<doc>
<assembly>
<name>ILSourceParser</name>
</assembly>
<members>
<member name="T:ILSourceParser.Common.AccessModifier">
<summary>
Represents the type of an access modifier in IL code.
</summary>
</member>
<member name="F:ILSourceParser.Common.AccessModifier.None">
<summary>
No access modifier is specified.
</summary>
</member>
<member name="F:ILSourceParser.Common.AccessModifier.Public">
<summary>
Public - equivalent to <see langword="public"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.AccessModifier.Family">
<summary>
Family - equivalent to <see langword="protected"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.AccessModifier.Private">
<summary>
Private - equivalent to <see langword="private"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.AccessModifier.Assembly">
<summary>
Assembly - equivalent to <see langword="internal"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.AccessModifier.FamilyOrAssembly">
<summary>
FamOrAssem - equivalent to <see langword="protected private"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.AccessModifier.FamilyAndAssembly">
<summary>
FamAndAssem - equivalent to <see langword="protected internal"/> in C#.
</summary>
</member>
<member name="T:ILSourceParser.Common.CallKind">
<summary>
Represents the type of calling convention in IL code.
</summary>
</member>
<member name="F:ILSourceParser.Common.CallKind.Cdecl">
<summary>
Cdecl calling convention.
</summary>
</member>
<member name="F:ILSourceParser.Common.CallKind.StdCall">
<summary>
Stdcall calling convention.
</summary>
</member>
<member name="F:ILSourceParser.Common.CallKind.ThisCall">
<summary>
Thiscall calling convention.
</summary>
</member>
<member name="F:ILSourceParser.Common.CallKind.FastCall">
<summary>
Fastcall calling convention.
</summary>
</member>
<member name="F:ILSourceParser.Common.CallKind.Default">
<summary>
Default calling convention - this is not a calling convention, rather,
the default calling convention is used based on the application.
</summary>
</member>
<member name="T:ILSourceParser.Common.HashMode">
<summary>
Represents the hashing mode for the <c>.hash</c> directive.
</summary>
</member>
<member name="F:ILSourceParser.Common.HashMode.SHA1">
<summary>
The SHA1 algorithm is the default algorithm for .NET Framework apps but is deemed insecure since 2015. Value is 0x00008004.
</summary>
</member>
<member name="F:ILSourceParser.Common.HashMode.SHA256">
<summary>
The SHA256 algorithm is the default algorithm for .NET Core 1.0 and later apps. Value is 0x0000800C.
</summary>
</member>
<member name="F:ILSourceParser.Common.HashMode.MD5">
<summary>
The MD5 algorithm is considered insecure and is not default for any .NET runtime type. Value is 0x00008003.
</summary>
</member>
<member name="F:ILSourceParser.Common.HashMode.SHA512">
<summary>
The SHA512 algorithm is not default for any .NET runtime type but is considered the most secure option. Value is 0x0000800D.
</summary>
<remarks>
<b>Remark: </b> using this algorithm in a .NET application could severely drop down performance.
</remarks>
</member>
<member name="F:ILSourceParser.Common.HashMode.Unknown">
<summary>
A hashing algorithm that is not recognized. Value is 0x00000000.
</summary>
<remarks>
<b>Remark: </b> if the algorithm is unknown,
the application still compiles and runs fine. This is because .NET will
silently fall back to the default hashing algorithm if the current one
is unknown. So, on .NET Framework, an unknown hashing algorithm will
instead result in SHA1, while on .NET Core 1.0 and later, the hashing
algorithm will be SHA256.
</remarks>
</member>
<member name="T:ILSourceParser.Common.ITypeTrivia">
<summary>
Marks a syntax trivia as a type. Those include:
<list type="bullet">
<item><see cref="T:ILSourceParser.Trivia.TypeAmpersandTrivia"/></item>
<item><see cref="T:ILSourceParser.Trivia.TypeArrayTrivia"/></item>
<item><see cref="T:ILSourceParser.Trivia.TypeAsteriskTrivia"/></item>
</list>
</summary>
</member>
<member name="T:ILSourceParser.Common.KnownSpecialMethodType">
<summary>
Represents the well-known special method name in IL code, typically
reserved and/or illegal in C# code but not in IL. These include:
<list type="bullet">
<item>
<c>Finalize</c> - the C# finalizer, like: <c>~MyMethod() { }</c>
</item>
<item>
<c>Operator</c> - not a method, but methods prefixed with <c>op_</c>. Those
are methods that specify C# user-defined operators.
</item>
<item>
<c>.ctor</c> - equivalent to a constructor in C#
</item>
<item>
<c>.cctor</c> - equivalent to a static constructor in C#
</item>
</list>
</summary>
</member>
<member name="F:ILSourceParser.Common.KnownSpecialMethodType.Finalize">
<summary>
The <c>Finalize()</c> method, typically a finalizer in C# code.
</summary>
</member>
<member name="F:ILSourceParser.Common.KnownSpecialMethodType.Operator">
<summary>
Methods starting with <c>op_</c>, typically user-defined operators in
C# code.
</summary>
</member>
<member name="F:ILSourceParser.Common.KnownSpecialMethodType.Ctor">
<summary>
The <c>.ctor</c> method, typically a constructor in C# code.
</summary>
</member>
<member name="F:ILSourceParser.Common.KnownSpecialMethodType.Cctor">
<summary>
The <c>.cctor</c> method, typically a static constructor in C# code.
</summary>
</member>
<member name="T:ILSourceParser.Common.Management">
<summary>
Specifies the management type of a function pointer.
</summary>
</member>
<member name="F:ILSourceParser.Common.Management.Managed">
<summary>
The function pointer is a pointer referring to the managed method.
</summary>
</member>
<member name="F:ILSourceParser.Common.Management.Unmanaged">
<summary>
The function pointer is a pointer referring to the unmanaged method.
</summary>
</member>
<member name="T:ILSourceParser.Common.ParameterModifierType">
<summary>
Represents the type of parameter modifier.
</summary>
</member>
<member name="F:ILSourceParser.Common.ParameterModifierType.Out">
<summary>
Equivalent to <see cref="T:System.Runtime.InteropServices.OutAttribute"/>.
</summary>
</member>
<member name="F:ILSourceParser.Common.ParameterModifierType.In">
<summary>
Equivalent to <see cref="T:System.Runtime.InteropServices.InAttribute"/>.
</summary>
</member>
<member name="F:ILSourceParser.Common.ParameterModifierType.Opt">
<summary>
Equivalent to <see cref="T:System.Runtime.InteropServices.OptionalAttribute"/>.
</summary>
</member>
<member name="F:ILSourceParser.Common.ParameterModifierType.Unknown">
<summary>
Unknown parameter modifier was specified.
</summary>
</member>
<member name="T:ILSourceParser.Common.PredefinedTypeKind">
<summary>
Represents the well-known primitive type in IL code.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.Int8">
<summary>
<c>int8</c> - equivalent to <see cref="T:System.SByte"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.Int16">
<summary>
<c>int16</c> - equivalent to <see cref="T:System.Int16"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.Int32">
<summary>
<c>int32</c> - equivalent to <see cref="T:System.Int32"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.Int64">
<summary>
<c>int64</c> - equivalent to <see cref="T:System.Int64"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.UInt8">
<summary>
<c>uint8</c> - equivalent to <see cref="T:System.Byte"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.UInt16">
<summary>
<c>uint16</c> - equivalent to <see cref="T:System.UInt16"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.UInt32">
<summary>
<c>uint32</c> - equivalent to <see cref="T:System.UInt32"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.UInt64">
<summary>
<c>uint64</c> - equivalent to <see cref="T:System.UInt64"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.Float32">
<summary>
<c>float32</c> - equivalent to <see cref="T:System.Single"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.Float64">
<summary>
<c>float64</c> - equivalent to <see cref="T:System.Double"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.String">
<summary>
<c>string</c> - equivalent to <see cref="T:System.String"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.Char">
<summary>
<c>char</c> - equivalent to <see cref="T:System.Char"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.Boolean">
<summary>
<c>bool</c> - equivalent to <see cref="T:System.Boolean"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.Object">
<summary>
<c>object</c> - equivalent to <see cref="T:System.Object"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.Void">
<summary>
<c>void</c> - equivalent to <see cref="T:System.Void"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.NativeInt">
<summary>
<c>native int</c> - equivalent to <see cref="T:System.IntPtr"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.NativeUInt">
<summary>
<c>native uint</c> - equivalent to <see cref="T:System.UIntPtr"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.NativeInt32">
<summary>
<c>native int32</c> - equivalent to <see cref="T:System.IntPtr"/> in C#.
</summary>
</member>
<member name="F:ILSourceParser.Common.PredefinedTypeKind.NativeUInt32">
<summary>
<c>native uint32</c> - equivalent to <see cref="T:System.UIntPtr"/> in C#.
</summary>
</member>
<member name="T:ILSourceParser.Common.PredefinedTypeLookups">
<summary>
Provides lookups and dictionaries related to IL predefined types.
</summary>
</member>
<member name="P:ILSourceParser.Common.PredefinedTypeLookups.TypeFunctionLookups">
<summary>
Represents a lookup that checks whether the given predefined
type can be a function or not. For example, passing <see cref="F:ILSourceParser.Common.PredefinedTypeKind.Int32"/>
will return <see langword="true"/> because <c>int32(123)</c> is a valid
function in IL, but passing <see cref="F:ILSourceParser.Common.PredefinedTypeKind.String"/> will
return <see langword="false"/> because <c>string("Hi!")</c> is not a valid
function in IL.
</summary>
</member>
<member name="P:ILSourceParser.Common.PredefinedTypeLookups.TypeParsingLookups">
<summary>
Represents a lookup that returns <see cref="T:ILSourceParser.Common.PredefinedTypeKind"/> based on
the type name. For example, passing the string <c>"int32"</c> will
return <see cref="F:ILSourceParser.Common.PredefinedTypeKind.Int32"/>.
</summary>
</member>
<member name="T:ILSourceParser.Common.SecurityAction">
<summary>
Represents a security action- that is, what is used in the <c>.permissionset</c> assembler directive.
These are part of Code Access Security (CAS) feature. By default, this assembler directive is
only emitted by the compiler in .NET Framework apps - .NET Core and later do.
</summary>
<remarks>
<b>Remark: </b> please note that the security actions are now deprecated in modern .NET versions and should not be used anymore.
However, they're still ordinarily seen even in modern .NET Framework code, even though
Code Access Security was deprecated way back in 2010. However, by compiling the IL
application with a more modern .NET, you will likely not see the <c>.permissionset</c>
assembler directive in the decompiled code at all.
</remarks>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.Request">
<summary>
<c>request</c>: Specifies that the assembly requests the specified permissions.
The CLR checks if the requested permissions are granted.
</summary>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.Demand">
<summary>
<c>demand</c>: Requires that the assembly has the specified permissions.
If not, a security exception is thrown.
</summary>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.Assert">
<summary>
<c>assert</c>: Allows the assembly to assert that it has the specified permissions, even if it doesn’t.
Use with caution before running the application with this security action.
</summary>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.Deny">
<summary>
<c>deny</c>: Explicitly denies the specified permissions to the assembly.
</summary>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.PermitOnly">
<summary>
<c>permitonly</c>: Grants only the specified permissions to the assembly, denying all others.
</summary>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.LinkCheck">
<summary>
<c>linkcheck</c>: Used during verification to ensure that the assembly doesn’t link against forbidden types or methods.
</summary>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.InheritCheck">
<summary>
<c>inheritcheck</c>: Similar to linkcheck but also checks inherited members.
</summary>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.ReqOpt">
<summary>
<c>reqopt</c>: Specifies optional permissions that the assembly requests.
</summary>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.ReqRefuse">
<summary>
<c>reqrefuse</c>: Specifies permissions that the assembly refuses.
</summary>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.PreJitGrant">
<summary>
<c>prejitgrant</c>: Specifies permissions granted during pre-JIT compilation.
</summary>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.PreJitDeny">
<summary>
<c>prejitdeny</c>: Specifies permissions denied during pre-JIT compilation.
</summary>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.NonCasDemand">
<summary>
<c>noncasdemand</c>: Used for non-CAS (Code Access Security) demands.
</summary>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.NonCasLinkDemand">
<summary>
<c>noncaslinkdemand</c>: Used for non-CAS link demands.
</summary>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.NonCasInheritance">
<summary>
<c>noncasinheritance</c>: Used for non-CAS inheritance demands
</summary>
</member>
<member name="F:ILSourceParser.Common.SecurityAction.ReqMin">
<summary>
<c>reqmin</c>: Set specifies the minimum permissions required for the assembly to execute.
If one of the permissions is not met, a security exception is thrown. This is the default
for .NET Framework apps, but is no longer used in .NET.
</summary>
</member>
<member name="T:ILSourceParser.Common.SpecialMethodName">
<summary>
Represents a few special method names.
</summary>
</member>
<member name="F:ILSourceParser.Common.SpecialMethodName.Ctor">
<summary>
<c>.ctor</c> - constructor method
</summary>
</member>
<member name="F:ILSourceParser.Common.SpecialMethodName.Cctor">
<summary>
<c>.cctor</c> - static constructor method
</summary>
</member>
<member name="T:ILSourceParser.Common.TypePrefix">
<summary>
Represents the type prefix. For example, in this IL code:
<code>
[MyAssembly]MyNamespace.MyGenericClass<valuetype [System.Runtime]System.Decimal>
</code>
The first generic parameter of <c>MyNamespace.MyGenericClass</c> is a non-generic
type reference, prefixed with <c>valuetype</c>. Since <c>[System.Runtime]System.Decimal</c>
is prefixed with <c>valuetype</c>, this will use <see cref="F:ILSourceParser.Common.TypePrefix.ValueType"/>.
</summary>
</member>
<member name="F:ILSourceParser.Common.TypePrefix.Class">
<summary>
Type prefix <c>class</c>
</summary>
</member>
<member name="F:ILSourceParser.Common.TypePrefix.ValueType">
<summary>
Type prefix <c>valuetype</c>
</summary>
</member>
<member name="T:ILSourceParser.Common.UnknownSecurityActionException">
<summary>
Represents an exception thrown when the security action is undefined.
</summary>
</member>
<member name="P:ILSourceParser.Common.UnknownSecurityActionException.Action">
<summary>
The security action as a string which is not known.
</summary>
</member>
<member name="M:ILSourceParser.Common.UnknownSecurityActionException.#ctor">
<summary>
Initializes a new instance of the <see cref="T:ILSourceParser.Common.UnknownSecurityActionException"/> class.
</summary>
</member>
<member name="M:ILSourceParser.Common.UnknownSecurityActionException.#ctor(System.String)">
<summary>
Initializes a new instance of the <see cref="T:ILSourceParser.Common.UnknownSecurityActionException"/> class.
</summary>
<param name="message">Exception message & the security action that wasn't defined.</param>
</member>
<member name="M:ILSourceParser.Common.UnknownSecurityActionException.#ctor(System.String,System.Exception)">
<summary>
Initializes a new instance of the <see cref="T:ILSourceParser.Common.UnknownSecurityActionException"/> class.
</summary>
<param name="message">Exception message & the security action that wasn't defined.</param>
<param name="innerException">Inner exception.</param>
</member>
<member name="T:ILSourceParser.ILRootNode">
<summary>
Represents the Microsoft Intermediate Language (IL) root node.
</summary>
</member>
<member name="P:ILSourceParser.ILRootNode.DescendantNodes">
<summary>
Represents every top-level syntax node, excluding
descendant nodes. Examples include the following nodes:
<list type="bullet">
<item><see cref="T:ILSourceParser.Syntax.AssemblyDeclarationSyntax"/></item>
<item><see cref="T:ILSourceParser.Syntax.ClassDeclarationSyntax"/></item>
<item><see cref="T:ILSourceParser.Syntax.FileAlignmentDirectiveSyntax"/></item>
<item><see cref="T:ILSourceParser.Syntax.ImageBaseDirectiveSyntax"/></item>
</list>
... etc
<para/>
But, not these:
<list type="bullet">
<item><see cref="T:ILSourceParser.Syntax.FieldOrPropertyReferenceSyntax"/> - only inside of a class</item>
<item><see cref="T:ILSourceParser.Syntax.PermissionSetSyntax"/> - only inside of an assembly</item>
<item><see cref="T:ILSourceParser.Syntax.CustomAttributeSyntax"/> - only inside of a method, class, property, assembly, etc</item>
<item><see cref="T:ILSourceParser.Syntax.Instructions.InstructionSyntax"/> - only inside of a method</item>
</list>
... etc
<para/>
Example IL code to demonstrate:
<example>
<code>
// Root here
.assembly MyAssembly
{
// Descendant nodes not associated here, but are part
// of AssemblyDeclarationSyntax
.ver 1:2:3:4
}
// This node will be included
.imagebase 0x00400000
</code>
</example>
</summary>
</member>
<member name="P:ILSourceParser.ILRootNode.HasNoCode">
<summary>
Checks whether the syntax root does not contain any code (e.g. it is
either empty or consists of comment syntax nodes only).
</summary>
</member>
<member name="P:ILSourceParser.ILRootNode.HasDescendantNodes">
<summary>
Checks whether the syntax root does not contain any syntax nodes at all.
</summary>
</member>
<member name="M:ILSourceParser.ILRootNode.CountRootScopedSyntaxNodeTrivia">
<summary>
Calculates sum of leading and trailing trivias of every top-level syntax node.
</summary>
<returns>A number of leading and trailing trivias in root scoped syntax nodes.</returns>
</member>
<member name="M:ILSourceParser.ILRootNode.Equals(System.Object)">
<inheritdoc cref="M:System.Object.Equals(System.Object)" />
</member>
<member name="M:ILSourceParser.ILRootNode.Equals(ILSourceParser.ILRootNode)">
<inheritdoc cref="M:System.IEquatable`1.Equals(`0)" />
</member>
<member name="M:ILSourceParser.ILRootNode.GetHashCode">
<inheritdoc cref="M:System.Object.GetHashCode" />
</member>
<member name="M:ILSourceParser.ILRootNode.op_Equality(ILSourceParser.ILRootNode,ILSourceParser.ILRootNode)">
<summary>
Checks whether the left root node is equal to the right root node.
</summary>
<param name="left">The left root node to compare from.</param>
<param name="right">The right root node to compare with.</param>
<returns>A boolean, indicating whether the left root node is equal to another or not.</returns>
</member>
<member name="M:ILSourceParser.ILRootNode.op_Inequality(ILSourceParser.ILRootNode,ILSourceParser.ILRootNode)">
<summary>
Checks whether the left root node is different from the right root node.
</summary>
<param name="left">The left root node to compare from.</param>
<param name="right">The right root node to compare with.</param>
<returns>A boolean, indicating whether the left root node is different from another or not.</returns>
</member>
<member name="M:ILSourceParser.ILRootNode.DifferentiateRootNodes(ILSourceParser.ILRootNode)">
<summary>
Returns a sequence containing syntax nodes different from each other compared
to <paramref name="other"/> syntax root.
</summary>
<param name="other">The other syntax root to compare descendant nodes with.</param>
<returns>Sequence containing top-level syntax nodes different with this and other syntax root.</returns>
<exception cref="T:System.ArgumentException">Thrown when this and other syntax root do not have equal amounts of descendant nodes.</exception>
</member>
<member name="T:ILSourceParser.ILSyntaxTree">
<summary>
Provides functionality for parsing Microsoft Intermediate Language (IL) syntax
into a syntax tree.
</summary>
</member>
<member name="M:ILSourceParser.ILSyntaxTree.ParseText(System.String)">
<summary>
Parses IL source into a syntax tree.
</summary>
<param name="text">A string that represents the IL source code.</param>
<returns>A new <see cref="T:ILSourceParser.SyntaxTree"/> that represents IL syntax tree.</returns>
</member>
<member name="M:ILSourceParser.ILSyntaxTree.ParseText(System.String,System.String)">
<summary>
Parses IL source into a syntax tree.
</summary>
<param name="text">A string that represents the IL source code.</param>
<param name="filePath">The path to the source file containing IL code.</param>
<returns>A new <see cref="T:ILSourceParser.SyntaxTree"/> that represents IL syntax tree.</returns>
</member>
<member name="M:ILSourceParser.ILSyntaxTree.ParseTextAsync(System.String)">
<summary>
Parses IL source into a syntax tree.
</summary>
<param name="text">A string that represents the IL source code.</param>
<returns>A new <see cref="T:ILSourceParser.SyntaxTree"/> that represents IL syntax tree.</returns>
</member>
<member name="M:ILSourceParser.ILSyntaxTree.ParseTextAsync(System.String,System.String)">
<summary>
Parses IL source into a syntax tree.
</summary>
<param name="text">A string that represents the IL source code.</param>
<param name="filePath">The path to the source file containing IL code.</param>
<returns>A new <see cref="T:ILSourceParser.SyntaxTree"/> that represents IL syntax tree.</returns>
</member>
<member name="T:ILSourceParser.Internal.Anonymous">
<summary>
Empty class used to make 'ILSourceParser.Private' a valid namespace
in order to match the folder structure. Please do not use.
</summary>
</member>
<member name="T:ILSourceParser.Parser">
<summary>
Core parser for the Intermediate Language (IL) source syntax.
</summary>
</member>
<member name="T:ILSourceParser.SyntaxTree">
<summary>
Represents the Intermediate Language syntax tree.
</summary>
</member>
<member name="M:ILSourceParser.SyntaxTree.GetRoot">
<summary>
Returns the root node for the IL syntax tree.
</summary>
<returns>A root syntax node that specifies the top-level syntax nodes.</returns>
</member>
<member name="M:ILSourceParser.SyntaxTree.GetRootAsync">
<summary>
Returns the root node for the IL syntax tree asynchronously.
</summary>
<returns>A root syntax node that specifies the top-level syntax nodes.</returns>
</member>
<member name="P:ILSourceParser.SyntaxTree.FilePath">
<summary>
Returns the name of the source file where its contents were parsed into
IL syntax tree. This throws an <see cref="T:System.InvalidOperationException"/>
by default while getting the file path.
To ensure the source file is specified, use the <see cref="P:ILSourceParser.SyntaxTree.IsFilePathInitialized"/>
property.
</summary>
</member>
<member name="P:ILSourceParser.SyntaxTree.IsFilePathInitialized">
<summary>
Checks whether the file path is specified. Returns <see langword="false" />. To specify
the source file, change the <see cref="P:ILSourceParser.SyntaxTree.FilePath"/> property.
</summary>
</member>
<member name="T:ILSourceParser.Syntax.AccessorSyntax">
<summary>
This node is associated with the following kinds:
<list type="bullet">
<item>
<see cref="T:ILSourceParser.Syntax.GetAccessorSyntax"/>
</item>
<item>
<see cref="T:ILSourceParser.Syntax.SetAccessorSyntax"/>
</item>
<item>
<see cref="T:ILSourceParser.Syntax.AddOnAccessorSyntax"/>
</item>
<item>
<see cref="T:ILSourceParser.Syntax.RemoveOnAccessorSyntax"/>
</item>
</list>
</summary>
</member>
<member name="P:ILSourceParser.Syntax.AccessorSyntax.LeadingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.LeadingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.AccessorSyntax.TrailingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.TrailingTrivia" />
</member>
<member name="T:ILSourceParser.Syntax.AddOnAccessorSyntax">
<summary>
Represents the IL <c>.addon</c> accessor, similar to C#'s event <c>add</c> accessor.
</summary>
</member>
<member name="P:ILSourceParser.Syntax.AddOnAccessorSyntax.Target">
<summary>
Accessors in IL code typically reference to another method that contains actual
implementation of the accessor. This property references a method that contains
the implementation of the accessor.
</summary>
</member>
<member name="T:ILSourceParser.Syntax.AnonymousCustomAttributeSyntax">
<summary>
Represents an anonymous custom attribute in IL code. This is a type of
custom attribute that does not contain any byte data. Example:
<code>
.custom instance void [System.Runtime]System.Runtime.CompilerServices.NullableAttribute::.ctor()
// There is no "= ( 01 00 00 00 )" after "::.ctor()", so this is an anonymous
// custom attribute.
</code>
There is a different syntax node to represent custom attributes that contain
byte data, which is <see cref="T:ILSourceParser.Syntax.CustomAttributeSyntax"/>.
</summary>
</member>
<member name="P:ILSourceParser.Syntax.AnonymousCustomAttributeSyntax.AttributeConstructorTarget">
<summary>
Represents the invocation to the constructor. For example, in this
custom attribute:
<code>
.custom instance void [System.Runtime]System.Runtime.CompilerServices.NullableAttribute::.ctor()
</code>
.. this property will hold a reference to <c>[System.Runtime]System.Runtime.CompilerServices.NullableAttribute::.ctor()</c>,
specifically the constructor method <c>.ctor()</c>, and the
return type <c>instance void</c>.
</summary>
</member>
<member name="T:ILSourceParser.Syntax.ArgumentCollectionBaseSyntax">
<summary>
This node is associated with the following nodes:
<list type="bullet">
<item><see cref="T:ILSourceParser.Syntax.GenericArgumentsDefinitionSyntax"/></item>
<item><see cref="T:ILSourceParser.Syntax.GenericArgumentsReferenceSyntax"/></item>
</list>
</summary>
</member>
<member name="P:ILSourceParser.Syntax.ArgumentCollectionBaseSyntax.LeadingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.LeadingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.ArgumentCollectionBaseSyntax.TrailingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.TrailingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.ArgumentCollectionBaseSyntax.Parameters">
<summary>
A list of parameters passed to the argument collection.
</summary>
</member>
<member name="T:ILSourceParser.Syntax.ArgumentListReferenceSyntax">
<summary>
Represents a syntax node for argument list references. This is used in
<see cref="T:ILSourceParser.Syntax.MethodInvocationSyntax"/> to specify parameters passed to the
method that's being invoked.
</summary>
</member>
<member name="P:ILSourceParser.Syntax.ArgumentListReferenceSyntax.LeadingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.LeadingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.ArgumentListReferenceSyntax.TrailingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.TrailingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.ArgumentListReferenceSyntax.Arguments">
<summary>
An enumerable of parameters passed to the method being invoked.
</summary>
</member>
<member name="P:ILSourceParser.Syntax.AssemblyDeclarationSyntax.LeadingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.LeadingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.AssemblyDeclarationSyntax.TrailingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.TrailingTrivia" />
</member>
<member name="T:ILSourceParser.Syntax.AssemblyReferenceSyntax">
<summary>
Represents a syntax node for assembly references. For example, in this type reference:
<example>
<code>
[System.Runtime]System.Runtime.CompilerServices.NullableAttribute::.ctor()
</code>
</example>
.. "[System.Runtime]" will be part of this syntax node.
</summary>
</member>
<member name="P:ILSourceParser.Syntax.AssemblyReferenceSyntax.LeadingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.LeadingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.AssemblyReferenceSyntax.TrailingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.TrailingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.AssemblyReferenceSyntax.AssemblyName">
<summary>
Represents the name of the assembly in the assembly reference. For example, in this type reference:
<example>
<code>
[System.Runtime]System.Runtime.CompilerServices.NullableAttribute::.ctor()
</code>
</example>
.. this property will hold a value of "System.Runtime". Brackets at start
and end are removed automatically.
</summary>
</member>
<member name="T:ILSourceParser.Syntax.BaseCommentSyntax">
<summary>
This node is associated with the following types:
<list type="bullet">
<item>
<see cref="T:ILSourceParser.Syntax.InlineCommentSyntax"/>
</item>
<item>
<see cref="T:ILSourceParser.Syntax.MultilineCommentSyntax"/>
</item>
</list>
</summary>
</member>
<member name="P:ILSourceParser.Syntax.BaseCommentSyntax.LeadingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.LeadingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.BaseCommentSyntax.TrailingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.TrailingTrivia" />
</member>
<member name="T:ILSourceParser.Syntax.BaseCustomAttributeSyntax">
<summary>
This node is associated with the following kinds:
<list type="bullet">
<item>
<see cref="T:ILSourceParser.Syntax.CustomAttributeSyntax"/>
</item>
<item>
<see cref="T:ILSourceParser.Syntax.AnonymousCustomAttributeSyntax"/>
</item>
</list>
</summary>
</member>
<member name="P:ILSourceParser.Syntax.BaseCustomAttributeSyntax.LeadingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.LeadingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.BaseCustomAttributeSyntax.TrailingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.TrailingTrivia" />
</member>
<member name="T:ILSourceParser.Syntax.BaseGenericParameterSyntax">
<summary>
Base class for generic parameters. This node is associated with the following nodes:
<list type="bullet">
<item>
<see cref="T:ILSourceParser.Syntax.GenericParameterPrimitiveSyntax"/>
</item>
<item>
<see cref="T:ILSourceParser.Syntax.GenericParameterReferenceSyntax"/>
</item>
<item>
<see cref="T:ILSourceParser.Syntax.GenericParameterTypeConstraintSyntax"/>
</item>
</list>
</summary>
</member>
<member name="P:ILSourceParser.Syntax.BaseGenericParameterSyntax.LeadingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.LeadingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.BaseGenericParameterSyntax.TrailingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.TrailingTrivia" />
</member>
<member name="T:ILSourceParser.Syntax.BooleanFunctionSyntax">
<summary>
Represents the <c>bool()</c> IL function.
</summary>
<remarks>
Not to be confused with a simple <c>bool</c> type, this node specifies the
<c>bool()</c> function, e.g. <c>bool(true)</c>.
</remarks>
</member>
<member name="P:ILSourceParser.Syntax.BooleanFunctionSyntax.Value">
<summary>
A boolean passed to the function.
</summary>
</member>
<member name="T:ILSourceParser.Syntax.BooleanLiteralSyntax">
<summary>
Represents an IL boolean literal - e.g. <c>true</c> or <c>false</c> keyword.
</summary>
</member>
<member name="P:ILSourceParser.Syntax.BooleanLiteralSyntax.Value">
<summary>
Represents the value of the literal. This string can only hold a value
of <c>true</c> or <c>false</c>.
</summary>
</member>
<member name="T:ILSourceParser.Syntax.ByteArraySyntax">
<summary>
Represents a syntax node for the <c>bytearray()</c> IL type.
</summary>
<remarks>
Not to be confused with the byte array, this node refers to the <c>bytearray(...)</c>
IL type. Byte arrays are simply represented as <see cref="T:System.Collections.Generic.IEnumerable`1"/>
of type <see cref="T:ILSourceParser.Syntax.ByteSyntax"/>.
</remarks>
</member>
<member name="P:ILSourceParser.Syntax.ByteArraySyntax.Bytes">
<summary>
A list of bytes passed to the <c>bytearray</c> type.
</summary>
</member>
<member name="T:ILSourceParser.Syntax.ByteSyntax">
<summary>
Represents a syntax node for a byte - e.g. <c>0x05</c> or <c>1c</c>. This node is
typically returned by syntax nodes that heavily rely on bytes, f.e. <see cref="T:ILSourceParser.Syntax.CustomAttributeSyntax"/>
or <see cref="T:ILSourceParser.Syntax.PermissionSetSyntax"/>.
</summary>
</member>
<member name="P:ILSourceParser.Syntax.ByteSyntax.LeadingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.LeadingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.ByteSyntax.TrailingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.TrailingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.ByteSyntax.Value">
<summary>
Represents the raw value of the byte. For instance, if <c>1c</c> was specified,
this string will hold the value of <c>1c</c>. Value may be prefixed with the
hexadecimal integer prefix (0x). The length of this string is always 2 characters.
</summary>
</member>
<member name="P:ILSourceParser.Syntax.ClassDeclarationSyntax.LeadingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.LeadingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.ClassDeclarationSyntax.TrailingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.TrailingTrivia" />
</member>
<member name="T:ILSourceParser.Syntax.CorFlagsDirectiveSyntax">
<summary>
Represents the IL <c>.corflags</c> directive.
</summary>
</member>
<member name="P:ILSourceParser.Syntax.CorFlagsDirectiveSyntax.LeadingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.LeadingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.CorFlagsDirectiveSyntax.TrailingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.TrailingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.CorFlagsDirectiveSyntax.Flags">
<summary>
The value of the COR flags. For example, in this code:
<code>
.corflags 0x12345678
</code>
.. this property will hold a string, with value "0x12345678".
</summary>
</member>
<member name="T:ILSourceParser.Syntax.CustomAttributeSyntax">
<summary>
Represents an anonymous custom attribute in IL code, similar to C#'s attributes. Example:
<code>
.custom instance void [System.Runtime]System.Runtime.CompilerServices.NullableAttribute::.ctor() = (
01 00 00 00
)
</code>
There is a different syntax node to represent custom attributes that omit the
byte data <c>= ( 01 00 00 00 )</c>, which is <see cref="T:ILSourceParser.Syntax.AnonymousCustomAttributeSyntax"/>.
</summary>
<remarks>
It is important to acknowledge that parsing attribute byte data in IL is
harder than in C# and generally requires a deeper understanding on how
attributes in IL bytecode work.
</remarks>
</member>
<member name="P:ILSourceParser.Syntax.CustomAttributeSyntax.AttributeConstructorTarget">
<summary>
Represents the invocation to the constructor. For example, in this
custom attribute:
<code>
.custom instance void [System.Runtime]System.Runtime.CompilerServices.NullableAttribute::.ctor() = (
01 00 00 00
)
</code>
.. this property will hold a reference to <c>[System.Runtime]System.Runtime.CompilerServices.NullableAttribute::.ctor()</c>,
specifically the constructor method <c>.ctor()</c>, and the
return type <c>instance void</c>.
</summary>
</member>
<member name="P:ILSourceParser.Syntax.CustomAttributeSyntax.AttributeData">
<summary>
Represents the attribute data of this custom attribute. For example,
in this custom attribute:
<code>
.custom instance void [System.Runtime]System.Runtime.CompilerServices.NullableAttribute::.ctor() = (
01 00 00 00
)
</code>
.. this property will hold byte data of the custom attribute,
being <c>01 00 00 00</c> combined.
</summary>
</member>
<member name="P:ILSourceParser.Syntax.EntryPointDirectiveSyntax.LeadingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.LeadingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.EntryPointDirectiveSyntax.TrailingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.TrailingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.EventDeclarationSyntax.LeadingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.LeadingTrivia" />
</member>
<member name="P:ILSourceParser.Syntax.EventDeclarationSyntax.TrailingTrivia">
<inheritdoc cref="P:ILSourceParser.Syntax.SyntaxNode.TrailingTrivia" />