dotnet / dotnet/format

dotnet-format making unnecessary casting changes

Open
#1,670 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
1.9k
Forks
173
Avg merge
10d 13h
Merged PRs (30d)
1

Description

While working with dotnet format, I noticed that there was some unnecessary casting changes shown below:
![MicrosoftTeams-image](https://user-images.githubusercontent.com/55749308/180307447-2e01279d-a765-46b6-a352-d24c6a22a4b2.png)

This was when I tried to fix .NET code analyzer errors (CA2249 to be specific).

Some of these casting changes result in a build error...
![MicrosoftTeams-image (1)](https://user-images.githubusercontent.com/55749308/180307487-d00df5cf-2ce7-4498-849b-7530e5111eaa.png)

SDK version I'm currently using: 7.0.332901+821c4f6563db19183797f3acfce15c1f7b0ad00c

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.