Skip to main content

roslynator find-symbol

Finds symbols in the specified project or solution.

Synopsis

roslynator find-symbol <PROJECT|SOLUTION>
--exclude <GLOB>
--file-log <FILE_PATH>
--file-log-verbosity <LEVEL>
-h, --help
--ignore-generated-code
--ignored-projects <PROJECT_NAME>
--include <GLOB>
--language <LANGUAGE>
-m, --msbuild-path <DIRECTORY_PATH>
--projects <PROJECT_NAME>
-p, --properties <NAME=VALUE>
--remove
--symbol-kind
--unused
-v, --verbosity <LEVEL>
--visibility <VISIBILITY>
--with-attribute <METADATA_NAME>
--without-attribute <METADATA_NAME>

Arguments

<PROJECT|SOLUTION>

Path to one or more project/solution files.

Options

--exclude <GLOB>

Space separated list of glob patterns to exclude files, folders, solutions or projects. For further information about the syntax see reference documentation.

--file-log <FILE_PATH>

Path to a file that should store output.

--file-log-verbosity <LEVEL>

Verbosity of the file log. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed] and diag[nostic].

-h, --help

Show command line help.

--ignore-generated-code
--ignored-projects <PROJECT_NAME>

Defines projects that should not be analyzed.

--include <GLOB>

Space separated list of glob patterns to include files, folders, solutions or projects. For further information about the syntax see reference documentation.

--language <LANGUAGE>

Defines project language. Allowed values are cs[harp] or v[isual-]b[asic].

-m, --msbuild-path <DIRECTORY_PATH>

Defines a path to MSBuild directory.

--projects <PROJECT_NAME>

Defines projects that should be analyzed.

-p, --properties <NAME=VALUE>

Defines one or more MSBuild properties.

--remove

Remove found symbols' declarations.

--symbol-kind

Space separated list of symbol kinds to be included. Allowed values are class, delegate, enum, interface, struct, event, field, enum-field, const, method, property, indexer, member and type.

--unused

Search only for symbols that have zero references.

-v, --verbosity <LEVEL>

Verbosity of the log. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed] and diag[nostic].

--visibility <VISIBILITY>

Space separated list of visibilities of a type or a member. Allowed values are public, internal and private.

--with-attribute <METADATA_NAME>

Space separated list of attributes that should be included.

--without-attribute <METADATA_NAME>

Space separated list of attributes that should be excluded.