Skip to content

v0.0.47

Pre-release
Pre-release
Compare
Choose a tag to compare
@RalfKoban RalfKoban released this 23 Sep 14:39
· 365 commits to master since this release
17ed09a

What's Changed

  • switched to Microsoft.CodeAnalysis.CSharp 4.7 by @RalfKoban in #892
  • MiKo_6041 is now aware of collection expressions by @RalfKoban in #893
  • Added new rule MiKo_6056 for collection expression bracket alignments by @RalfKoban in #894
  • Code cleaned up based on new C# 8 features by @RalfKoban in #895
  • MiKo_1300 now accepts 'failed' as identifier on lambda expressions by @RalfKoban in #896
  • MiKo_6056 now also reports misplaced close bracket token by @RalfKoban in #897
  • MiKo_2051 is now able to fix some more phrases by @RalfKoban in #898
  • MiKo_1063 now detects 'dst', 'dto', 'ef' and 'spec' as abbreviations by @RalfKoban in #899
  • Code refactored to slightly increase performance by @RalfKoban in #900
  • MiKo_1003 and MiKo_1010 are now aware of 'OnCanExecute' and 'OnExecuted' by @RalfKoban in #901
  • Added new methods without 'params' to slightly increase performance by @RalfKoban in #902
  • MiKo_1046 now ignores the 'Main' method by @RalfKoban in #903
  • Naming analyzer are now aware of Json constructor arguments by @RalfKoban in #904
  • Code refactored to slightly increase performance by @RalfKoban in #905
  • MiKo_2050 code fix is now aware of some specific exception type summaries by @RalfKoban in #906
  • MiKo_2021 now has a rudimentary codefix provider by @RalfKoban in #907
  • MiKo_2050 code fix is now aware of some more exception type summaries by @RalfKoban in #908
  • MiKo_2001 codefix is now aware of some more phrases by @RalfKoban in #909
  • Code refactored to slightly increase performance by @RalfKoban in #910
  • MiKo_2050 is now aware of more exception phrases by @RalfKoban in #911
  • Slight performance increase by new 'Except' methods, typo in name 'Asynchrounously' corrected by @RalfKoban in #912
  • MiKo_1080 no longer reports "firstName" by @RalfKoban in #913
  • MiKo_6056 is now aware of separators on the very last element by @RalfKoban in #914
  • MiKo_1063 is now aware of abbreviations 'perc' and 'perf' by @RalfKoban in #915
  • MiKo_2308 is now aware of collection expressions by @RalfKoban in #916
  • arrays converted into collection expressions by @RalfKoban in #917
  • MiKo_1401 & MiKo_1402 are now aware of more terms by @RalfKoban in #918
  • MiKo_3073 is now aware of location functions by @RalfKoban in #919
  • Enhanced MiKo_3203 to apply fixes using the C# 9 patterns like 'is not null' by @RalfKoban in #920
  • MiKo_2050 now squiggles comment instead of symbol, if applicable by @RalfKoban in #922
  • Added new rule MiKo_3088 for 'is not null' by @RalfKoban in #923
  • MiKo_3082, MiKo_3083 and MiKo_3088 resource texts fixed by @RalfKoban in #924
  • MiKo_1090, MiKo_1091 & MiKo_1092 enhanced to accept names like 'xmlElement' by @RalfKoban in #925
  • MiKo_1401 enhanced to be aware of more texts by @RalfKoban in #926
  • Microsoft.VisualStudio nuget packages updated by @RalfKoban in #927
  • Added new rule MiKo_3119 for tests that return 'Task.CompletedTask' by @RalfKoban in #929
  • Added new rule MiKo_1077 for enum members suffixed with 'Enum' by @RalfKoban in #930
  • typo 'eg.' fixed to 'e.g.' by @RalfKoban in #932
  • MiKo_2224 is now also aware of '' XML tags by @RalfKoban in #933
  • MiKo_2082 now also reports 'Enum for ' as invalid enum member summary by @RalfKoban in #934
  • MiKo_2013 is now able to fix phrases 'Gets or sets', 'Gets ' and 'Sets ' by @RalfKoban in #935
  • MiKo_1063 is now aware of MEF as well-known abbreviation by @RalfKoban in #936
  • Dogfooding rule MiKo_1110 by @RalfKoban in #937
  • MiKo_2310 tests enhanced to also test for 'empty on purpose' comments in catch blocks by @RalfKoban in #938
  • Added new rule MiKo_3089 that reports simple property patterns as conditions for if statements by @RalfKoban in #940
  • MiKo_1063 is now aware of abbreviation 'svc' and 'hdls' by @RalfKoban in #941
  • Update README.md by @RalfKoban in #943
  • MiKo_3119_CodeFixProvider now uses correct name by @RalfKoban in #944
  • Update MiKo_6053_CodeFixProvider.cs by @RalfKoban in #946
  • Update MiKo_6056_CodeFixProvider.cs by @RalfKoban in #945
  • added new MiKo_3120 rule that reports usage of 'It.Is<>(...)' matcher where a simple value would be sufficient by @RalfKoban in #948
  • MiKo_1063 is now aware of 'obj' as abbreviation by @RalfKoban in #950
  • MiKo_1037 enhanced to also report on 'Type', 'Interface', 'Class', 'Struct' and 'Record' by @RalfKoban in #951
  • MiKo_1063 is now aware of abbreviations 'encr' and 'decr' by @RalfKoban in #952
  • Accessing to/Converting data in immutable array is now done with check for length by @RalfKoban in #953
  • XUnit is now detected by @RalfKoban in #954
  • MiKo_1115 is now aware of some more phrases and adds an "if_it" when needed by @RalfKoban in #955
  • MiKo_3109 no longer supports Xunit by @RalfKoban in #957
  • MiKo_1115 is now aware of some more phrases by @RalfKoban in #958
  • MiKo_3120 codefix is now aware of indents by @RalfKoban in #959
  • MiKo_3073 is now aware of primary ctors by @RalfKoban in #960
  • MiKo_2226 and MiKo_2310 no longer report in case they find some reasoning by @RalfKoban in #961
  • MiKo_3118 now ignores Moq condition matchers by @RalfKoban in #962
  • MiKo_3120 is now aware of constants by @RalfKoban in #963
  • MiKo_1070 now ignores name ending with 'Map' by @RalfKoban in #964
  • MiKo_6006 no longer reports for 'await …' preceded by 'await using …' by @RalfKoban in #965
  • Added rule MiKo_2311 that reports and deletes separator comments by @RalfKoban in #968
  • Codefixes now get title implicitly by base class by @RalfKoban in #969
  • MiKo_3118 no longer reports for "Linq-like" calls on 'Assert' type by @RalfKoban in #972
  • MiKo_1041 is now aware of fields with prefixes by @RalfKoban in #971
  • MiKo_3106 no longer reports an AD0001 by @RalfKoban in #970
  • MiKo_1063 now no longer reports 'obj' to change into C# keyword 'object' by @RalfKoban in #973
  • MiKo_3106 is now aware of Xunit.Assert.True() by @RalfKoban in #975
  • justifications consolidated in class 'Justifications', test classes sealed by @RalfKoban in #977
  • Added rule MiKo_6057 that reports and fixes misaligned type parameter constraint clauses by @RalfKoban in #978
  • Added rule MiKo_6058 that reports and fixes indentation of first type parameter constraint clause by @RalfKoban in #979
  • MiKo_1063 is now aware of 'phys', 'ref', 'sem' and 'ver' by @RalfKoban in #981
  • Added new rule MiKo_1078 that reports if builder methods do start with 'Create' instead of 'Build' by @RalfKoban in #982
  • MiKo_6057 and MiKo_6058 are now aware of local functions by @RalfKoban in #984
  • MiKo_2018 and MiKo_2073 codefixes are now aware of empty comments by @RalfKoban in #985
  • MiKo_1063 is now aware of 'lang' by @RalfKoban in #986
  • Added new rule MiKo_2079 that reports obvious property comments by @RalfKoban in #987
  • MiKo_2032 is now aware of comment "Boolean" and fixes that to a "TODO" by @RalfKoban in #988
  • MiKo_2018 no longer reports for empty type documentations by @RalfKoban in #989
  • Added new rule MiKo_2231 for 'GetHashCode' comment by @RalfKoban in #993
  • Added new rule MiKo_4007 that reports operators to be before methods by @RalfKoban in #994
  • MiKo analyzers now find API documentation separated by empty lines from code by @RalfKoban in #995
  • Added rule MiKo_3099 that reports enum values compared with null by @RalfKoban in #998
  • Added codefix for MiKo_6048 by @RalfKoban in #1002
  • Added new rule MiKo_3220 that simplified 'true' or 'false' AND/OR conditions by @RalfKoban in #1004
  • MiKo_6058 refactored to align type constraint clause below parameter list by @RalfKoban in #1005
  • MiKo_6048 now fixes parenthesis being on separate lines by @RalfKoban in #1007
  • Added new rule MiKo_3221 that reports 'GetHashCode()' implementation and fixes it to 'HashCode.Combine()' by @RalfKoban in #1008
  • MiKo_3110 refactored to no longer use symbols and use syntaxes instead by @RalfKoban in #1009
  • MiKo_3026 now ignores 'Configure' methods in 'Startup' type by @RalfKoban in #1010
  • MiKo_3026 now ignores public methods in types that inherit from ASP.NET Core 'ControllerBase' by @RalfKoban in #1011
  • Added rule MiKo_3121 that reports if a test tests an interface by @RalfKoban in #1012
  • Added rule MiKo_2232 that reports and deletes empty documentation by @RalfKoban in #1014
  • MiKo_2070 and MiKo_2072 no longer report on empty summaries by @RalfKoban in #1015
  • Updated NUnit and NUnitTestAdapter by @RalfKoban in #1016
  • MiKo_2232 is now aware of attributes by @RalfKoban in #1017
  • MiKo_3221 now uses 'default(HashCode)' to prevent StyleCop rule from triggering by @RalfKoban in #1019
  • Added new rule MiKo_4008 that reports if GetHashCode override is not placed directly after Equals methods by @RalfKoban in #1020
  • MiKo_2231 no longer reports in case is not the only existing tag by @RalfKoban in #1021
  • MiKo_2018 no longer reports for empty methods by @RalfKoban in #1022
  • MiKo_6048 now checks parenthesis to be on same line by @RalfKoban in #1023
  • Added new rule MiKo_3122 that reports tests having more than 2 parameters by @RalfKoban in #1024
  • MiKo_0002 is now aware of more conditional code by @RalfKoban in #1025
  • Added 2 tests for arrow expression clauses to MiKo_6048 by @RalfKoban in #1026
  • MiKo_1063 is now aware of abbreviation 'pow' by @RalfKoban in #1027
  • Dogfooding some rules to our code base by @RalfKoban in #1028
  • Some Char performance optimization by @RalfKoban in #1029
  • MiKo_1063 is now aware of abbreviation 'mgmt' by @RalfKoban in #1030
  • Added method 'AdjustFirstWord' to string builder by @RalfKoban in #1032
  • MiKo_2012 and MiKo_2060 are now aware of more factory phrases by @RalfKoban in #1031
  • Benchmarks project added to be able to benchmark code by @RalfKoban in #1033
  • Performance optimizations on MiKo_2060 and others by @RalfKoban in #1034
  • Some performance optimizations by @RalfKoban in #1035
  • Performance optimization by @RalfKoban in #1036
  • performance optimizations (uses 'ref' to avoid copying value) by @RalfKoban in #1037
  • Performance optimizations in tests, 'ContainsAny', 'EndsWithAny', 'StartsWithAny', 'SplitBy' by @RalfKoban in #1039
  • MiKo_1063 is now aware of some more phrases by @RalfKoban in #1040
  • MiKo_3075 is now aware of global classes by @RalfKoban in #1041
  • MiKo 2021 is now aware of "Determines", MiKo_6048 is now aware of semicolon by @RalfKoban in #1043
  • Updated dependencies & increased version to 0.0.47 by @RalfKoban in #1042

Full Changelog: v0.0.46...v0.0.47