Share via


SymbolRenameOptions Struct

Definition

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