get_fields
Retrieve a list of fields from a .NET or Mono assembly type, including name, field type, visibility, and static/read-only modifiers.
Instructions
List the fields of one type (Mono / .NET pure assembly).
Same routing pattern as :func:get_methods. The CLI
subcommand is list-fields in
:mod:Re.Dotnet.Cli.Ops.MetadataOps.
A12 (v2.8.1): added so the CD-3 patch coordinates (which
need the field name _isSteam) can be discovered without
decompile_type first.
Args: path: path to a .dll / .exe .NET or Mono assembly fqn: fully-qualified type name limit: max rows to return (default 200)
Returns::
{"path": "...", "fqn": "...", "type_fqn": "...",
"count": N,
"fields": [{"name": "...", "field_type": "...",
"is_public": bool, "is_static": bool,
"is_read_only": bool, "is_literal": bool,
"constant": "..."}, ...]}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| fqn | Yes | ||
| limit | No |