Skip to content

Releases: Vannevelj/SharpSource

1.26.0

19 Dec 09:26
23b7d48
Compare
Choose a tag to compare
  • ElementaryMethodsOfTypeInCollectionNotOverridden: Include .Distinct() and .ToHashSet(), courtesy of @Advitalitum

1.25.2

15 Sep 21:53
9546e54
Compare
Choose a tag to compare
  • ConcurrentDictionaryEmptyCheck: Correctly constrain the LINQ methods to ConcurrentDictionary

1.25.1

15 Sep 20:04
ff87b61
Compare
Choose a tag to compare
  • Reverted an earlier dependency bump which caused the analyzers to become incompatible with Visual Studio

1.25.0

15 Sep 17:12
914c047
Compare
Choose a tag to compare
  • ConcurrentDictionaryEmptyCheck: A ConcurrentDictionary is checked for emptiness without using .IsEmpty

1.24.1

13 Sep 19:16
da08e53
Compare
Choose a tag to compare
  • EnumWithoutDefaultValue: No longer crashes when using an enum that is not int, courtesy of @Genbox

1.24.0

21 Feb 00:04
838ac79
Compare
Choose a tag to compare
  • All analysers will no longer report diagnostics in generated code

1.23.4

05 Jan 00:33
6bd424d
Compare
Choose a tag to compare
  • UnnecessaryEnumerableMaterialization: If the instance is of type IQueryable then the analyzer will no longer trigger

1.23.3

15 May 17:31
49e5566
Compare
Choose a tag to compare
  • GetHashCodeRefersToMutableMember: No longer triggers on init property setters

1.23.2

18 Mar 12:38
95078ff
Compare
Choose a tag to compare
  • AsyncOverloadsAvailable: Will no longer pass through the CancellationToken if it's inside a static local function
  • AsyncOverloadsAvailable: Will correctly identify overloads if the synchronous variant returns a Task-like type

1.23.1

28 Feb 23:17
fb502e4
Compare
Choose a tag to compare
  • StringConcatenatedInLoop: No longer triggers a warning if the string is retrieved through an indexer (e.g. myList[i])
  • DisposeAsyncDisposable: Preserves leading and trailing trivia when the code fix is applied
  • TestMethodWithoutTestAttribute: Will no longer consider methods with Task<T> and ValueTask<T> return types as potential test methods