1 write to lengths
System.AddIn (1)
System\Addin\MiniReflection\MetadataReader\Metadata.cs (1)
302
lengths
= new UInt32[(Int32)Tables.MaxTable + 1];
46 references to lengths
System.AddIn (46)
System\Addin\MiniReflection\MetadataReader\Metadata.cs (46)
275
Offset +=
lengths
[Table] * NRows[Table];
276
if (((Valid & VBit) != 0) && (NRows[Table] != 0) && (
lengths
[Table] == 0))
303
lengths
[(Int32)Tables.XAssembly] = 4 + 4 * 2 + 4 + blobIndex + 2 * stringIndex;
304
lengths
[(Int32)Tables.AssemblyOS] = 4 * 3;
305
lengths
[(Int32)Tables.AssemblyProcessor] = 4;
306
lengths
[(Int32)Tables.AssemblyRef] = 4 * 2 + 4 + 2 * blobIndex + 2 * stringIndex;
307
lengths
[(Int32)Tables.AssemblyRefOS] = 3 * 4 + RowSize(Tables.AssemblyRef);
308
lengths
[(Int32)Tables.AssemblyRefProcessor] = 4 + RowSize(Tables.AssemblyRef);
309
lengths
[(Int32)Tables.ClassLayout] = 2 + 4 + RowSize(Tables.TypeDef);
310
lengths
[(Int32)Tables.Constant] = 1 + 1 + MetadataTokenSize(Encodings.HasConstant) + blobIndex;
311
lengths
[(Int32)Tables.CustomAttribute] = MetadataTokenSize(Encodings.HasCustomAttribute) +
313
lengths
[(Int32)Tables.DeclSecurity] = 2 + MetadataTokenSize(Encodings.HasDeclSecurity) + blobIndex;
314
lengths
[(Int32)Tables.EventMap] = RowSize(Tables.TypeDef) + RowSize(Tables.XEvent);
315
lengths
[(Int32)Tables.XEvent] = 2 + stringIndex + MetadataTokenSize(Encodings.TypeDefOrRef);
316
lengths
[(Int32)Tables.ExportedType] = 4 + 4 + stringIndex*2 + MetadataTokenSize(Encodings.Implementation);
317
lengths
[(Int32)Tables.FieldDef] = 2 + stringIndex + blobIndex;
318
lengths
[(Int32)Tables.FieldLayout] = 4 + RowSize(Tables.FieldDef);
319
lengths
[(Int32)Tables.FieldMarshal] = MetadataTokenSize(Encodings.HasFieldMarshall) + blobIndex;
320
lengths
[(Int32)Tables.FieldRVA] = 4 + RowSize(Tables.FieldDef);
321
lengths
[(Int32)Tables.File] = 4 + stringIndex + 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 +
331
lengths
[(Int32)Tables.MethodDef] = 4 + 2 + 2 + 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);
335
lengths
[(Int32)Tables.XModule] = 2 + stringIndex + GUIDIndex * 3;
336
lengths
[(Int32)Tables.ModuleRef] = stringIndex;
337
lengths
[(Int32)Tables.NestedClass] = RowSize(Tables.TypeDef) * 2;
338
lengths
[(Int32)Tables.ParamDef] = 2 + 2 + stringIndex;
339
lengths
[(Int32)Tables.XProperty] = 2 + stringIndex + blobIndex;
340
lengths
[(Int32)Tables.PropertyMap] = RowSize(Tables.TypeDef) + RowSize(Tables.XProperty);
341
lengths
[(Int32)Tables.StandAloneSig] = blobIndex;
342
lengths
[(Int32)Tables.TypeDef] = 4 + stringIndex*2 + MetadataTokenSize(Encodings.TypeDefOrRef) +
344
lengths
[(Int32)Tables.TypeRef] = MetadataTokenSize(Encodings.ResolutionScope) + stringIndex*2;
345
lengths
[(Int32)Tables.TypeSpec] = blobIndex;
347
lengths
[(Int32)Tables.FieldPtr] = RowSize(Tables.FieldDef);
348
lengths
[(Int32)Tables.MethodPtr] = RowSize(Tables.MethodDef);
349
lengths
[(Int32)Tables.ParamPtr] = RowSize(Tables.ParamDef);
350
lengths
[(Int32)Tables.EventPtr] = RowSize(Tables.XEvent);
351
lengths
[(Int32)Tables.PropertyPtr] = RowSize(Tables.XProperty);
363
B.BaseStream.Seek(tableAt[(Int32)T]+Row*
lengths
[(Int32)T], SeekOrigin.Begin);