CodeQL library for C#
codeql/csharp-all 3.1.2-dev (changelog, source)
Search

Module ReturnNodes

Import path

import semmle.code.csharp.dataflow.internal.DataFlowPrivate

Classes

AsyncReturnNode

A synthesized return node for returned expressions inside async methods.

ExprReturnNode

A data-flow node that represents an expression returned by a callable, either using a return statement or an expression body (=>).

OutRefReturnNode

A data-flow node that represents an assignment to an out or a ref parameter.

YieldReturnNode

A yield return node. A node is synthesized in order to be able to model yield returns as stores into collections, i.e., there is flow from e to yield return e [e].