Roslynator v4.1.2 Release Notes
Release Date: 2022-10-31 // over 1 year ago-
โ Added
- Convert more syntax to implicit object creation (RCS1250) (#910).
- โ Add code fix for CS0037 (#929).
- ๐ [CLI] Generate reference documentation that can be published with Docusaurus (#918).
roslynator generate-doc --host docusaurus
- ๐ [CLI] Generate reference documentation that can be published with Sphinx (#961).
roslynator generate-doc --host sphinx
- ๐ [CLI] Basic support for
<inheritdoc />
when generating documentation (generate-doc
command) (#972). - [CLI] Add option
ignored-title-parts
(generate-doc
command) (#975). - Publish Roslynator to Open VSX Registry (#820).
๐ Changed
- 0๏ธโฃ Rename default branch to
main
. - Format changelog according to 'Keep a Changelog' (#915).
- ๐ [CLI] Improve release build of command-line tool (#912).
- ๐จ Do not sort properties in an initializer (RR0216).
- [CLI] Bump Roslyn to 4.3.1 (#969).
- ๐ [CLI] Bump Microsoft.Build.Locator to 1.5.5 (#969).
๐ Fixed
- [CLI] Fix filtering of projects (relates to
--projects
or--ignored-projects
parameter) (#914). - ๐จ Refactoring "Add using directive" (RR0014) now works when file-scoped namespace is used (#932).
- โ Add parentheses if necessary in a code fix for RCS1197 (#928 by @karl-sjogren).
- 0๏ธโฃ Do not simplify default expression if it would change semantics (RCS1244) (#939.
- ๐ Fix NullReferenceException in RCS1198 (#940.
- ๐ Order named arguments even if optional arguments are not specified RCS1205 (#941, (#965.
- ๐ Prefix identifier with
@
if necessary (RCS1220) (#943. - ๐ Do not suggest to make local variable a const when it is used in ref extension method (RCS1118) (#948.
- ๐ Fix formatting of argument list (#952.
- ๐ Do not remove async/await when 'using declaration' is used (#953.
- ๐ Convert if-else to return statement when pattern matching is used (RCS1073) (#956.
- [CLI] Include compiler diagnostics in the xml output file of the
roslynator analyze
command (#964 by @PeterKaszab). - 0๏ธโฃ Do not simplify 'default' expression if the type is inferred (RCS1244) (#966.
- ๐ Use explicit type from lambda expression (RCS1008) (#967.
- ๐ Do not remove constructor if it is decorated with 'UsedImplicitlyAttribute' (RCS1074) (#968.
- ๐จ Detect argument null check in the form of
ArgumentNullException.ThrowIfNull
(RR0025, RCS1227) (#974. - ๐ Do not make generic class static if it's inherited (RCS1102) (#978.
<!-- Content below does not adhere to 'Keep a Changelog' format -->