Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 344466a

Browse files
committed
C#: Cache DataFlow::Node::getEnclosingCallable()
1 parent 41a4807 commit 344466a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

csharp/ql/src/semmle/code/csharp/dataflow/DataFlow.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module DataFlow {
2828
DotNet::Type getType() { none() }
2929

3030
/** Gets the enclosing callable of this node. */
31+
cached
3132
DotNet::Callable getEnclosingCallable() { none() }
3233

3334
/** Gets a textual representation of this node. */

0 commit comments

Comments
 (0)