Hi
I'm using RCS1213 with roslynator_suppress_unity_script_methods = true and it works nicely, but it looks like OnRectTransformDimensionsChange is not part of the list of methods that are detected as Unity methods and it will still report the method as unused if it's part of a MonoBehaviour:
public sealed class ScaleBoxColliderToUIElement : MonoBehaviour
{
// RCS1213 reported here:
private void OnRectTransformDimensionsChange()
{
}
}
This method still works/exists, but it doesn't appear to be (well) documented any more, which is probably why it was missed - it can still be seen here.