SymbolRenameOptions Struct
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.
[System.Runtime.Serialization.DataContract]
public readonly struct SymbolRenameOptions : IEquatable<Microsoft.CodeAnalysis.Rename.SymbolRenameOptions>
[<System.Runtime.Serialization.DataContract>]
type SymbolRenameOptions = struct
Public Structure SymbolRenameOptions
Implements IEquatable(Of SymbolRenameOptions)
- Inheritance
-
SymbolRenameOptions
- Attributes
- Implements
Constructors
SymbolRenameOptions(Boolean, Boolean, Boolean, Boolean) |
Options for renaming a symbol. |
Properties
RenameFile |
If the symbol is a type renames the file containing the type declaration as well. |
RenameInComments |
Rename identifiers in comments that match the name of the symbol. |
RenameInStrings |
Rename identifiers in string literals that match the name of the symbol. |
RenameOverloads |
If the symbol is a method rename its overloads as well. |
Methods
Deconstruct(Boolean, Boolean, Boolean, Boolean) | |
Equals(Object) | |
Equals(SymbolRenameOptions) | |
GetHashCode() | |
ToString() |
Operators
Equality(SymbolRenameOptions, SymbolRenameOptions) | |
Inequality(SymbolRenameOptions, SymbolRenameOptions) |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for