Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update version of roslyn-analyzers that Roslyn itself uses #68497

Merged
merged 16 commits into from
Jun 8, 2023

Conversation

CyrusNajmabadi
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner June 8, 2023 17:41
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Jun 8, 2023
@CyrusNajmabadi
Copy link
Member Author

CyrusNajmabadi commented Jun 8, 2023

Ugh. Looks like problems exist with this version of the analyzer. Or, rather, it has found more things that can be made static. I'll update accordingly.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner June 8, 2023 18:44
@@ -318,7 +318,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.AddImport
Return AddImportAsync(contextNode, document, importsStatement, options, cancellationToken)
End Function

Private Function CreateNameSyntax(nameSpaceParts As IReadOnlyList(Of String), index As Integer) As NameSyntax
Private Shared Function CreateNameSyntax(nameSpaceParts As IReadOnlyList(Of String), index As Integer) As NameSyntax
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated anlayzer detects recursive methods that can be made static now. so had to fix up a bunch of new places.

@CyrusNajmabadi CyrusNajmabadi merged commit 795bb26 into dotnet:main Jun 8, 2023
27 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the analyzersVersion branch June 8, 2023 21:03
@ghost ghost added this to the Next milestone Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants