System\Reflection\Metadata\Ecma335\MetadataSizes.cs (44)
272size += GetTableSize(TableIndex.Module, 2 + 3 * guidReferenceSize + stringReferenceSize);
273size += GetTableSize(TableIndex.TypeRef, resolutionScopeCodedIndexSize + stringReferenceSize + stringReferenceSize);
274size += GetTableSize(TableIndex.TypeDef, 4 + stringReferenceSize + stringReferenceSize + typeDefOrRefCodedIndexSize + fieldDefReferenceSize + methodDefReferenceSize);
276size += GetTableSize(TableIndex.Field, 2 + stringReferenceSize + blobReferenceSize);
278size += GetTableSize(TableIndex.MethodDef, 8 + stringReferenceSize + blobReferenceSize + parameterReferenceSize);
280size += GetTableSize(TableIndex.Param, 4 + stringReferenceSize);
281size += GetTableSize(TableIndex.InterfaceImpl, typeDefReferenceSize + typeDefOrRefCodedIndexSize);
282size += GetTableSize(TableIndex.MemberRef, memberRefParentCodedIndexSize + stringReferenceSize + blobReferenceSize);
283size += GetTableSize(TableIndex.Constant, 2 + hasConstantCodedIndexSize + blobReferenceSize);
284size += GetTableSize(TableIndex.CustomAttribute, hasCustomAttributeCodedIndexSize + customAttributeTypeCodedIndexSize + blobReferenceSize);
285size += GetTableSize(TableIndex.FieldMarshal, hasFieldMarshalCodedIndexSize + blobReferenceSize);
286size += GetTableSize(TableIndex.DeclSecurity, 2 + declSecurityCodedIndexSize + blobReferenceSize);
287size += GetTableSize(TableIndex.ClassLayout, 6 + typeDefReferenceSize);
288size += GetTableSize(TableIndex.FieldLayout, 4 + fieldDefReferenceSize);
289size += GetTableSize(TableIndex.StandAloneSig, blobReferenceSize);
290size += GetTableSize(TableIndex.EventMap, typeDefReferenceSize + eventDefReferenceSize);
292size += GetTableSize(TableIndex.Event, 2 + stringReferenceSize + typeDefOrRefCodedIndexSize);
293size += GetTableSize(TableIndex.PropertyMap, typeDefReferenceSize + propertyDefReferenceSize);
295size += GetTableSize(TableIndex.Property, 2 + stringReferenceSize + blobReferenceSize);
296size += GetTableSize(TableIndex.MethodSemantics, 2 + methodDefReferenceSize + hasSemanticsCodedIndexSize);
297size += GetTableSize(TableIndex.MethodImpl, typeDefReferenceSize + methodDefOrRefCodedIndexSize + methodDefOrRefCodedIndexSize);
298size += GetTableSize(TableIndex.ModuleRef, stringReferenceSize);
299size += GetTableSize(TableIndex.TypeSpec, blobReferenceSize);
300size += GetTableSize(TableIndex.ImplMap, 2 + memberForwardedCodedIndexSize + stringReferenceSize + moduleRefReferenceSize);
301size += GetTableSize(TableIndex.FieldRva, 4 + fieldDefReferenceSize);
302size += GetTableSize(TableIndex.EncLog, 8);
303size += GetTableSize(TableIndex.EncMap, 4);
304size += GetTableSize(TableIndex.Assembly, 16 + blobReferenceSize + stringReferenceSize + stringReferenceSize);
307size += GetTableSize(TableIndex.AssemblyRef, 12 + blobReferenceSize + stringReferenceSize + stringReferenceSize + blobReferenceSize);
310size += GetTableSize(TableIndex.File, 4 + stringReferenceSize + blobReferenceSize);
311size += GetTableSize(TableIndex.ExportedType, 8 + stringReferenceSize + stringReferenceSize + implementationCodedIndexSize);
312size += GetTableSize(TableIndex.ManifestResource, 8 + stringReferenceSize + implementationCodedIndexSize);
313size += GetTableSize(TableIndex.NestedClass, typeDefReferenceSize + typeDefReferenceSize);
314size += GetTableSize(TableIndex.GenericParam, 4 + typeOrMethodDefCodedIndexSize + stringReferenceSize);
315size += GetTableSize(TableIndex.MethodSpec, methodDefOrRefCodedIndexSize + blobReferenceSize);
316size += GetTableSize(TableIndex.GenericParamConstraint, genericParamReferenceSize + typeDefOrRefCodedIndexSize);
318size += GetTableSize(TableIndex.Document, blobReferenceSize + guidReferenceSize + blobReferenceSize + guidReferenceSize);
319size += GetTableSize(TableIndex.MethodDebugInformation, documentReferenceSize + blobReferenceSize);
320size += GetTableSize(TableIndex.LocalScope, methodDefReferenceSize + importScopeReferenceSize + localVariableReferenceSize + localConstantReferenceSize + 4 + 4);
321size += GetTableSize(TableIndex.LocalVariable, 2 + 2 + stringReferenceSize);
322size += GetTableSize(TableIndex.LocalConstant, stringReferenceSize + blobReferenceSize);
323size += GetTableSize(TableIndex.ImportScope, importScopeReferenceSize + blobReferenceSize);
324size += GetTableSize(TableIndex.StateMachineMethod, methodDefReferenceSize + methodDefReferenceSize);
325size += GetTableSize(TableIndex.CustomDebugInformation, hasCustomDebugInformationCodedIndexSize + guidReferenceSize + blobReferenceSize);