This commit fixes code generation when an indexed constructor argument value is null as the method is overloaded and need the value to be cast to `Object`. Closes gh-31508
This commit fixes code generation when an indexed constructor argument value is null as the method is overloaded and need the value to be cast to `Object`. Closes gh-31508