Skip to content

Create new projects for System.Runtime.Analyzers#338

Merged
srivatsn merged 4 commits intodotnet:masterfrom
srivatsn:splitfxcop
Feb 11, 2015
Merged

Create new projects for System.Runtime.Analyzers#338
srivatsn merged 4 commits intodotnet:masterfrom
srivatsn:splitfxcop

Conversation

@srivatsn
Copy link
Contributor

@srivatsn srivatsn commented Feb 9, 2015

This is the start of work to split up the FxCop analyzers into multiple packages that can ship with the APIs that they address.

Move rule CA1001 to this project. Rewrite the codefixer for it to be based on DocumentEditor and hence language agnostic.

Fix for CA1001 shouldn't generate a dispose method if there is already one in the type. Instead modify that method to make it the interface implementation. Adding some tests.

Move rule CA1001 to this project. Rewrite the codefixer for it to be based on DocumentEditor and hence language agnostic.

Fix for CA1001 shouldn't generate a dispose method if there is already one in the type. Instead modify that method to make it the interface implementation.
Adding some tests.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think @Pilchie might have said something in another review about newlines at the end of proj files, but I can't remember why they mattered.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah yes. Fixed them.

Copy link
Member

Choose a reason for hiding this comment

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

It's not the end of the world, but many Unix utils don't like files that don't end in a line ending.

Kevin Pilch-Bisson
http://twitter.com/Pilchie


From: Srivatsn Narayanan [email protected]
Sent: Monday, February 9, 2015 6:08:46 PM
To: dotnet/roslyn
Cc: Kevin Pilch-Bisson
Subject: Re: [roslyn] Create new projects for System.Runtime.Analyzers (#338)

In src/Diagnostics/FxCop/CSharp/CSharpFxCopRulesDiagnosticAnalyzers.csprojhttps://github.com//pull/338#discussion_r24384180:

@@ -107,4 +106,4 @@



-
+

Ah yes. Fixed them.

Reply to this email directly or view it on GitHubhttps://github.com//pull/338/files#r24384180.

…ysisanalyzers but since the codeanalysisanalyzers werent part of the solution VS didnt know. Once I merged the change that added them to the solution, VS got confused. Fixing the guids.

Also adding newlines to the end.
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to check with anyone before we start adding namespaces under System?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not that I know of.

@tmeschter
Copy link
Contributor

👍

Copy link
Contributor

Choose a reason for hiding this comment

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

Is CodeFixProviderBase used anywhere in this project?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No I've deleted this on my machine. That'll be part of the next change.

@mavasani
Copy link
Contributor

👍

srivatsn added a commit that referenced this pull request Feb 11, 2015
Create new projects for System.Runtime.Analyzers
@srivatsn srivatsn merged commit 31e3e2e into dotnet:master Feb 11, 2015
@srivatsn srivatsn deleted the splitfxcop branch February 12, 2015 20:00
keith-anders added a commit to keith-anders/roslyn that referenced this pull request Apr 7, 2021
dibarbet pushed a commit to dibarbet/roslyn that referenced this pull request Nov 21, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants