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
"Dispose before re-assigning." System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'Dispose before code gen failed for ExpressionStatement, write an issue so we can add support.')
at IDisposableAnalyzers.DisposeBeforeAssignFix.DisposeBefore(DocumentEditor editor, ExpressionSyntax disposable, SyntaxNode location, CancellationToken cancellationToken)
at IDisposableAnalyzers.DisposeBeforeAssignFix.DisposeBefore(DocumentEditor editor, ExpressionSyntax disposable, SyntaxNode location, CancellationToken cancellationToken)
at Gu.Roslyn.CodeFixExtensions.DocumentEditorAction.GetChangedDocumentAsync(CancellationToken cancellationToken)
at Microsoft.CodeAnalysis.CodeActions.CodeAction.GetChangedSolutionAsync(CancellationToken cancellationToken) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Workspaces\Core\Portable\CodeActions\CodeAction.cs:line 212
at Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputeOperationsAsync(CancellationToken cancellationToken) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Workspaces\Core\Portable\CodeActions\CodeAction.cs:line 183
at Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputeOperationsAsync(IProgressTracker progressTracker, CancellationToken cancellationToken) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Workspaces\Core\Portable\CodeActions\CodeAction.cs:line 195
at Microsoft.CodeAnalysis.CodeActions.CodeAction.GetOperationsCoreAsync(IProgressTracker progressTracker, CancellationToken cancellationToken) in Z:\BuildAgent\work\3b7ce003563d6f8f\src\Workspaces\Core\Portable\CodeActions\CodeAction.cs:line 153
at JetBrains.Roslyn.Worker.Workspaces.Analyzers.CodeActionHelper.GetOperationsSafeAsync(CodeAction codeAction, CancellationToken cancellationToken)
The text was updated successfully, but these errors were encountered:
The code line with the issue:
The text was updated successfully, but these errors were encountered: