1 write to BlobReferenceIsSmall
System.Reflection.Metadata (1)
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (1)
150
BlobReferenceIsSmall
= isCompressed && heapSizes[(int)HeapIndex.Blob] <= ushort.MaxValue;
23 references to BlobReferenceIsSmall
System.Reflection.Metadata (23)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (22)
1890
if (!metadataSizes.
BlobReferenceIsSmall
)
1981
writer.WriteReference(SerializeHandle(fieldDef.Signature), metadataSizes.
BlobReferenceIsSmall
);
2001
writer.WriteReference(SerializeHandle(method.Signature), metadataSizes.
BlobReferenceIsSmall
);
2033
writer.WriteReference(SerializeHandle(memberRef.Signature), metadataSizes.
BlobReferenceIsSmall
);
2047
writer.WriteReference(SerializeHandle(constant.Value), metadataSizes.
BlobReferenceIsSmall
);
2063
writer.WriteReference(SerializeHandle(customAttribute.Value), metadataSizes.
BlobReferenceIsSmall
);
2075
writer.WriteReference(SerializeHandle(fieldMarshal.NativeType), metadataSizes.
BlobReferenceIsSmall
);
2089
writer.WriteReference(SerializeHandle(declSecurity.PermissionSet), metadataSizes.
BlobReferenceIsSmall
);
2116
writer.WriteReference(SerializeHandle(row.Signature), metadataSizes.
BlobReferenceIsSmall
);
2154
writer.WriteReference(SerializeHandle(property.Type), metadataSizes.
BlobReferenceIsSmall
);
2194
writer.WriteReference(SerializeHandle(typeSpec.Signature), metadataSizes.
BlobReferenceIsSmall
);
2229
writer.WriteReference(SerializeHandle(_assemblyRow.Value.AssemblyKey), metadataSizes.
BlobReferenceIsSmall
);
2244
writer.WriteReference(SerializeHandle(row.PublicKeyToken), metadataSizes.
BlobReferenceIsSmall
);
2247
writer.WriteReference(SerializeHandle(row.HashValue), metadataSizes.
BlobReferenceIsSmall
);
2257
writer.WriteReference(SerializeHandle(fileReference.HashValue), metadataSizes.
BlobReferenceIsSmall
);
2318
writer.WriteReference(SerializeHandle(methodSpec.Instantiation), metadataSizes.
BlobReferenceIsSmall
);
2326
writer.WriteReference(SerializeHandle(row.Name), metadataSizes.
BlobReferenceIsSmall
);
2328
writer.WriteReference(SerializeHandle(row.Hash), metadataSizes.
BlobReferenceIsSmall
);
2338
writer.WriteReference(SerializeHandle(row.SequencePoints), metadataSizes.
BlobReferenceIsSmall
);
2370
writer.WriteReference(SerializeHandle(row.Signature), metadataSizes.
BlobReferenceIsSmall
);
2379
writer.WriteReference(SerializeHandle(row.Imports), metadataSizes.
BlobReferenceIsSmall
);
2404
writer.WriteReference(SerializeHandle(row.Value), metadataSizes.
BlobReferenceIsSmall
);
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (1)
242
byte blobReferenceSize =
BlobReferenceIsSmall
? small : large;