Hello, when using "Declare property with initializer" refactoring on constructor parameter, it generates read/write property in readonly struct, which is nonsense.
C#public readonly struct TestStruct
{
public TestStruct(string name)
{
Name = name;
}
public string Name { get; set; }
}
Hi Karel,
Thanks for the code snippet.
I have reproduced it locally. Please give us some time to research the issue in detail.