Skip to content

Releases: bkoelman/CSharpGuidelinesAnalyzer

v3.8.5

22 Apr 12:27
113ef32
Compare
Choose a tag to compare

What's Changed

  • AV1710 (CHANGED): Add an exception for User.UserName by @bkoelman in #149
  • AV1500 (FIXED): Do not report on captured variables from primary constructor initializer by @bkoelman in f3c78df
  • AV1706 (CHANGED): Add "doc" to the blacklisted words by @bkoelman in #157
  • AV1551 (FIXED): Ignore CancellationToken parameter in ordering, which always comes last by convention by @bkoelman in #158
  • Update layer settings for Resharper/Rider v2024.1 by @bkoelman in #159
  • Built against C# 12, resulting in slightly better codegen

This version matches with CSharpGuidelines v5.7.0. It requires Visual Studio 2017 Update 5 or higher.

Install (NuGet): https://www.nuget.org/packages/CSharpGuidelinesAnalyzer/3.8.5

Full Changelog: v3.8.4...v3.8.5

v3.8.4

04 Oct 10:38
f5db483
Compare
Choose a tag to compare

AV1553 (FIXED): Do not report AV1553 on interface implementations and overridden members by @bkoelman in #141

This version matches with CSharpGuidelines v5.6.0. It requires Visual Studio 2017 Update 5 or higher.

Install (NuGet): https://www.nuget.org/packages/CSharpGuidelinesAnalyzer/3.8.4

Full Changelog: v3.8.3...v3.8.4

v3.8.3

10 Mar 12:00
Compare
Choose a tag to compare

AV1553 (FIXED): Suppress on [CallerArgumentExpression] usage by @bkoelman in #138
AV2220 (CHANGED): Only report when method syntax consists of a single invocation or when easier to read by @bkoelman in #139

This version matches with CSharpGuidelines v5.6.0. It requires Visual Studio 2017 Update 5 or higher.

Install (NuGet): https://www.nuget.org/packages/CSharpGuidelinesAnalyzer/3.8.3

v3.8.2

22 Aug 20:43
Compare
Choose a tag to compare

AV1122 (FIXED): Skip assignments in 'with' expressions by @bkoelman in #133)

This version matches with CSharpGuidelines v5.6.0. It requires Visual Studio 2017 Update 5 or higher.

Install (NuGet): https://www.nuget.org/packages/CSharpGuidelinesAnalyzer/3.8.2

v3.8.1

29 Apr 20:08
Compare
Choose a tag to compare

AV1130 (CHANGED): Exclude IQueryable and whitelist D/I registration methods
AV1235 (FIXED): Not all warnings are reported when building against TFM that is annotated for nullable reference types

This version matches with CSharpGuidelines v5.6.0. It requires Visual Studio 2017 Update 5 or higher.

Install (NuGet): https://www.nuget.org/packages/CSharpGuidelinesAnalyzer/3.8.1

v3.8.0

13 Mar 13:36
Compare
Choose a tag to compare

AV1553 (NEW): Reports when an optional parameter of type string, collection or task has default value null.
AV1554 (NEW): Reports when an interface method or an abstract/virtual/override method contains an optional parameter.
AV1840 (NEW): Reports when an expression of type ValueTask or ValueTask<T> is being assigned or used as argument without await.
AV1580 (NEW): Reports using nested method calls.
AV2210 (CHANGED): Removed check on warning level (motivation)
AV1130 (CHANGED): No longer allow changeable collection interfaces and types to be returned, except from private methods.

This version matches with CSharpGuidelines v5.6.0. It requires Visual Studio 2017 Update 5 or higher.

Install (NuGet): https://www.nuget.org/packages/CSharpGuidelinesAnalyzer/3.8.0

v3.7.1

05 Dec 23:54
Compare
Choose a tag to compare

AV1505: Fixed false positive on top-level programs

This version matches with CSharpGuidelines v5.4.0. It requires Visual Studio 2017 Update 5 or higher.

Install (NuGet): https://www.nuget.org/packages/CSharpGuidelinesAnalyzer/3.7.1

v3.7.0

12 Sep 12:54
Compare
Choose a tag to compare

AV1562: Do not report on parameters typed as ref struct
AV2210: Updated to require warning level 9999

This version matches with CSharpGuidelines v5.4.0. It requires Visual Studio 2017 Update 5 or higher.

Install (NuGet): https://www.nuget.org/packages/CSharpGuidelinesAnalyzer/3.7.0

v3.6.0

27 Feb 15:16
Compare
Choose a tag to compare

AV1755: Added detection of parameterized tests (Theory/TestCase/DataTestMethod)
AV1008: Added exception for P/Invoke NativeMethods class

This version matches with CSharpGuidelines v5.4.0. It requires Visual Studio 2017 Update 5 or higher.

Install (NuGet): https://www.nuget.org/packages/CSharpGuidelinesAnalyzer/3.6.0

v3.5.0

27 Apr 19:32
Compare
Choose a tag to compare

Added .editorconfig support.

This version matches with CSharpGuidelines v5.4.0. It requires Visual Studio 2017 Update 5 or higher.

Install (NuGet): https://www.nuget.org/packages/CSharpGuidelinesAnalyzer/3.5.0