Releases: Vannevelj/SharpSource
Releases · Vannevelj/SharpSource
1.13.1
AsyncOverloadsAvailable
: Correctly suggests passing through aCancellationToken
if the sync overload accepts one as well
1.13.0
AsyncOverloadsAvailable
: Now passes through aCancellationToken
if there is one available in the current contextAttributeMustSpecifyAttributeUsage
: Takes definitions on base classes into accountElementaryMethodsOfTypeInCollectionNotOverridden
: SupportsHashSet.Add()
andDictionary.Add()
1.12.0
ParameterAssignedInConstructor
: A parameter was assigned in a constructor
1.11.2
- Fixed an issue where in some scenarios, necessary
using
statements were not getting added StaticInitializerAccessedBeforeInitialization
: no longer triggers when passing a method reference
1.11.1
SwitchIsMissingDefaultLabel
: code fix now works in top-level statementsAttributeMustSpecifyAttributeUsage
: correctly fires when the type is defined in the netstandard assembly
1.11.0
ComparingStringsWithoutStringComparison
: Astring
is being compared through allocating a newstring
, e.g. usingToLower()
orToUpperInvariant()
. Use a case-insensitive comparison instead which does not allocate.UnnecessaryEnumerableMaterialization
: supports!.
operatorElementaryMethodsOfTypeInCollectionNotOverridden
: supports?.
and!.
operatorsStaticInitializerAccessedBeforeInitialization
: no longer triggers when referencing itself
1.10.1
StaticInitializerAccessedBeforeInitialization
: supports implicit object creation expressionsNewGuid
: supports implicit object creation expressionsHttpClientInstantiatedDirectly
: supports implicit object creation expressions
1.10.0
- All analyzers and code fixes now have help codes that link back to the individual documentation
StaticInitializerAccessedBeforeInitialization
: don't trigger if the referenced field is marked asconst
1.9.4
StaticInitializerAccessedBeforeInitialization
: no longer triggers forLazy<T>
invocations when a method is passed as argument- Added documentation for all analyzers to the repo
1.9.3
- Internal code cleanup: all warning messages in the tests are now hardcoded