default-writer
default-writer
``` System.NullReferenceException : Object reference not set to an instance of an object. at RefactoringEssentials.CSharp.CodeRefactorings.InitializeFieldFromConstructorParameterCodeRefactoringProvider.c__DisplayClass0_1.b__0(CancellationToken t2) at RefactoringEssentials.DocumentChangeAction.GetChangedDocumentAsync(CancellationToken cancellationToken) at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetChangedSolutionAsync() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputeOperationsAsync() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputePreviewOperationsAsync() at async...
``` System.InvalidCastException : Unable to cast object of type 'Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax' to type 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax'. at async Microsoft.CodeAnalysis.ExtractMethod.MethodExtractor.CodeGenerator`3.AddInvocationAtCallSiteAsync[TStatement,TExpression,TNodeUnderContainer]() at async Microsoft.CodeAnalysis.CSharp.ExtractMethod.CSharpMethodExtractor.CSharpCodeGenerator.CreateStatementsOrInitializerToInsertAtCallSiteAsync() at async Microsoft.CodeAnalysis.CSharp.ExtractMethod.CSharpMethodExtractor.CSharpCodeGenerator.GenerateBodyForCallSiteContainerAsync() at async Microsoft.CodeAnalysis.ExtractMethod.MethodExtractor.CodeGenerator`3.GenerateAsync[TStatement,TExpression,TNodeUnderContainer]() at async Microsoft.CodeAnalysis.ExtractMethod.MethodExtractor.ExtractMethodAsync() at async...
``` System.NullReferenceException : Object reference not set to an instance of an object. at async RefactoringEssentials.CSharp.ConvertInstanceToStaticMethodCodeRefactoringProvider.PerformAction() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputeOperationsAsync() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputePreviewOperationsAsync() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetPreviewOperationsAsync() at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.GetPreviewResultAsync() at async...
``` System.NullReferenceException : Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.AnnotationExtensions.WithAdditionalAnnotations[TNode](TNode node,SyntaxAnnotation[] annotations) at RefactoringEssentials.CSharp.CodeRefactorings.ToAbstractVirtualNonVirtualConversionCodeRefactoringProvider.c__DisplayClass0_0.b__8(CancellationToken t2) at RefactoringEssentials.DocumentChangeAction.GetChangedDocumentAsync(CancellationToken cancellationToken) at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetChangedSolutionAsync() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputeOperationsAsync() at...
``` System.NullReferenceException : Object reference not set to an instance of an object. at Microsoft.CodeAnalysis.AnnotationExtensions.WithAdditionalAnnotations[TNode](TNode node,SyntaxAnnotation[] annotations) at RefactoringEssentials.CSharp.CodeRefactorings.ToAbstractVirtualNonVirtualConversionCodeRefactoringProvider.c__DisplayClass0_0.b__8(CancellationToken t2) at RefactoringEssentials.DocumentChangeAction.GetChangedDocumentAsync(CancellationToken cancellationToken) at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetChangedSolutionAsync() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputeOperationsAsync() at...
``` System.InvalidOperationException : Sequence contains no elements at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at async RefactoringEssentials.CSharp.CodeFixes.ReturnMustNotBeFollowedByAnyExpressionCodeFixProvider.RegisterCodeFixesAsync() at async Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformActionAsync() ``` ![image](https://user-images.githubusercontent.com/383256/41857050-3b0d5998-789f-11e8-8e0d-83172fd8e974.png)
``` System.NullReferenceException : Object reference not set to an instance of an object. at RefactoringEssentials.CSharp.CodeRefactorings.InitializeFieldFromConstructorParameterCodeRefactoringProvider.c__DisplayClass0_1.b__0(CancellationToken t2) at RefactoringEssentials.DocumentChangeAction.GetChangedDocumentAsync(CancellationToken cancellationToken) at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetChangedSolutionAsync() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputeOperationsAsync() at async Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputePreviewOperationsAsync() at async...
``` System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values. Parameter name: index at Microsoft.CodeAnalysis.SeparatedSyntaxList`1.get_Item(Int32 index) at async RefactoringEssentials.CSharp.CodeRefactorings.CheckStringIndexValueCodeRefactoringProvider.ComputeRefactoringsAsync() at async Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.GetRefactoringFromProviderAsync() ``` ![image](https://user-images.githubusercontent.com/383256/41808239-3fc57884-76e3-11e8-8a7b-25817c0b65c8.png)
``` System.IndexOutOfRangeException : Index was outside the bounds of the array. at RefactoringEssentials.CSharp.ConstructorParameterContextFinder.GetPropertyName(String v) at async RefactoringEssentials.CSharp.ConstructorParameterContextFinder.Find() at async RefactoringEssentials.CSharp.CodeRefactorings.InitializeReadOnlyAutoPropertyFromConstructorParameterCodeRefactoringProvider.ComputeRefactoringsAsync() at async Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.GetRefactoringFromProviderAsync() ``` ![image](https://user-images.githubusercontent.com/383256/41713355-91175b74-7555-11e8-8479-510b104ddd59.png)
https://github.com/rogalmic/vscode-bash-debug/issues/110