Skip to content

Conversation

sungam3r
Copy link
Member

No description provided.

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Arr = new[] { 1, 2, 3 },
S = "Some string",
D = new Dictionary<int, string> { { 1, "One" }, { 2, "Two" } },
E = (object?)null,

Check warning

Code scanning / CodeQL

Useless upcast

There is no need to upcast from [null](1) to [Object](2) - the conversion can be done implicitly.
@sungam3r sungam3r merged commit 1a00876 into master Jan 20, 2024
@sungam3r sungam3r deleted the ci branch January 20, 2024 17:12
@sungam3r sungam3r added enhancement New feature or request CI CI configuration issue or pull request labels Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI CI configuration issue or pull request enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant