System.ArgumentException : Syntax node is not within syntax tree
at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.CheckSyntaxNode(CSharpSyntaxNode syntax)
at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetDeclaredSymbol(ParameterSyntax declarationSyntax,CancellationToken cancellationToken)
at Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetDeclaredSymbol(SemanticModel semanticModel,ParameterSyntax declarationSyntax,CancellationToken cancellationToken)
at async GCop.Common.FixProvider.Naming.ExtensionMethodFirstParamCodeFixProvider.ChangeParameterName()
at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetChangedSolutionInternalAsync()
at async Microsoft.CodeAnalysis.CodeFixes.BatchFixAllProvider.GetChangedDocumentsAsync()
at async Microsoft.CodeAnalysis.CodeFixes.BatchFixAllProvider.GetDocumentIdToChangedDocuments()
at async Microsoft.CodeAnalysis.CodeFixes.BatchFixAllProvider.TryMergeFixesAsync()
at async Microsoft.CodeAnalysis.CodeFixes.BatchFixAllProvider.TryGetMergedFixAsync()
at async Microsoft.CodeAnalysis.CodeFixes.BatchFixAllProvider.GetFixAsync()
at async Microsoft.CodeAnalysis.CodeFixes.BatchFixAllProvider.GetFixAsync()
at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.FixAllGetFixesService.GetFixAllCodeActionAsync()
at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.FixAllGetFixesService.GetFixAllOperationsAsync()
at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetOperationsCoreAsync()
at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetOperationsAsync()
at Roslyn.Utilities.TaskExtensions.WaitAndGetResult_CanCallOnBackground[T](Task1 task,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InvokeWorker(Func1 getFromDocument,IProgressTracker progressTracker,CancellationToken cancellationToken)
at Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.<>c__DisplayClass18_0.b__0()
at Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformAction(IExtensionManager extensionManager,Object extension,Action action)
System.ArgumentException : Syntax node is not within syntax tree at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.CheckSyntaxNode(CSharpSyntaxNode syntax) at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetDeclaredSymbol(ParameterSyntax declarationSyntax,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetDeclaredSymbol(SemanticModel semanticModel,ParameterSyntax declarationSyntax,CancellationToken cancellationToken) at async GCop.Common.FixProvider.Naming.ExtensionMethodFirstParamCodeFixProvider.ChangeParameterName()
at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetChangedSolutionInternalAsync()
at async Microsoft.CodeAnalysis.CodeFixes.BatchFixAllProvider.GetChangedDocumentsAsync()
at async Microsoft.CodeAnalysis.CodeFixes.BatchFixAllProvider.GetDocumentIdToChangedDocuments()
at async Microsoft.CodeAnalysis.CodeFixes.BatchFixAllProvider.TryMergeFixesAsync()
at async Microsoft.CodeAnalysis.CodeFixes.BatchFixAllProvider.TryGetMergedFixAsync()
at async Microsoft.CodeAnalysis.CodeFixes.BatchFixAllProvider.GetFixAsync()
at async Microsoft.CodeAnalysis.CodeFixes.BatchFixAllProvider.GetFixAsync()
at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.FixAllGetFixesService.GetFixAllCodeActionAsync()
at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.FixAllGetFixesService.GetFixAllOperationsAsync()
at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetOperationsCoreAsync()
at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetOperationsAsync()
at Roslyn.Utilities.TaskExtensions.WaitAndGetResult_CanCallOnBackground[T](Taskb__0()
at Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformAction(IExtensionManager extensionManager,Object extension,Action action)
1 task,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.InvokeWorker(Func
1 getFromDocument,IProgressTracker progressTracker,CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.<>c__DisplayClass18_0.