10 references to SmallIndexSize
System.Reflection.Metadata (10)
System\Reflection\Metadata\MetadataReader.cs (10)
565
return (rowCounts[(int)index] < MetadataStreamConstants.LargeTableRowCount && !IsMinimalDelta) ?
SmallIndexSize
: LargeIndexSize;
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);
599
int stringHeapRefSize = (heapSizes & HeapSizes.StringHeapLarge) == HeapSizes.StringHeapLarge ? LargeIndexSize :
SmallIndexSize
;
600
int guidHeapRefSize = (heapSizes & HeapSizes.GuidHeapLarge) == HeapSizes.GuidHeapLarge ? LargeIndexSize :
SmallIndexSize
;
601
int blobHeapRefSize = (heapSizes & HeapSizes.BlobHeapLarge) == HeapSizes.BlobHeapLarge ? LargeIndexSize :
SmallIndexSize
;
822
return isAllReferencedTablesSmall ?
SmallIndexSize
: LargeIndexSize;