Non Returning Function
Warns about 'Function' and 'Property Get' procedures whose return value is not assigned.
Reasoning
Both 'Function' and 'Property Get' accessors should always return something. Omitting the return assignment is likely a bug.
Default severity
Error
Inspection type
CodeQualityIssues
Examples
This example should trigger a result
This example should NOT trigger a result
Rubberduck.CodeAnalysis.Inspections.Concrete.NonReturningFunctionInspection.cs (Prerelease-v2.5.9.6289)