Beef
Beef copied to clipboard
[IDE][BUG] 'Rename Symbol' does not affects offsetof()
Hi there,
Rename Symbol does not affect the references specified in offsetof. It affects the member in offsetof when we start renaming from there, but it does not affect other offsetof references.
In order to reproduce, try renaming members where I've put comments:
namespace Game
{
public struct MyStruct
{
// Try renaming either of the members
public int lhs, rhs;
public void Test ()
{
int offsetLHS = offsetof(MyStruct, lhs);
int offsetRHS = offsetof(MyStruct, rhs);
// Try renaming the member below
int offsetLHS0 = offsetof(MyStruct, lhs);
}
}
}