VisualBasicAddExplicitCastCodeFixProvide #52838
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
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)
The text was updated successfully, but these errors were encountered: