Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DataObject.cs] Replace Array.CreateInstance(...) calls with the new[] keyword #9218

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

h3xds1nz
Copy link

@h3xds1nz h3xds1nz commented Jun 6, 2024

Description

Replaces two Array.CreateInstance calls with the new[] keyword. There is no reason to use the former call in this case.

Customer Impact

Improved array allocation performance.

Regression

None.

Testing

Verifying basic method functionality.

Risk

None.

Microsoft Reviewers: Open in CodeFlow
@h3xds1nz h3xds1nz requested a review from a team as a code owner June 6, 2024 11:43
@dotnet-policy-service dotnet-policy-service bot added PR metadata: Label to tag PRs, to facilitate with triage Community Contribution A label for all community Contributions labels Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community Contribution A label for all community Contributions PR metadata: Label to tag PRs, to facilitate with triage Queue for test pass
2 participants