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

VisualBasicAddExplicitCastCodeFixProvide #52838

Open
vsfeedback opened this issue Apr 21, 2021 · 2 comments
Open

VisualBasicAddExplicitCastCodeFixProvide #52838

vsfeedback opened this issue Apr 21, 2021 · 2 comments
Labels
Area-IDE Bug Developer Community The issue was originally reported on https://developercommunity.visualstudio.com help wanted The issue is "up for grabs" - add a comment if you are interested in working on it IDE-CodeStyle Built-in analyzers, fixes, and refactorings
Milestone

Comments

@vsfeedback
Copy link

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


VisualBasicAddExplicitCastCodeFixProvider detected an error and was disabled. View Batch Monitor Enable Enable and Ignore More Errors .
System.NullReferenceException : The object reference was not set to an object instance.
at Microsoft.CodeAnalysis.VisualBasic.CodeFixes.AddExplicitCast.VisualBasicExplicitCastCodeFixProvider.GetPotentialConversionTypesWithInvocationNode(SemanticModel semanticModel,SyntaxNode root,SyntaxNodevocation inNode,CancellationToken cancellationToken)
at Microsoft.codeAnalysis.VisualBasic.CodeFixes.AddExplicitCast.VisualBasicComponentCastCodeFixProvider.TryGetTargetTypeInfo(Document document,SemanticModel semanticModel,SyntaxNode root,String diagnosticId,ExpressionSyntax spanNode,CancellationToken cancellationToken,ImmutableArray'1& potentialConversionTypes)
at async Microsoft.CodeAnalysis.CodeFixes.AddExplicitCast.AbstractAddExplicitCastCodeFixProvider'1.RegisterCodeFixesAsyncTExpressionSyntax
at async Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformActionAsync()
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)


Original Comments

Feedback Bot on 4/19/2021, 07:48 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.


Original Solutions

(no solutions)

@Youssef1313
Copy link
Member

@mavasani This code fix provider belongs to dotnet/roslyn. Can you move?

@mavasani mavasani transferred this issue from dotnet/roslyn-analyzers Apr 22, 2021
@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 22, 2021
@Youssef1313
Copy link
Member

Youssef1313 commented Apr 23, 2021

Duplicate of #48702. (StackTrace looks different 😕 )

@jinujoseph jinujoseph added Bug Developer Community The issue was originally reported on https://developercommunity.visualstudio.com IDE-CodeStyle Built-in analyzers, fixes, and refactorings and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 28, 2021
@jinujoseph jinujoseph added this to the Backlog milestone Apr 28, 2021
@jinujoseph jinujoseph added the help wanted The issue is "up for grabs" - add a comment if you are interested in working on it label Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Bug Developer Community The issue was originally reported on https://developercommunity.visualstudio.com help wanted The issue is "up for grabs" - add a comment if you are interested in working on it IDE-CodeStyle Built-in analyzers, fixes, and refactorings
Projects
None yet
Development

No branches or pull requests

3 participants