File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
powershell/ql/lib/semmle/code/powershell/ast/internal Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ class MemberExpr extends Expr, TMemberExpr {
29
29
30
30
/** Gets the name of the member being looked up, if any. */
31
31
string getMemberName ( ) {
32
- result = getRawAst ( this ) .( Raw:: MemberExpr ) .getMember ( ) .( Raw:: StringConstExpr ) .getValue ( ) .getValue ( )
32
+ result =
33
+ getRawAst ( this ) .( Raw:: MemberExpr ) .getMember ( ) .( Raw:: StringConstExpr ) .getValue ( ) .getValue ( )
33
34
}
34
35
35
36
predicate isNullConditional ( ) { getRawAst ( this ) .( Raw:: MemberExpr ) .isNullConditional ( ) }
@@ -42,9 +43,7 @@ class MemberExpr extends Expr, TMemberExpr {
42
43
explicitAssignment ( getRawAst ( this ) , getRawAst ( assignment ) )
43
44
}
44
45
45
- predicate isImplicitWrite ( ) {
46
- implicitAssignment ( getRawAst ( this ) )
47
- }
46
+ predicate isImplicitWrite ( ) { implicitAssignment ( getRawAst ( this ) ) }
48
47
}
49
48
50
49
/** A `MemberExpr` that is being written to. */
You can’t perform that action at this time.
0 commit comments