We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed6cdfc commit a6c7f27Copy full SHA for a6c7f27
1 file changed
csharp/ql/lib/semmle/code/csharp/dataflow/SSA.qll
@@ -404,8 +404,12 @@ module Ssa {
404
result.(ControlFlowElement).getControlFlowNode() = this.getControlFlowNode()
405
}
406
407
- /** Gets the callable to which this SSA definition belongs. */
408
- final Callable getEnclosingCallable() {
+ /**
+ * DEPRECATED: Use `getSourceVariable().getEnclosingCallable()` instead.
409
+ *
410
+ * Gets the callable to which this SSA definition belongs.
411
+ */
412
+ deprecated final Callable getEnclosingCallable() {
413
result = this.getSourceVariable().getEnclosingCallable()
414
415
0 commit comments