Skip to content

Commit f389487

Browse files
committed
PS: Make type names lower case.
1 parent 9935117 commit f389487

File tree

2 files changed

+2
-2
lines changed
  • powershell/ql/lib/semmle/code/powershell/frameworks

2 files changed

+2
-2
lines changed

powershell/ql/lib/semmle/code/powershell/frameworks/System/model.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1766,7 +1766,7 @@ extensions:
17661766
- ["system.uint32", "system.single", "Method[system.iconvertible.touint32].ReturnValue"]
17671767
- ["system.double", "system.char", "Method[system.iconvertible.todouble].ReturnValue"]
17681768
- ["system.datetimeoffset", "system.datetimeoffset", "Method[tolocaltime].ReturnValue"]
1769-
- ["t", "system.binarydata", "Method[toObjectFromJson<t>].ReturnValue"]
1769+
- ["t", "system.binarydata", "Method[toobjectfromjson<t>].ReturnValue"]
17701770
- ["system.boolean", "system.sbyte!", "Method[system.numerics.inumberbase<system.sbyte>.tryconverttotruncating<tother>].ReturnValue"]
17711771
- ["system.boolean", "system.int16", "Method[System.Numerics.IBinaryInteger<system.int16>.TryWriteBigEndian].ReturnValue"]
17721772
- ["system.double", "system.math!", "Method[reciprocalsqrtestimate].ReturnValue"]

powershell/ql/lib/semmle/code/powershell/frameworks/SystemManagementAutomationScriptBlock/model.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ extensions:
33
pack: microsoft-sdl/powershell-all
44
extensible: sinkModel
55
data:
6-
- ["System.Management.Automation.ScriptBlock!", "Method[create].Argument[0]", "command-injection"]
6+
- ["system.management.automation.scriptblock!", "Method[create].Argument[0]", "command-injection"]
77

88
- addsTo:
99
pack: microsoft-sdl/powershell-all

0 commit comments

Comments
 (0)