Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 1.26 KB

CS1997.md

File metadata and controls

16 lines (11 loc) · 1.26 KB

CS1997

Property Value
Id CS1997
Title Since 'RemoveReturnKeywordOrReturnExpression.FooAsync()' is an async method that returns 'Task', a return keyword must not be followed by an object expression. Did you intend to return 'Task<T>>'?
Severity Error

Code Fixes

  • Change member type according to return expression
  • Remove return expression
  • Remove 'return' keyword

(Generated with DotMarkdown)