Skip to content

Commit 28e9644

Browse files
committed
C#: Address review comment.
1 parent b2a5955 commit 28e9644

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPrivate.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,10 +1291,10 @@ class SsaNode extends NodeImpl, TSsaNode {
12911291
class SsaDefinitionNode extends SsaNode {
12921292
override SsaImpl::DataFlowIntegration::SsaDefinitionNode node;
12931293

1294-
SsaImpl::Definition getDefinition() { result = node.getDefinition() }
1294+
Ssa::Definition getDefinition() { result = node.getDefinition() }
12951295

12961296
override ControlFlow::Node getControlFlowNodeImpl() {
1297-
result = this.getDefinition().(Ssa::Definition).getControlFlowNode()
1297+
result = this.getDefinition().getControlFlowNode()
12981298
}
12991299
}
13001300

@@ -1688,7 +1688,7 @@ private module ReturnNodes {
16881688

16891689
OutRefReturnNode() {
16901690
exists(Parameter p |
1691-
this.getDefinition().(Ssa::Definition).isLiveOutRefParameterDefinition(p) and
1691+
this.getDefinition().isLiveOutRefParameterDefinition(p) and
16921692
kind.getPosition() = p.getPosition()
16931693
|
16941694
p.isOut() and kind instanceof OutReturnKind

0 commit comments

Comments
 (0)