Language

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

Name Description
SymbolRenameOptions(Boolean, Boolean, Boolean, Boolean)

Options for renaming a symbol.

Properties

Name Description
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

Name Description
Deconstruct(Boolean, Boolean, Boolean, Boolean)
Equals(Object)
Equals(SymbolRenameOptions)
GetHashCode()
ToString()

Operators

Name Description
Equality(SymbolRenameOptions, SymbolRenameOptions)
Inequality(SymbolRenameOptions, SymbolRenameOptions)

Applies to