You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a class not within a namespace, in a project with a dash ('-') in its name, invoking Alt+Returns and by keyboard scrolling past the "Move to namespace" suggestion
displaying the (indeed C#-illegal) project name (or if it's directory name - both were the same) resulted in the following.
System.ArgumentException : targetNamespace
at async Microsoft.CodeAnalysis.ChangeNamespace.AbstractChangeNamespaceService`3.ChangeNamespaceAsync[TNamespaceDeclarationSyntax,TCompilationUnitSyntax,TMemberDeclarationSyntax](<Unknown Parameters>)
at async Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputeOperationsAsync(<Unknown Parameters>)
at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetPreviewOperationsAsync(<Unknown Parameters>)
at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.GetPreviewResultAsync(<Unknown Parameters>)
at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedActionWithNestedFlavors.<>c__DisplayClass11_0.<GetPreviewAsync>b__0(<Unknown Parameters>)
at async Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T](<Unknown Parameters>)
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
The text was updated successfully, but these errors were encountered:
jinujoseph
added
Bug
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
and removed
untriaged
Issues and PRs which have not yet been triaged by a lead
labels
Jan 5, 2022
jinujoseph
added
4 - In Review
A fix for the issue is submitted for review.
and removed
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
labels
Jan 7, 2022
Version Used: VS 16.11.5
On a class not within a namespace, in a project with a dash ('-') in its name, invoking Alt+Returns and by keyboard scrolling past the "Move to namespace" suggestion
displaying the (indeed C#-illegal) project name (or if it's directory name - both were the same) resulted in the following.
The text was updated successfully, but these errors were encountered: