34 references to GetReferenceSize
System.Reflection.Metadata (34)
System\Reflection\Metadata\MetadataReader.cs (34)
577
int fieldRefSizeSorted =
GetReferenceSize
(rowCounts, TableIndex.FieldPtr) > SmallIndexSize ? LargeIndexSize :
GetReferenceSize
(rowCounts, TableIndex.Field);
578
int methodRefSizeSorted =
GetReferenceSize
(rowCounts, TableIndex.MethodPtr) > SmallIndexSize ? LargeIndexSize :
GetReferenceSize
(rowCounts, TableIndex.MethodDef);
579
int paramRefSizeSorted =
GetReferenceSize
(rowCounts, TableIndex.ParamPtr) > SmallIndexSize ? LargeIndexSize :
GetReferenceSize
(rowCounts, TableIndex.Param);
580
int eventRefSizeSorted =
GetReferenceSize
(rowCounts, TableIndex.EventPtr) > SmallIndexSize ? LargeIndexSize :
GetReferenceSize
(rowCounts, TableIndex.Event);
581
int propertyRefSizeSorted =
GetReferenceSize
(rowCounts, TableIndex.PropertyPtr) > SmallIndexSize ? LargeIndexSize :
GetReferenceSize
(rowCounts, TableIndex.Property);
614
this.FieldPtrTable = new FieldPtrTableReader(rowCounts[(int)TableIndex.FieldPtr],
GetReferenceSize
(rowCounts, TableIndex.Field), metadataTablesMemoryBlock, totalRequiredSize);
620
this.MethodPtrTable = new MethodPtrTableReader(rowCounts[(int)TableIndex.MethodPtr],
GetReferenceSize
(rowCounts, TableIndex.MethodDef), metadataTablesMemoryBlock, totalRequiredSize);
626
this.ParamPtrTable = new ParamPtrTableReader(rowCounts[(int)TableIndex.ParamPtr],
GetReferenceSize
(rowCounts, TableIndex.Param), metadataTablesMemoryBlock, totalRequiredSize);
632
this.InterfaceImplTable = new InterfaceImplTableReader(rowCounts[(int)TableIndex.InterfaceImpl], IsDeclaredSorted(TableMask.InterfaceImpl),
GetReferenceSize
(rowCounts, TableIndex.TypeDef), typeDefOrRefRefSize, 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);
665
this.EventMapTable = new EventMapTableReader(rowCounts[(int)TableIndex.EventMap],
GetReferenceSize
(rowCounts, TableIndex.TypeDef), eventRefSizeSorted, metadataTablesMemoryBlock, totalRequiredSize);
668
this.EventPtrTable = new EventPtrTableReader(rowCounts[(int)TableIndex.EventPtr],
GetReferenceSize
(rowCounts, TableIndex.Event), metadataTablesMemoryBlock, totalRequiredSize);
674
this.PropertyMapTable = new PropertyMapTableReader(rowCounts[(int)TableIndex.PropertyMap],
GetReferenceSize
(rowCounts, TableIndex.TypeDef), propertyRefSizeSorted, metadataTablesMemoryBlock, totalRequiredSize);
677
this.PropertyPtrTable = new PropertyPtrTableReader(rowCounts[(int)TableIndex.PropertyPtr],
GetReferenceSize
(rowCounts, TableIndex.Property), 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);
719
this.AssemblyRefProcessorTable = new AssemblyRefProcessorTableReader(rowCounts[(int)TableIndex.AssemblyRefProcessor],
GetReferenceSize
(rowCounts, TableIndex.AssemblyRef), metadataTablesMemoryBlock, totalRequiredSize);
722
this.AssemblyRefOSTable = new AssemblyRefOSTableReader(rowCounts[(int)TableIndex.AssemblyRefOS],
GetReferenceSize
(rowCounts, TableIndex.AssemblyRef), metadataTablesMemoryBlock, totalRequiredSize);
734
this.NestedClassTable = new NestedClassTableReader(rowCounts[(int)TableIndex.NestedClass], IsDeclaredSorted(TableMask.NestedClass),
GetReferenceSize
(rowCounts, TableIndex.TypeDef), metadataTablesMemoryBlock, totalRequiredSize);
743
this.GenericParamConstraintTable = new GenericParamConstraintTableReader(rowCounts[(int)TableIndex.GenericParamConstraint], IsDeclaredSorted(TableMask.GenericParamConstraint),
GetReferenceSize
(rowCounts, TableIndex.GenericParam), typeDefOrRefRefSize, metadataTablesMemoryBlock, totalRequiredSize);
752
int methodRefSizeCombined =
GetReferenceSize
(combinedRowCounts, TableIndex.MethodDef);
758
this.MethodDebugInformationTable = new MethodDebugInformationTableReader(rowCounts[(int)TableIndex.MethodDebugInformation],
GetReferenceSize
(rowCounts, TableIndex.Document), blobHeapRefSize, 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);
770
this.ImportScopeTable = new ImportScopeTableReader(rowCounts[(int)TableIndex.ImportScope],
GetReferenceSize
(rowCounts, TableIndex.ImportScope), blobHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);