File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
powershell/ql/lib/semmle/code/powershell/dataflow/internal Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -468,12 +468,12 @@ class NamedSet extends NamedSet0 {
468468 /** Holds if this is the empty set. */
469469 predicate isEmpty ( ) { this = TEmptyNamedSet ( ) }
470470
471- /** Gets a name in this set. */
472- string getAName ( ) { this .asNonEmpty ( ) .contains ( result ) }
471+ /** Gets a lower-case name in this set. */
472+ string getALowerCaseName ( ) { this .asNonEmpty ( ) .contains ( result ) }
473473
474474 /** Gets the textual representation of this set. */
475475 string toString ( ) {
476- result = "{" + strictconcat ( this .getAName ( ) , ", " ) + "}"
476+ result = "{" + strictconcat ( this .getALowerCaseName ( ) , ", " ) + "}"
477477 or
478478 this .isEmpty ( ) and
479479 result = "{}"
@@ -566,7 +566,7 @@ private module ParameterNodes {
566566 f = parameter .getFunction ( ) and
567567 f = ns .getAFunction ( ) and
568568 name = parameter .getLowerCaseName ( ) and
569- not name = ns .getAName ( ) and
569+ not name = ns .getALowerCaseName ( ) and
570570 j =
571571 i -
572572 count ( int k , Parameter p |
You can’t perform that action at this time.
0 commit comments