You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[<RequireQualifiedAccess>]typeReproduction=| Value
memberthis.UnsafeValuewith get ()=
failwith ""letx= Reproduction.Value
x.UnsafeValue
Put your cursor inside UnsafeValue on the last line
Apply the Rename symbol action for example rename it to Test
See that the code is changed to:
[<RequireQualifiedAccess>]typeReproduction=| Value
memberthis.Testwith Test ()=// This line is wrong it should stay "get ()"
failwith ""letx= Reproduction.Value
x.Test
Details
Only the name of property should be renamed no the get declaration
Logs
No response
Checklist
I have looked through existing issues to make sure that this bug has not been reported before
I have provided a descriptive title for this issue
I have made sure that that this bug is reproducible on the latest version of the package
I have provided all the information needed to reproduce this bug as efficiently as possible
I or my company would be willing to contribute this fix
The text was updated successfully, but these errors were encountered:
Version
Ionide v7.18.2
Dotnet Info
.NET SDK:
Version: 8.0.204
Commit: c338c7548c
Workload version: 8.0.200-manifests.9f663350
Runtime Environment:
OS Name: Mac OS X
OS Version: 14.4
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/8.0.204/
.NET workloads installed:
There are no installed workloads to display.
Host:
Version: 8.0.4
Architecture: arm64
Commit: 2d7eea2529
.NET SDKs installed:
6.0.416 [/usr/local/share/dotnet/sdk]
7.0.403 [/usr/local/share/dotnet/sdk]
8.0.100-rc.2.23502.2 [/usr/local/share/dotnet/sdk]
8.0.100 [/usr/local/share/dotnet/sdk]
8.0.204 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.24 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.13 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.0-rc.2.23480.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.24 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.13 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.0-rc.2.23479.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Steps to reproduce
Code:
Put your cursor inside
UnsafeValue
on the last lineApply the
Rename symbol
action for example rename it toTest
See that the code is changed to:
Details
Only the name of property should be renamed no the
get
declarationLogs
No response
Checklist
The text was updated successfully, but these errors were encountered: