SymbolRenameOptions(Boolean, Boolean, Boolean, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options for renaming a symbol.
public SymbolRenameOptions(bool RenameOverloads = false, bool RenameInStrings = false, bool RenameInComments = false, bool RenameFile = false);
new Microsoft.CodeAnalysis.Rename.SymbolRenameOptions : bool * bool * bool * bool -> Microsoft.CodeAnalysis.Rename.SymbolRenameOptions
Public Sub New (Optional RenameOverloads As Boolean = false, Optional RenameInStrings As Boolean = false, Optional RenameInComments As Boolean = false, Optional RenameFile As Boolean = false)
Parameters
- RenameOverloads
- Boolean
If the symbol is a method rename its overloads as well.
- RenameInStrings
- Boolean
Rename identifiers in string literals that match the name of the symbol.
- RenameInComments
- Boolean
Rename identifiers in comments that match the name of the symbol.
- RenameFile
- Boolean
If the symbol is a type renames the file containing the type declaration as well.