-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update IViewFor Generator for Performance (#100)
* Update IViewFor Generator for Performance * Remove test apps
- Loading branch information
1 parent
a76db90
commit 1507810
Showing
7 changed files
with
433 additions
and
604 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
88 changes: 46 additions & 42 deletions
88
src/ReactiveUI.SourceGenerators/AnalyzerReleases.Shipped.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,82 @@ | ||
; Shipped analyzer releases | ||
; https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md | ||
|
||
## Release 1.0 | ||
|
||
### New Rules | ||
|
||
Rule ID | Category | Severity | Notes | ||
--------|----------|----------|------- | ||
RXUISG0001 | ReactiveUI.SourceGenerators.UnsupportedCSharpLanguageVersionAnalyzer | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0002 | ReactiveUI.SourceGenerators.ReactiveCommandGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0003 | ReactiveUI.SourceGenerators.ReactiveCommandGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0004 | ReactiveUI.SourceGenerators.ReactiveCommandGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0005 | ReactiveUI.SourceGenerators.ReactiveCommandGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0006 | ReactiveUI.SourceGenerators.ReactiveCommandGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0007 | ReactiveUI.SourceGenerators.ReactiveCommandGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0008 | ReactiveUI.SourceGenerators.AsyncVoidReturningReactiveCommandMethodAnalyzer | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0009 | ReactiveUI.SourceGenerators.ReactiveGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0010 | ReactiveUI.SourceGenerators.ReactiveGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0011 | ReactiveUI.SourceGenerators.ReactiveGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0012 | ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0013 | ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0014 | ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0015 | ReactiveUI.SourceGenerators.ReactiveGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0016 | ReactiveUI.SourceGenerators.PropertyToReactiveFieldCodeFixProvider | Info | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0017 | ReactiveUI.SourceGenerators.ObservableAsPropertyFromObservableGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
|
||
|
||
## Rules | ||
Check warning on line 29 in src/ReactiveUI.SourceGenerators/AnalyzerReleases.Shipped.md GitHub Actions / build / build
Check warning on line 29 in src/ReactiveUI.SourceGenerators/AnalyzerReleases.Shipped.md GitHub Actions / build / build
|
||
Shipped in ReactiveUI.SourceGenerators | ||
|
||
### RXUISG0001 - Unsupported C# Language Version | ||
This rule checks if the project is using an unsupported C# language version. The supported versions are C# 7.3 and above. If the project is using an unsupported version, the rule will raise an error. | ||
- RXUISG0001 - Unsupported C# Language Version | ||
This rule checks if the project is using an unsupported C# language version. The supported versions are C# 12.0 and above. If the project is using an unsupported version, the rule will raise an error. | ||
|
||
### RXUISG0002 - ReactiveCommandGenerator | ||
- RXUISG0002 - ReactiveCommandGenerator | ||
This rule checks if the `ReactiveCommand` has a Invalid ReactiveCommand method signature. | ||
|
||
### RXUISG0003 - ReactiveCommandGenerator | ||
- RXUISG0003 - ReactiveCommandGenerator | ||
This rule checks if the `ReactiveCommand` has a Invalid ReactiveCommand.CanExecute member name. | ||
|
||
### RXUISG0004 - ReactiveCommandGenerator | ||
- RXUISG0004 - ReactiveCommandGenerator | ||
This rule checks if the `ReactiveCommand` has Multiple ReactiveCommand.CanExecute member name matches. | ||
|
||
### RXUISG0005 - ReactiveCommandGenerator | ||
- RXUISG0005 - ReactiveCommandGenerator | ||
This rule checks if the `ReactiveCommand` has No valid ReactiveCommand.CanExecute member match. | ||
|
||
### RXUISG0006 - ReactiveCommandGenerator | ||
- RXUISG0006 - ReactiveCommandGenerator | ||
This rule checks if the `ReactiveCommand` has Invalid field or property targeted attribute type. | ||
|
||
### RXUISG0007 - ReactiveCommandGenerator | ||
- RXUISG0007 - ReactiveCommandGenerator | ||
This rule checks if the `ReactiveCommand` has Invalid field or property targeted attribute expression. | ||
|
||
### RXUISG0008 - AsyncVoidReturningReactiveCommandMethodAnalyzer | ||
- RXUISG0008 - AsyncVoidReturningReactiveCommandMethodAnalyzer | ||
This rule checks if the `ReactiveCommand` has Async void returning method annotated with ReactiveCommand. | ||
|
||
### RXUISG0009 - ReactiveGenerator | ||
- RXUISG0009 - ReactiveGenerator | ||
This rule checks if the `Reactive` has Name collision for generated property. | ||
|
||
### RXUISG0010 - ReactiveGenerator | ||
- RXUISG0010 - ReactiveGenerator | ||
This rule checks if the `Reactive` has Invalid property targeted attribute type. | ||
|
||
### RXUISG0011 - ReactiveGenerator | ||
- RXUISG0011 - ReactiveGenerator | ||
This rule checks if the `Reactive` has Invalid property targeted attribute expression. | ||
|
||
### RXUISG0012 - ObservableAsPropertyGenerator | ||
- RXUISG0012 - ObservableAsPropertyGenerator | ||
This rule checks if the `ObservableAsProperty` has Invalid property targeted attribute type. | ||
|
||
### RXUISG0013 - ObservableAsPropertyGenerator | ||
- RXUISG0013 - ObservableAsPropertyGenerator | ||
This rule checks if the `ObservableAsProperty` has Invalid property targeted attribute expression. | ||
|
||
### RXUISG0014 - ObservableAsPropertyGenerator | ||
- RXUISG0014 - ObservableAsPropertyGenerator | ||
This rule checks if the `ObservableAsProperty` has Invalid generated property declaration. | ||
|
||
### RXUISG0015 - ReactiveGenerator | ||
- RXUISG0015 - ReactiveGenerator | ||
This rule checks if the `Reactive` attribute is being used correctly. If the `Reactive` has Invalid generated property declaration. | ||
|
||
### RXUISG0016 - PropertyToReactiveFieldCodeFixProvider | ||
- RXUISG0016 - PropertyToReactiveFieldCodeFixProvider | ||
This rule checks if there are any Properties to change to Reactive Field, change to [Reactive] private type _fieldName;. | ||
|
||
### RXUISG0017 - ObservableAsPropertyFromObservableGenerator | ||
- RXUISG0017 - ObservableAsPropertyFromObservableGenerator | ||
This rule checks if the `ObservableAsProperty` has Invalid generated property declaration. | ||
|
||
|
||
## Release 1.0 | ||
|
||
### New Rules | ||
|
||
Rule ID | Category | Severity | Notes | ||
--------|----------|----------|------- | ||
RXUISG0001 | ReactiveUI.SourceGenerators.UnsupportedCSharpLanguageVersionAnalyzer | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0002 | ReactiveUI.SourceGenerators.ReactiveCommandGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0003 | ReactiveUI.SourceGenerators.ReactiveCommandGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0004 | ReactiveUI.SourceGenerators.ReactiveCommandGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0005 | ReactiveUI.SourceGenerators.ReactiveCommandGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0006 | ReactiveUI.SourceGenerators.ReactiveCommandGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0007 | ReactiveUI.SourceGenerators.ReactiveCommandGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0008 | ReactiveUI.SourceGenerators.AsyncVoidReturningReactiveCommandMethodAnalyzer | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0009 | ReactiveUI.SourceGenerators.ReactiveGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0010 | ReactiveUI.SourceGenerators.ReactiveGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0011 | ReactiveUI.SourceGenerators.ReactiveGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0012 | ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0013 | ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0014 | ReactiveUI.SourceGenerators.ObservableAsPropertyGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0015 | ReactiveUI.SourceGenerators.ReactiveGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0016 | ReactiveUI.SourceGenerators.PropertyToReactiveFieldCodeFixProvider | Info | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html | ||
RXUISG0017 | ReactiveUI.SourceGenerators.ObservableAsPropertyFromObservableGenerator | Error | See https://www.reactiveui.net/docs/handbook/view-models/boilerplate-code.html |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
[Unshipped analyzer release](https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md) | ||
; Unshipped analyzer releases | ||
; 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
Oops, something went wrong.