Skip to main content

SymbolRenamerOptions Class

Namespace: Roslynator.Rename

Assembly: Roslynator.Workspaces.Core.dll

Represents options for SymbolRenamer.

public class SymbolRenamerOptions

Inheritance

Object SymbolRenamerOptions

Constructors

ConstructorSummary
SymbolRenamerOptions()

Properties

PropertySummary
CompilationErrorResolution
DryRunDo not save changes to disk.
IgnoredCompilerDiagnosticIdsA list of compiler diagnostic IDs that should be ignored.
IncludeGeneratedCodeInclude symbols that are part of generated code.
RenameFileIf the symbol is a type renames the file containing the type declaration as well.
RenameInCommentsRename identifiers in comments that match the name of the symbol.
RenameInStringsRename identifiers in string literals that match the name of the symbol.
RenameOverloadsIf the symbol is a method rename its overloads as well.
SkipLocalsDo not rename local symbols (like local variables).
SkipMembersDo not rename member symbols (methods, properties, fields etc.).
SkipTypesDo not rename type symbols (classes, structs, interfaces etc.).

Methods

MethodSummary
Equals(Object)(Inherited from Object)
GetHashCode()(Inherited from Object)
GetType()(Inherited from Object)
MemberwiseClone()(Inherited from Object)
ToString()(Inherited from Object)