v4.3.0
Changed
- [CLI] Bump Roslyn to 4.5.0 (#1043)
- [CLI] Downgrade version of Microsoft.Build.Locator from 1.5.5 to 1.4.1 (#1079)
- [CLI] Add more information about the found diagnostics to the XML output file (#1078 by @PeterKaszab)
Fixed
- Fix RCS1084 (#1006)
- Fix RCS1244 (#1007)
- [CLI] Add nullable reference type modifier when creating a list of symbols (
list-symbols
command) (#1013) - Add/remove blank line after file scoped namespace declaration (RCS0060) (#1014)
- Do not remove overriding member in record (RCS1132) (#1015)
- Do not remove parameterless empty constructor in a struct with field initializers (RCS1074) (#1021)
- Do not suggest to use generic event handler (RCS1159) (#1022)
- Fix (RCS1077) (#1023)
- Fix (RCS1097) (#1037 by @jamesHargreaves12)
- Do not report (RCS1170) when
Microsoft.AspNetCore.Components.InjectAttribute
is used (#1046) - Fix (RCS1235) (#1047)
- Fix (RCS1206) (#1049)
- Prevent possible recursion in (RCS1235) (#1054)
- Fix (RCS1223) (#1051 by @jamesHargreaves12)
- Do not remove braces in the cases where there are overlapping local variables. (RCS1031, RCS1211, RCS1208, RCS1061) (#1039, #1062 by @jamesHargreaves12)
- [CLI] Analyze command does not create the XML output file and returns incorrect exit code when only compiler diagnostics are reported (#1056 by @PeterKaszab)
- [CLI] Fix exit code when multiple projects are processed (#1061 by @PeterKaszab)
- Fix code fix for CS0164 (#1031 by @jamesHargreaves12)
- Do not report
System.Windows.DependencyPropertyChangedEventArgs
as unused parameter (RCS1163) (#1068) - Fix (RCS1032) (#1064 by @jamesHargreaves12)
- Update processing of .globalconfig file to prioritize file-specific diagnostic severities over global diagnostic severities (#1066 by @jamesHargreaves12)
- Fix RCS1009 to handles discard designations (#1063 by @jamesHargreaves12)
- [CLI] Fix number of formatted documents, file banners added (#1072)
- Improve support for coalesce expressions in code fixes that require computing the logical inversion of an expression, such as RCS1208 (#1069 by @jamesHargreaves12)