chore(deps): update dependency roslynator.analyzers to v4.4.0 #131
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.1.1
->4.4.0
Release Notes
josefpihrt/roslynator (Roslynator.Analyzers)
v4.4.0
Added
Changed
Fixed
generate-doc
) (#1130).?
to nullable reference types.v4.3.0
Changed
Fixed
list-symbols
command) (#1013).Microsoft.AspNetCore.Components.InjectAttribute
is used (#1046).System.Windows.DependencyPropertyChangedEventArgs
as unused parameter (RCS1163) (#1068).v4.2.0
Added
roslynator_blank_line_after_file_scoped_namespace_declaration = true|false
ArgumentNullException.ThrowIfNull
instead ofif
null check.null
.Roslynator.Testing.CSharp.MSTest
(#997).Changed
Fixed
List<T>
(#986).ArgumentNullException.ThrowIfNull
(RCS1227) (#992).using
directive that starts withglobal::
RCS0015 (#1000).AD0001
withSystem.IO.FileNotFoundException
on Visual Studio 17.4 and later.v4.1.2
Added
roslynator generate-doc --host docusaurus
roslynator generate-doc --host sphinx
<inheritdoc />
when generating documentation (generate-doc
command) (#972).ignored-title-parts
(generate-doc
command) (#975).Changed
main
.Fixed
--projects
or--ignored-projects
parameter) (#914).@
if necessary (RCS1220) (#943.roslynator analyze
command (#964 by @PeterKaszab).ArgumentNullException.ThrowIfNull
(RR0025, RCS1227) (#974.4.1.1 (2022-05-29)
4.1.0 (2022-03-29)
4.0.3 (2022-01-29)
4.0.2 (2022-01-29)
Bug fixes
4.0.1 (2022-01-21)
4.0.0 (2022-01-16)
Bump Roslyn version to 4.0.1
Change category of all analyzers to 'Roslynator'
Migrate all options to EditorConfig
Add analyzer RCS0057 (Normalize whitespace at the beginning of a file)
Add analyzer RCS0058 (Normalize whitespace at the end of a file)
Add analyzer RCS0059 (Place new line after/before null-conditional operator)
Add analyzer RCS1249 (Unnecessary null-forgiving operator)
Add analyzer RCS1250 (Use implicit/explicit object creation)
Add refactoring ExpandPositionalRecord (RR0215)
Add refactoring AddAllPropertiesToInitializer (RR0216)
Add code fix for CS8403, CS8618 and CS8625
3.3.0 (2021-11-14)
3.2.2 (2021-08-15)
3.2.1 (2021-06-30)
3.2.0 (2021-04-26)
Analyzers
!= null
tois not null
(RCS1248) (commit)Code Fixes
3.1.0 (2021-01-04)
var foo = Foo.Parse(value)
as having obvious typeFoo
3.0.1 (2020-10-19)
Add analyzer RCS0055 (Fix formatting of a binary expression chain)
Add analyzer RCS0054 (Fix formatting of a call chain)
Add analyzer RCS0053 (Fix formatting of a list)
Add analyzer RCS0052 (Add newline before equals sign instead of after it (or vice versa))
Add analyzer RCS1248 (Use 'is null' pattern instead of comparison (or vice versa)) (issue)
Add analyzer RCS1247 (Fix documentation comment tag)
Add analyzer option RCS1207i (Convert method group to anonymous function)
Add analyzer option RCS1090i (Remove call to 'ConfigureAwait')
Add analyzer option RCS1018i (Remove accessibility modifiers) (issue)
Add analyzer option RCS1014i (Use implicitly typed array)
Add analyzer option RCS1014a (Use implicitly typed array (when type is obvious))
Add analyzer option RCS1078i (Use string.Empty instead of "")
Add analyzer option RCS1016a (Convert expression-body to block body when expression is multi-line)
Add analyzer option RCS1016b (Convert expression-body to block body when declaration is multi-line)
Disable by default analyzer RCS1207i (Convert method group to anonymous function)
Remove analyzer RCS1219 (Call 'Enumerable.Skip' and 'Enumerable.Any' instead of 'Enumerable.Count')
Rename analyzer "Avoid 'null' on left side of binary expression" to "Constant values should be placed on right side of comparisons" RCS1098
Rename analyzer "Simplify boolean expression" to "Unnecessary null check" RCS1199 (issue)
More syntax is considered as having obvious type:
3.0.0 (2020-06-16)
New Analyzers
New Refactorings
2.9.0 (2020-03-13)
Directory.Build.props
fileBug Fixes
omnisharp.json
(PR)this
to its interface cannot be null (RCS1202) (issue)New Analyzers
Analyzers
x == ""
should be replaced withstring.IsNullOrEmpty(x)
x == double.NaN
should be replaced withdouble.IsNaN(x)
x.OrderBy(y => y).Reverse()
can be simplified tox.OrderByDescending(y => y)
x.SelectMany(y => y).Count()
can be simplified tox.Sum(y => y.Count)
ifx
hasCount
orLength
property<<
operator (commit).x?.M() ?? default(int?)
can be simplified tox?.M()
ifx
is a nullable struct.(x != null) ? x.M() : default(int?)
can be simplified tox?.M()
ifx
is a nullable struct.2.3.1 (2020-01-20)
2.3.0 (2019-12-28)
2.2.1 (2019-10-26)
2.2.0 (2019-09-28)
Analyzers
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.