Skip to content

Suggestion: More Member Statistics for a Type in Super Quick Infos #396

@fitdev

Description

@fitdev

It would be very nice if Super Quick Infos for classes, structs, and interfaces would show basic statistics such as:

  • Field count (const, static, instance)
  • Property count (static and instance)
  • Method count (static and instance)
  • And for completeness perhaps: events, operators, indexers.

Ideally for classes this should include a breakdown into self vs inherited, so the notation could be self + inherited = total.

It would be optional, as with most other Super Quick Info elements.

And ideally, it would also include object size in memory by calculating all the instance fields (we can assume 64 bits, but perhaps we should show both varieties for 32 and 64). This is particularly useful when deciding on the architecture - inheritance vs containment for example, to minimize memory footprint. Though it may require a bit more work to implement correctly when StructLayout and FieldOffset attributes are involved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    >_<!under consideration of dropping...QuickInfoTool tip and quick infofeature request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions