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

Force Type Convert QuickAction Bug #73211

Open
vsfeedback opened this issue Apr 24, 2024 · 2 comments
Open

Force Type Convert QuickAction Bug #73211

vsfeedback opened this issue Apr 24, 2024 · 2 comments
Assignees

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


[severity:It’s more difficult to complete my work]
Using VisualStudio 17.9.6
When I use char variables for compound assignment operators, I get some Error with QuickAction

char character='A';

// Base Code.throw Error CS0266. Thats Normal.
character+=1;

//use QuickAction Accept Force Type Convert. I got 2 Error CS0266 CS1547
(void)(character+=1); 

//This is Potential result
character+=(char)1; 
  

Original Comments

Feedback Bot on 4/24/2024, 05:36 AM:

(private comment, text removed)


Original Solutions

(no solutions)

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 24, 2024
@CyrusNajmabadi
Copy link
Member

I'm almost 100% positive this is a dupe

@genlu
Copy link
Member

genlu commented Apr 24, 2024

@CyrusNajmabadi do you have a link to the dupe?

@genlu genlu added Bug and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants