Skip to content

Sharpen v0.9.0

Compare
Choose a tag to compare
@ironcev ironcev released this 03 Aug 23:06
· 59 commits to master since this release

Added

  • "Consider replacing using statement with using declaration" suggestion.
  • "Replace using statement with using declaration" suggestion.
  • "Consider replacing switch statement containing only returns with switch expression" suggestion.
  • "Consider replacing switch statement containing only assignments with switch expression" suggestion.
  • "Replace switch statement containing only returns with switch expression" suggestion.
  • "Replace switch statement containing only assignments with switch expression" suggestion.
  • "Enable nullable context and declare local variable as nullable" suggestion.
  • "Enable nullable context and declare property as nullable" suggestion.
  • "Enable nullable context and declare field as nullable" suggestion.
  • "Consider awaiting equivalent asynchronous method and yielding IAsyncEnumerable" suggestion.
  • "Await [...] instead of calling [...]" suggestions support local functions.
  • "Use var keyword in variable declaration with object creation" suggestion.

Fixed

  • Async-await consider and await suggestions properly handle yielding.