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

Predicate SourceVariableImpl::getASameOutRefDefAfter

Gets an out/ref definition of the same source variable as the out/ref definition def, belonging to the same call, at a position after def.

Import path

import semmle.code.csharp.dataflow.internal.SsaImpl
OutRefDefinition getASameOutRefDefAfter(SourceVariable v, OutRefDefinition def)