SymbolRenameOptions Struct

Definition

Options for renaming a symbol.

C#
[System.Runtime.Serialization.DataContract]
public readonly struct SymbolRenameOptions : IEquatable<Microsoft.CodeAnalysis.Rename.SymbolRenameOptions>
Inheritance
SymbolRenameOptions
Attributes
Implements

Constructors

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

Operators

Applies to

產品 版本
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 4.12.2, 4.13.0