19 references to MetadataTokenSize
System.AddIn (19)
System\Addin\MiniReflection\MetadataReader\Metadata.cs (19)
310
lengths[(Int32)Tables.Constant] = 1 + 1 +
MetadataTokenSize
(Encodings.HasConstant) + blobIndex;
311
lengths[(Int32)Tables.CustomAttribute] =
MetadataTokenSize
(Encodings.HasCustomAttribute) +
312
MetadataTokenSize
(Encodings.CustomAttributeType) + blobIndex;
313
lengths[(Int32)Tables.DeclSecurity] = 2 +
MetadataTokenSize
(Encodings.HasDeclSecurity) + blobIndex;
315
lengths[(Int32)Tables.XEvent] = 2 + stringIndex +
MetadataTokenSize
(Encodings.TypeDefOrRef);
316
lengths[(Int32)Tables.ExportedType] = 4 + 4 + stringIndex*2 +
MetadataTokenSize
(Encodings.Implementation);
319
lengths[(Int32)Tables.FieldMarshal] =
MetadataTokenSize
(Encodings.HasFieldMarshall) + blobIndex;
322
lengths[(Int32)Tables.GenericParam] = 2 + 2 +
MetadataTokenSize
(Encodings.TypeOrMethodDef) + stringIndex;
323
lengths[(Int32)Tables.GenericMethod] =
MetadataTokenSize
(Encodings.MethodDefOrRef) + blobIndex;
324
lengths[(Int32)Tables.GenericConstraint] = RowSize(Tables.GenericParam) +
MetadataTokenSize
(Encodings.TypeDefOrRef);
325
lengths[(Int32)Tables.ImplMap] = 2 +
MetadataTokenSize
(Encodings.MemberForwarded) + stringIndex +
327
lengths[(Int32)Tables.InterfaceImpl] = RowSize(Tables.TypeDef) +
MetadataTokenSize
(Encodings.TypeDefOrRef);
328
lengths[(Int32)Tables.ManifestResource] = 4 + 4 + stringIndex +
MetadataTokenSize
(Encodings.Implementation);
329
lengths[(Int32)Tables.MemberRef] =
MetadataTokenSize
(Encodings.MemberRefParent) + stringIndex +
333
lengths[(Int32)Tables.MethodImpl] = RowSize(Tables.TypeDef) +
MetadataTokenSize
(Encodings.MethodDefOrRef) * 2;
334
lengths[(Int32)Tables.MethodSemantics] = 2 + RowSize(Tables.MethodDef) +
MetadataTokenSize
(Encodings.HasSemantics);
342
lengths[(Int32)Tables.TypeDef] = 4 + stringIndex*2 +
MetadataTokenSize
(Encodings.TypeDefOrRef) +
344
lengths[(Int32)Tables.TypeRef] =
MetadataTokenSize
(Encodings.ResolutionScope) + stringIndex*2;
497
UInt32 Code = (
MetadataTokenSize
(E) == 2) ? B.ReadUInt16() : B.ReadUInt32();