internal static uint Size(MetaData md) { return md.TableIndexSize(MDTable.TypeDef) + md.CodedIndexSize(CIx.TypeDefOrRef); }
internal static uint Size(MetaData md) { if (extraField) return 6 + md.CodedIndexSize(CIx.TypeOrMethodDef) + md.StringsIndexSize(); else return 4 + md.CodedIndexSize(CIx.TypeOrMethodDef) + md.StringsIndexSize(); }
internal static uint Size(MetaData md) { return 2+ md.CodedIndexSize(CIx.MemberForwarded) + md.StringsIndexSize() + md.TableIndexSize(MDTable.ModuleRef); }
internal static uint Size(MetaData md) { return md.CodedIndexSize(CIx.HasFieldMarshal) + md.BlobIndexSize(); }
internal static uint Size(MetaData md) { return md.CodedIndexSize(CIx.MemberRefParent) + md.StringsIndexSize() + md.BlobIndexSize(); }
internal static uint Size(MetaData md) { return 2 + md.CodedIndexSize(CIx.HasDeclSecurity) + md.BlobIndexSize(); }
internal static uint Size(MetaData md) { return 2 + md.StringsIndexSize() + md.CodedIndexSize(CIx.TypeDefOrRef); }
internal static uint Size(MetaData md) { return md.CodedIndexSize(CIx.ResolutionScope) + 2 * md.StringsIndexSize(); }
internal static uint Size(MetaData md) { return md.CodedIndexSize(CIx.HasCustomAttr) + md.CodedIndexSize(CIx.CustomAttributeType) + md.BlobIndexSize(); }
internal static uint Size(MetaData md) { return 4 + 2 * md.StringsIndexSize() + md.CodedIndexSize(CIx.TypeDefOrRef) + md.TableIndexSize(MDTable.Field) + md.TableIndexSize(MDTable.Method); }
internal static uint Size(MetaData md) { return 8 + 2* md.StringsIndexSize() + md.CodedIndexSize(CIx.Implementation); }
internal static uint Size(MetaData md) { return 2 + md.CodedIndexSize(CIx.HasConstant) + md.BlobIndexSize(); }
internal static uint Size(MetaData md) { return md.CodedIndexSize(CIx.MethodDefOrRef) + md.BlobIndexSize(); }
internal static uint Size(MetaData md) { return 2 + md.TableIndexSize(MDTable.Method) + md.CodedIndexSize(CIx.HasSemantics); }