1 // Auto-generated file - DO NOT EDIT!
2 // Please edit md-schema.xml or tabs-base.xsl if you want to make changes.
6 namespace Mono
.PEToolkit
.Metadata
{
13 public abstract class TablesHeapBase
: MDHeap
{
15 internal TablesHeapBase(MDStream stream
) : base(stream
)
20 /// Gets or sets bitvector of valid tables (64-bit).
22 public abstract long Valid {get; set;}
25 /// Gets or sets bitvector of sorted tables (64-bit).
27 public abstract long Sorted {get; set;}
31 // Accessors to decode Valid bitvector.
36 /// True if heap has Module table.
38 public bool HasModule
{
40 return (Valid
& (1L << 0x00)) != 0;
43 long mask
= (1L << 0x00);
53 /// True if heap has TypeRef table.
55 public bool HasTypeRef
{
57 return (Valid
& (1L << 0x01)) != 0;
60 long mask
= (1L << 0x01);
70 /// True if heap has TypeDef table.
72 public bool HasTypeDef
{
74 return (Valid
& (1L << 0x02)) != 0;
77 long mask
= (1L << 0x02);
87 /// True if heap has FieldPtr table.
89 public bool HasFieldPtr
{
91 return (Valid
& (1L << 0x03)) != 0;
94 long mask
= (1L << 0x03);
104 /// True if heap has Field table.
106 public bool HasField
{
108 return (Valid
& (1L << 0x04)) != 0;
111 long mask
= (1L << 0x04);
121 /// True if heap has MethodPtr table.
123 public bool HasMethodPtr
{
125 return (Valid
& (1L << 0x05)) != 0;
128 long mask
= (1L << 0x05);
138 /// True if heap has Method table.
140 public bool HasMethod
{
142 return (Valid
& (1L << 0x06)) != 0;
145 long mask
= (1L << 0x06);
155 /// True if heap has ParamPtr table.
157 public bool HasParamPtr
{
159 return (Valid
& (1L << 0x07)) != 0;
162 long mask
= (1L << 0x07);
172 /// True if heap has Param table.
174 public bool HasParam
{
176 return (Valid
& (1L << 0x08)) != 0;
179 long mask
= (1L << 0x08);
189 /// True if heap has InterfaceImpl table.
191 public bool HasInterfaceImpl
{
193 return (Valid
& (1L << 0x09)) != 0;
196 long mask
= (1L << 0x09);
206 /// True if heap has MemberRef table.
208 public bool HasMemberRef
{
210 return (Valid
& (1L << 0x0a)) != 0;
213 long mask
= (1L << 0x0a);
223 /// True if heap has Constant table.
225 public bool HasConstant
{
227 return (Valid
& (1L << 0x0b)) != 0;
230 long mask
= (1L << 0x0b);
240 /// True if heap has CustomAttribute table.
242 public bool HasCustomAttribute
{
244 return (Valid
& (1L << 0x0c)) != 0;
247 long mask
= (1L << 0x0c);
257 /// True if heap has FieldMarshal table.
259 public bool HasFieldMarshal
{
261 return (Valid
& (1L << 0x0d)) != 0;
264 long mask
= (1L << 0x0d);
274 /// True if heap has DeclSecurity table.
276 public bool HasDeclSecurity
{
278 return (Valid
& (1L << 0x0e)) != 0;
281 long mask
= (1L << 0x0e);
291 /// True if heap has ClassLayout table.
293 public bool HasClassLayout
{
295 return (Valid
& (1L << 0x0f)) != 0;
298 long mask
= (1L << 0x0f);
308 /// True if heap has FieldLayout table.
310 public bool HasFieldLayout
{
312 return (Valid
& (1L << 0x10)) != 0;
315 long mask
= (1L << 0x10);
325 /// True if heap has StandAloneSig table.
327 public bool HasStandAloneSig
{
329 return (Valid
& (1L << 0x11)) != 0;
332 long mask
= (1L << 0x11);
342 /// True if heap has EventMap table.
344 public bool HasEventMap
{
346 return (Valid
& (1L << 0x12)) != 0;
349 long mask
= (1L << 0x12);
359 /// True if heap has EventPtr table.
361 public bool HasEventPtr
{
363 return (Valid
& (1L << 0x13)) != 0;
366 long mask
= (1L << 0x13);
376 /// True if heap has Event table.
378 public bool HasEvent
{
380 return (Valid
& (1L << 0x14)) != 0;
383 long mask
= (1L << 0x14);
393 /// True if heap has PropertyMap table.
395 public bool HasPropertyMap
{
397 return (Valid
& (1L << 0x15)) != 0;
400 long mask
= (1L << 0x15);
410 /// True if heap has PropertyPtr table.
412 public bool HasPropertyPtr
{
414 return (Valid
& (1L << 0x16)) != 0;
417 long mask
= (1L << 0x16);
427 /// True if heap has Property table.
429 public bool HasProperty
{
431 return (Valid
& (1L << 0x17)) != 0;
434 long mask
= (1L << 0x17);
444 /// True if heap has MethodSemantics table.
446 public bool HasMethodSemantics
{
448 return (Valid
& (1L << 0x18)) != 0;
451 long mask
= (1L << 0x18);
461 /// True if heap has MethodImpl table.
463 public bool HasMethodImpl
{
465 return (Valid
& (1L << 0x19)) != 0;
468 long mask
= (1L << 0x19);
478 /// True if heap has ModuleRef table.
480 public bool HasModuleRef
{
482 return (Valid
& (1L << 0x1a)) != 0;
485 long mask
= (1L << 0x1a);
495 /// True if heap has TypeSpec table.
497 public bool HasTypeSpec
{
499 return (Valid
& (1L << 0x1b)) != 0;
502 long mask
= (1L << 0x1b);
512 /// True if heap has ImplMap table.
514 public bool HasImplMap
{
516 return (Valid
& (1L << 0x1c)) != 0;
519 long mask
= (1L << 0x1c);
529 /// True if heap has FieldRVA table.
531 public bool HasFieldRVA
{
533 return (Valid
& (1L << 0x1d)) != 0;
536 long mask
= (1L << 0x1d);
546 /// True if heap has ENCLog table.
548 public bool HasENCLog
{
550 return (Valid
& (1L << 0x1e)) != 0;
553 long mask
= (1L << 0x1e);
563 /// True if heap has ENCMap table.
565 public bool HasENCMap
{
567 return (Valid
& (1L << 0x1f)) != 0;
570 long mask
= (1L << 0x1f);
580 /// True if heap has Assembly table.
582 public bool HasAssembly
{
584 return (Valid
& (1L << 0x20)) != 0;
587 long mask
= (1L << 0x20);
597 /// True if heap has AssemblyProcessor table.
599 public bool HasAssemblyProcessor
{
601 return (Valid
& (1L << 0x21)) != 0;
604 long mask
= (1L << 0x21);
614 /// True if heap has AssemblyOS table.
616 public bool HasAssemblyOS
{
618 return (Valid
& (1L << 0x22)) != 0;
621 long mask
= (1L << 0x22);
631 /// True if heap has AssemblyRef table.
633 public bool HasAssemblyRef
{
635 return (Valid
& (1L << 0x23)) != 0;
638 long mask
= (1L << 0x23);
648 /// True if heap has AssemblyRefProcessor table.
650 public bool HasAssemblyRefProcessor
{
652 return (Valid
& (1L << 0x24)) != 0;
655 long mask
= (1L << 0x24);
665 /// True if heap has AssemblyRefOS table.
667 public bool HasAssemblyRefOS
{
669 return (Valid
& (1L << 0x25)) != 0;
672 long mask
= (1L << 0x25);
682 /// True if heap has File table.
684 public bool HasFile
{
686 return (Valid
& (1L << 0x26)) != 0;
689 long mask
= (1L << 0x26);
699 /// True if heap has ExportedType table.
701 public bool HasExportedType
{
703 return (Valid
& (1L << 0x27)) != 0;
706 long mask
= (1L << 0x27);
716 /// True if heap has ManifestResource table.
718 public bool HasManifestResource
{
720 return (Valid
& (1L << 0x28)) != 0;
723 long mask
= (1L << 0x28);
733 /// True if heap has NestedClass table.
735 public bool HasNestedClass
{
737 return (Valid
& (1L << 0x29)) != 0;
740 long mask
= (1L << 0x29);
750 /// True if heap has TypeTyPar table.
752 public bool HasTypeTyPar
{
754 return (Valid
& (1L << 0x2a)) != 0;
757 long mask
= (1L << 0x2a);
767 /// True if heap has MethodTyPar table.
769 public bool HasMethodTyPar
{
771 return (Valid
& (1L << 0x2b)) != 0;
774 long mask
= (1L << 0x2b);