-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable analyzer release tracking (i.e. `AnalyzerReleases.Shipped.md`). Fixes #72. Wokflow was as follows: 1. Download old release from NuGet 2. Open in ILSpy to view the analyzer metadata 3. Create appropriate release in `AnalyzerReleases.Shipped.md` 4. GOTO 1 5. Add help links pointing to our `//docs/rules` files - I tried to make the base URL a helper function, but the analyzer is unable to add documentation URLs to the Unshipped file if the URL isn't a constant. So instead I used string interpolation so at least the ID isn't repeated. 6. Use release analyzer codefix to add an unshipped section that adds help links
- Loading branch information
1 parent
5057438
commit 548ec1c
Showing
10 changed files
with
87 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
; Shipped analyzer releases | ||
; https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md | ||
|
||
## Release 0.0.1.22865 | ||
|
||
### New Rules | ||
|
||
Rule ID | Category | Severity | Notes | ||
--------|----------|----------|------- | ||
Moq1101 | Moq | Warning | CallbackSignatureAnalyzer | ||
Moq1002 | Moq | Warning | ShouldNotAllowParametersForMockedInterfaceAnalyzer | ||
Moq1001 | Moq | Warning | ShouldNotMockSealedClassesAnalyzer | ||
|
||
## Release 0.0.3.40797 | ||
|
||
### New Rules | ||
|
||
Rule ID | Category | Severity | Notes | ||
--------|----------|----------|------- | ||
Moq1003 | Moq | Warning | MatchingConstructorParametersAnalyzer | ||
|
||
## Release 0.0.4.43043 | ||
|
||
### New Rules | ||
|
||
Rule ID | Category | Severity | Notes | ||
--------|----------|----------|------- | ||
Moq1100 | Moq | Warning | CallbackSignatureShouldMatchMockedMethodAnalyzer | ||
Moq1000 | Moq | Warning | ConstructorArgumentsShouldMatchAnalyzer | ||
|
||
## Release 0.0.6 | ||
|
||
### Removed Rules | ||
|
||
Rule ID | Category | Severity | Notes | ||
--------|----------|----------|------- | ||
Moq1003 | Moq | Warning | ConstructorArgumentsShouldMatchAnalyzer | ||
|
||
## Release 0.0.7 | ||
|
||
### New Rules | ||
|
||
Rule ID | Category | Severity | Notes | ||
--------|----------|----------|------- | ||
Moq1200 | Moq | Error | SetupShouldBeUsedOnlyForOverridableMembersAnalyzer | ||
|
||
## Release 0.0.8 | ||
|
||
### New Rules | ||
|
||
Rule ID | Category | Severity | Notes | ||
--------|----------|----------|------- | ||
Moq1300 | Moq | Error | AsShouldBeUsedOnlyForInterfaceAnalyzer | ||
|
||
## Release 0.0.9 | ||
|
||
### New Rules | ||
|
||
Rule ID | Category | Severity | Notes | ||
--------|----------|----------|------- | ||
Moq1201 | Moq | Error | SetupShouldNotIncludeAsyncResultAnalyzer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
; Unshipped analyzer release | ||
; https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters