125 references to TableMask
System.Reflection.Metadata (125)
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (1)
237
if ((int)type < TableCount && ((1UL << (int)type) & (ulong)
TableMask
.AllTables) != 0)
System\Reflection\Metadata\Ecma335\PortablePdbBuilder.cs (1)
93
if (((1UL << i) & (ulong)
TableMask
.ValidPortablePdbExternalTables) == 0)
System\Reflection\Metadata\Internal\CustomAttributeTypeTag.cs (3)
16
internal const
TableMask
TablesReferenced =
17
TableMask
.MethodDef
18
|
TableMask
.MemberRef;
System\Reflection\Metadata\Internal\HasConstantTag.cs (4)
16
internal const
TableMask
TablesReferenced =
17
TableMask
.Field
18
|
TableMask
.Param
19
|
TableMask
.Property;
System\Reflection\Metadata\Internal\HasCustomAttributeTag.cs (23)
76
internal const
TableMask
TablesReferenced =
77
TableMask
.MethodDef
78
|
TableMask
.Field
79
|
TableMask
.TypeRef
80
|
TableMask
.TypeDef
81
|
TableMask
.Param
82
|
TableMask
.InterfaceImpl
83
|
TableMask
.MemberRef
84
|
TableMask
.Module
85
|
TableMask
.DeclSecurity
86
|
TableMask
.Property
87
|
TableMask
.Event
88
|
TableMask
.StandAloneSig
89
|
TableMask
.ModuleRef
90
|
TableMask
.TypeSpec
91
|
TableMask
.Assembly
92
|
TableMask
.AssemblyRef
93
|
TableMask
.File
94
|
TableMask
.ExportedType
95
|
TableMask
.ManifestResource
96
|
TableMask
.GenericParam
97
|
TableMask
.GenericParamConstraint
98
|
TableMask
.MethodSpec;
System\Reflection\Metadata\Internal\HasDeclSecurityTag.cs (4)
16
internal const
TableMask
TablesReferenced =
17
TableMask
.TypeDef
18
|
TableMask
.MethodDef
19
|
TableMask
.Assembly;
System\Reflection\Metadata\Internal\HasFieldMarshalTag.cs (3)
15
internal const
TableMask
TablesReferenced =
16
TableMask
.Field
17
|
TableMask
.Param;
System\Reflection\Metadata\Internal\HasSemanticsTag.cs (3)
15
internal const
TableMask
TablesReferenced =
16
TableMask
.Event
17
|
TableMask
.Property;
System\Reflection\Metadata\Internal\ImplementationTag.cs (4)
17
internal const
TableMask
TablesReferenced =
18
TableMask
.File
19
|
TableMask
.AssemblyRef
20
|
TableMask
.ExportedType;
System\Reflection\Metadata\Internal\MemberForwardedTag.cs (3)
15
internal const
TableMask
TablesReferenced =
16
TableMask
.Field
17
|
TableMask
.MethodDef;
System\Reflection\Metadata\Internal\MemberRefParentTag.cs (6)
18
internal const
TableMask
TablesReferenced =
19
TableMask
.TypeDef
20
|
TableMask
.TypeRef
21
|
TableMask
.ModuleRef
22
|
TableMask
.MethodDef
23
|
TableMask
.TypeSpec;
System\Reflection\Metadata\Internal\MethodDefOrRefTag.cs (3)
15
internal const
TableMask
TablesReferenced =
16
TableMask
.MethodDef
17
|
TableMask
.MemberRef;
System\Reflection\Metadata\Internal\ResolutionScopeTag.cs (5)
18
internal const
TableMask
TablesReferenced =
19
TableMask
.Module
20
|
TableMask
.ModuleRef
21
|
TableMask
.AssemblyRef
22
|
TableMask
.TypeRef;
System\Reflection\Metadata\Internal\TypeDefOrRefTag.cs (4)
17
internal const
TableMask
TablesReferenced =
18
TableMask
.TypeDef
19
|
TableMask
.TypeRef
20
|
TableMask
.TypeSpec;
System\Reflection\Metadata\Internal\TypeOrMethodDefTag.cs (3)
16
internal const
TableMask
TablesReferenced =
17
TableMask
.TypeDef
18
|
TableMask
.MethodDef;
System\Reflection\Metadata\MetadataReader.cs (27)
369
private readonly
TableMask
_sortedTables;
432
private void ReadMetadataTableHeader(ref BlobReader reader, out HeapSizes heapSizes, out int[] metadataTableRowCounts, out
TableMask
sortedTables)
455
sortedTables = (
TableMask
)reader.ReadUInt64();
463
ulong validTables = (ulong)(
TableMask
.TypeSystemTables |
TableMask
.DebugTables);
476
if ((presentTables & (ulong)(
TableMask
.PtrTables |
TableMask
.EnCMap)) != 0)
545
const ulong validTables = (ulong)
TableMask
.ValidPortablePdbExternalTables;
632
this.InterfaceImplTable = new InterfaceImplTableReader(rowCounts[(int)TableIndex.InterfaceImpl], IsDeclaredSorted(
TableMask
.InterfaceImpl), GetReferenceSize(rowCounts, TableIndex.TypeDef), typeDefOrRefRefSize, metadataTablesMemoryBlock, totalRequiredSize);
638
this.ConstantTable = new ConstantTableReader(rowCounts[(int)TableIndex.Constant], IsDeclaredSorted(
TableMask
.Constant), hasConstantRefSize, blobHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);
642
IsDeclaredSorted(
TableMask
.CustomAttribute),
650
this.FieldMarshalTable = new FieldMarshalTableReader(rowCounts[(int)TableIndex.FieldMarshal], IsDeclaredSorted(
TableMask
.FieldMarshal), hasFieldMarshalRefSize, blobHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);
653
this.DeclSecurityTable = new DeclSecurityTableReader(rowCounts[(int)TableIndex.DeclSecurity], IsDeclaredSorted(
TableMask
.DeclSecurity), hasDeclSecurityRefSize, blobHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);
656
this.ClassLayoutTable = new ClassLayoutTableReader(rowCounts[(int)TableIndex.ClassLayout], IsDeclaredSorted(
TableMask
.ClassLayout), GetReferenceSize(rowCounts, TableIndex.TypeDef), metadataTablesMemoryBlock, totalRequiredSize);
659
this.FieldLayoutTable = new FieldLayoutTableReader(rowCounts[(int)TableIndex.FieldLayout], IsDeclaredSorted(
TableMask
.FieldLayout), GetReferenceSize(rowCounts, TableIndex.Field), metadataTablesMemoryBlock, totalRequiredSize);
683
this.MethodSemanticsTable = new MethodSemanticsTableReader(rowCounts[(int)TableIndex.MethodSemantics], IsDeclaredSorted(
TableMask
.MethodSemantics), GetReferenceSize(rowCounts, TableIndex.MethodDef), hasSemanticsRefSize, metadataTablesMemoryBlock, totalRequiredSize);
686
this.MethodImplTable = new MethodImplTableReader(rowCounts[(int)TableIndex.MethodImpl], IsDeclaredSorted(
TableMask
.MethodImpl), GetReferenceSize(rowCounts, TableIndex.TypeDef), methodDefOrRefRefSize, metadataTablesMemoryBlock, totalRequiredSize);
695
this.ImplMapTable = new ImplMapTableReader(rowCounts[(int)TableIndex.ImplMap], IsDeclaredSorted(
TableMask
.ImplMap), GetReferenceSize(rowCounts, TableIndex.ModuleRef), memberForwardedRefSize, stringHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);
698
this.FieldRvaTable = new FieldRVATableReader(rowCounts[(int)TableIndex.FieldRva], IsDeclaredSorted(
TableMask
.FieldRva), GetReferenceSize(rowCounts, TableIndex.Field), metadataTablesMemoryBlock, totalRequiredSize);
734
this.NestedClassTable = new NestedClassTableReader(rowCounts[(int)TableIndex.NestedClass], IsDeclaredSorted(
TableMask
.NestedClass), GetReferenceSize(rowCounts, TableIndex.TypeDef), metadataTablesMemoryBlock, totalRequiredSize);
737
this.GenericParamTable = new GenericParamTableReader(rowCounts[(int)TableIndex.GenericParam], IsDeclaredSorted(
TableMask
.GenericParam), typeOrMethodDefRefSize, stringHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);
743
this.GenericParamConstraintTable = new GenericParamConstraintTableReader(rowCounts[(int)TableIndex.GenericParamConstraint], IsDeclaredSorted(
TableMask
.GenericParamConstraint), GetReferenceSize(rowCounts, TableIndex.GenericParam), typeDefOrRefRefSize, metadataTablesMemoryBlock, totalRequiredSize);
761
this.LocalScopeTable = new LocalScopeTableReader(rowCounts[(int)TableIndex.LocalScope], IsDeclaredSorted(
TableMask
.LocalScope), methodRefSizeCombined, GetReferenceSize(rowCounts, TableIndex.ImportScope), GetReferenceSize(rowCounts, TableIndex.LocalVariable), GetReferenceSize(rowCounts, TableIndex.LocalConstant), metadataTablesMemoryBlock, totalRequiredSize);
773
this.StateMachineMethodTable = new StateMachineMethodTableReader(rowCounts[(int)TableIndex.StateMachineMethod], IsDeclaredSorted(
TableMask
.StateMachineMethod), methodRefSizeCombined, metadataTablesMemoryBlock, totalRequiredSize);
776
this.CustomDebugInformationTable = new CustomDebugInformationTableReader(rowCounts[(int)TableIndex.CustomDebugInformation], IsDeclaredSorted(
TableMask
.CustomDebugInformation), hasCustomDebugInformationRefSizeCombined, guidHeapRefSize, blobHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);
803
private int ComputeCodedTokenSize(int largeRowSize, int[] rowCounts,
TableMask
tablesReferenced)
825
private bool IsDeclaredSorted(
TableMask
index)
System\Reflection\Metadata\PortablePdb\HasCustomDebugInformationTag.cs (28)
85
internal const
TableMask
TablesReferenced =
86
TableMask
.MethodDef
87
|
TableMask
.Field
88
|
TableMask
.TypeRef
89
|
TableMask
.TypeDef
90
|
TableMask
.Param
91
|
TableMask
.InterfaceImpl
92
|
TableMask
.MemberRef
93
|
TableMask
.Module
94
|
TableMask
.DeclSecurity
95
|
TableMask
.Property
96
|
TableMask
.Event
97
|
TableMask
.StandAloneSig
98
|
TableMask
.ModuleRef
99
|
TableMask
.TypeSpec
100
|
TableMask
.Assembly
101
|
TableMask
.AssemblyRef
102
|
TableMask
.File
103
|
TableMask
.ExportedType
104
|
TableMask
.ManifestResource
105
|
TableMask
.GenericParam
106
|
TableMask
.GenericParamConstraint
107
|
TableMask
.MethodSpec
108
|
TableMask
.Document
109
|
TableMask
.LocalScope
110
|
TableMask
.LocalVariable
111
|
TableMask
.LocalConstant
112
|
TableMask
.ImportScope;