Skip to content

Renaming function parameters doesn't work properly with signature files in Visual Studio #14277

@0101

Description

@0101

Issue 1

Repro steps

  1. Have a file with a backing signature file that contains a function with parameters
  2. In the implementation file rename a parameter

Expected behavior

Parameter is renamed in both implementation and signature files.

Actual behavior

Parameter is only renamed in implementation file, resulting in a warning that the names differ.

Known workarounds

Do the rename in signature file manually

Issue 2

Repro steps

Rename the parameter in signature file

Expected behavior

Parameter is renamed in both implementation and signature files.

Actual behavior

image

Known workarounds

Do the rename manually

Related information

Visual Studio 17.5.0 Preview 2.0 [33107.333.main]

Metadata

Metadata

Assignees

Labels

Area-LangService-RenameSymbolFCS and VS support for renaming symbolsBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions