public override uint GetPhysicalLength() { var encoder = GenericType.Header.GetStream <TableStream>() .GetIndexEncoder(CodedIndex.TypeDefOrRef); return((uint)(sizeof(byte) + sizeof(byte) + encoder.EncodeToken(GenericType.MetadataToken).GetCompressedSize() + GenericArguments.Count.GetCompressedSize() + GenericArguments.Sum(x => x.GetPhysicalLength()))); }