RefactoringEssentials
RefactoringEssentials copied to clipboard
Refactoring Essentials for Visual Studio
HI! can someone help on this? Severity Code Description Project File Line Suppression State Warning AD0001 Analyzer 'RefactoringEssentials.CSharp.Diagnostics.ConvertClosureToMethodGroupAnalyzer' threw an exception of type 'System.TypeInitializationException' with message 'The type initializer for...
Bumps System.Text.RegularExpressions from 4.3.0 to 4.3.1. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
Bumps System.Text.RegularExpressions from 4.3.0 to 4.3.1. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
Hi, When using the analyzers in unit test project I get an error for the following code. ``` // This file has been auto generated. using System; [Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode] class AutoGeneratedProgram...
``` 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...
fix based on https://madskristensen.net/blog/how-to-upgrade-extensions-to-support-visual-studio-2019/ Note: as there is a v5.6.199 available in the VSIX nightly build feed, you need to update the vsix version number, if you want to roll...
Visual Studio 2017 15.9.11: System.NullReferenceException : Object reference not set to an instance of an object. at RefactoringEssentials.VB.AddCheckForNothingCodeRefactoringProvider.StatementWithConditionContainsNullCheck(SyntaxNode statement,ExpressionSyntax identifierToCheck) at async RefactoringEssentials.VB.AddCheckForNothingCodeRefactoringProvider.ComputeRefactoringsAsync() at async Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.GetRefactoringFromProviderAsync()
The URL in the Nuget package is https://visualstudiogallery.msdn.microsoft.com/site/68c1575b-e0bf-420d-a94b-1b0f4bcdcbcc/eula?licenseType=None. This 301s to https://marketplace.visualstudio.com/.
apply RECS0002 to the following valid code: ```` new[] { 1, 2, 3 }.Select((v, i) => Tuple.Create(v, i)); ```` results in ```` new[] { 1, 2, 3 }.Select(Tuple.Create); ```` which...
Having this code: `query.StartsWith("select", true, CultureInfo.InvariantCulture)` RefactoringEssentials will pop a RECS0063, despite the fact that we are using Invariant Culture. When using the fix provided, the code be will be...