File tree Expand file tree Collapse file tree
powershell/ql/lib/semmle/code/powershell/ast/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ class MemberExpr extends Expr, TMemberExpr {
2929
3030 /** Gets the name of the member being looked up, if any. */
3131 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 ( )
3334 }
3435
3536 predicate isNullConditional ( ) { getRawAst ( this ) .( Raw:: MemberExpr ) .isNullConditional ( ) }
@@ -42,9 +43,7 @@ class MemberExpr extends Expr, TMemberExpr {
4243 explicitAssignment ( getRawAst ( this ) , getRawAst ( assignment ) )
4344 }
4445
45- predicate isImplicitWrite ( ) {
46- implicitAssignment ( getRawAst ( this ) )
47- }
46+ predicate isImplicitWrite ( ) { implicitAssignment ( getRawAst ( this ) ) }
4847}
4948
5049/** A `MemberExpr` that is being written to. */
You can’t perform that action at this time.
0 commit comments