File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
powershell/ql/lib/semmle/code/powershell/frameworks Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ module PowerShell {
66 private class PowerShellGlobalEntry extends ModelInput:: TypeModel {
77 override DataFlow:: Node getASource ( string type ) {
88 type = "System.Management.Automation.PowerShell!" and
9- result .asExpr ( ) .getExpr ( ) .( TypeNameExpr ) .getName ( ) . toLowerCase ( ) = "powershell"
9+ result .asExpr ( ) .getExpr ( ) .( TypeNameExpr ) .getLowerCaseName ( ) = "powershell"
1010 }
1111 }
1212}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ module RunspaceFactory {
66 private class RunspaceFactoryGlobalEntry extends ModelInput:: TypeModel {
77 override DataFlow:: Node getASource ( string type ) {
88 type = "System.Management.Automation.Runspaces.RunspaceFactory!" and
9- result .asExpr ( ) .getExpr ( ) .( TypeNameExpr ) .getName ( ) . toLowerCase ( ) = "runspacefactory"
9+ result .asExpr ( ) .getExpr ( ) .( TypeNameExpr ) .getLowerCaseName ( ) = "runspacefactory"
1010 }
1111 }
1212}
You can’t perform that action at this time.
0 commit comments