We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a16b51a commit 1dcd318Copy full SHA for 1dcd318
1 file changed
powershell/ql/test/library-tests/dataflow/pipeline/test.ps1
@@ -28,4 +28,13 @@ function consume2 {
28
29
$x = Source "21"
30
$y = Source "22"
31
-$x, $y | consume2
+$x, $y | consume2
32
+
33
+function consumeValueFromPipelineByPropertyName {
34
+ Param([Parameter(ValueFromPipelineByPropertyName)] $x)
35
36
+ Sink $x # $ MISSING: hasValueFlow=23
37
+}
38
39
+$x = Source "23"
40
+[pscustomobject]@{x = $x} | consumeValueFromPipelineByPropertyName
0 commit comments