Describe changes here when they're committed to the master
branch. Move them to a version heading when the project version number is updated in preparation for publishing an updated NuGet package.
Prefix the description of the change with [major]
, [minor]
, or [patch]
in accordance with Semantic Versioning.
New analyzers are considered "minor" changes (even though adding a new analyzer is likely to generate warnings or errors for existing code when the package is upgraded).
- Set flag in all analyzers to stop analyzing generated code.
- Add
FL0012
: don't use interpolated string withDbConnector.Command
: #17.
- Add
FL0005
: detect.ToReadOnlyCollection()
in constructors: #17. - Add
FL0006
: detect.OrderBy
without aStringComparer
: #23. - Add
FL0007
: detect$
in interpolated strings: #50. - Add
FL0008
: detect usages ofWorkState.None
andWorkState.ToDo
when alternatives exist: #4. - Add
FL0009
: prefer""
overstring.Empty
: #7. - Add
FL0010
: discourage use ofIfNotNull
: #13. - Add
FL0011
: detectConcurrentDictionary.GetOrAddValue
: #68.
- Ignore
NullReferenceException
that's infrequently thrown byUntilCanceledAnalyzer
.
- Add diagnostic for
NullReferenceException
being thrown byUntilCanceledAnalyzer
.
- Allow
AsyncWorkItem.Current
to be used in lambda passed toAsyncWorkItem.Start
: #20. - Offer
AsyncWorkItem.Current
fix more often: #19.
- Fix bug in
StringComparison
code fix provider that reformatted the entire file.
- Fix NuGet package install script.
- Downgrade
Microsoft.CodeAnalysis.CSharp.Workspaces
dependency to to 2.7.0.
- Fix false positive of
FL0002
forstring.StartsWith(char)
andstring.EndsWith(char)
.
- Initial release, supporting four analyzers.