We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aac3071 commit 3525301Copy full SHA for 3525301
1 file changed
csharp/ql/lib/semmle/code/csharp/dataflow/SSA.qll
@@ -414,8 +414,12 @@ module Ssa {
414
result.(ControlFlowElement).getControlFlowNode() = this.getControlFlowNode()
415
}
416
417
- /** Gets the callable to which this SSA definition belongs. */
418
- final Callable getEnclosingCallable() {
+ /**
+ * DEPRECATED: Use `getSourceVariable().getEnclosingCallable()` instead.
419
+ *
420
+ * Gets the callable to which this SSA definition belongs.
421
+ */
422
+ deprecated final Callable getEnclosingCallable() {
423
result = this.getSourceVariable().getEnclosingCallable()
424
425
0 commit comments