Skip to content

Commit 2427f0a

Browse files
committed
C#: Remove redundant cast
1 parent 5879e58 commit 2427f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/src/semmle/code/csharp/Assignable.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ class AssignableDefinition extends TAssignableDefinition {
509509
cfn = result.getAControlFlowNode() |
510510
exists(Ssa::ExplicitDefinition def |
511511
result = def.getAFirstReadAtNode(cfn) |
512-
this = def.(Ssa::ExplicitDefinition).getADefinition()
512+
this = def.getADefinition()
513513
)
514514
)
515515
}

0 commit comments

Comments
 (0)