Skip to content

Version 0.3.0

Latest
Compare
Choose a tag to compare
@SergeyTeplyakov SergeyTeplyakov released this 13 May 03:04
· 38 commits to master since this release
6ae11e0

Core Analyzers

  • EPC17: warns when async void delegate is accidentally created where Action should be used.
  • ERP031: warns when some unsafe methods are used for ConcurrentDictionary instance like ToArray.

Struct Analyzers

  • EPS07: detects that a struct that does not override Equals or GetHashCode is used as the key in the dictionary or in a hashset.
  • EPS08: detects that the default ValueType.Equals or ValueType.GetHashCode are used in the implmentation of the Equals or GetHashCode for a custom struct.
  • EPS09: detects that in modifier can be explicitely specified in a method call.
  • EPS10: detects attempts of constructing non-defaultable structs by using new T, default or similar.
  • EPS11: detects that a non-defaultable struct is embedded in a defaultable struct.
  • Various bug fixes.

Many thanks to @sharwell!

Nuget Packages