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
using System;publicclass Class1
{staticvoid foo(result:[Test]$$
{}}
Moving caret to $$ position crashes bunch of refactorings.
System.ArgumentOutOfRangeException : 'end' must not be less than 'start'
Parameter name: end
at Microsoft.CodeAnalysis.Text.TextSpan.FromBounds(Int32 start,Int32 end)
at Microsoft.CodeAnalysis.LanguageServices.AbstractSyntaxFactsService.IsOnHeader[THoleSyntax](Int32 position,SyntaxNode ownerOfHeader,SyntaxNodeOrToken lastTokenOrNodeOfHeader,ImmutableArray`1 holes)
at Microsoft.CodeAnalysis.LanguageServices.AbstractSyntaxFactsService.IsOnHeader(Int32 position,SyntaxNode ownerOfHeader,SyntaxNodeOrToken lastTokenOrNodeOfHeader)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxFactsService.IsOnParameterHeader(SyntaxNode root,Int32 position,SyntaxNode& parameter)
at Microsoft.CodeAnalysis.CodeRefactorings.AbstractRefactoringHelpersService`2.<ExtractNodesInHeader>d__7.MoveNext()
at System.Linq.Enumerable.<OfTypeIterator>d__95`1.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
The text was updated successfully, but these errors were encountered:
Moving caret to
$$
position crashes bunch of refactorings.The text was updated successfully, but these errors were encountered: