In the code below, while in the "Test" attribute param of the class, Ctrl+Shift+R - introduce variable. All 3 instances are correctly identified, but no replacement is made. Also, if the operation is performed on the function's attribute, nothing happens at all.
Expected: a constant should be introduced.
[Obsolete("Test")]
class Foo
{
[Obsolete("Test")]
public void Bar1()
{
}
[Obsolete("Test")]
public void Bar2()
{
}
}
Description
In the code below, while in the "Test" attribute param of the class, Ctrl+Shift+R - introduce variable. All 3 instances are correctly identified, but no replacement is made. Also, if the operation is performed on the function's attribute, nothing happens at all.
Expected: a constant should be introduced.
[Obsolete("Test")]
class Foo
{
[Obsolete("Test")]
public void Bar1()
{
}
[Obsolete("Test")]
public void Bar2()
{
}
}