Fix [IDE0075](https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0075) rule violations in the `dotnet/runtime` repository, as suggested in https://github.com/dotnet/runtime/pull/63095#discussion_r869381948 We will need to ensure there are no codegen regressions. cc: @huoyaoyuan