mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fixes #7230. Adding the concept of a PSSyntheticTypeName, derived from PSTypeName, that extends it with a list of synthetic members. This allows us to express the inferred type of ``` [pscustomobject] @{ A = 1 B = "2" } ``` as a "PSObject#A:B" and with information about the types of A and B. This is also used to annotate the output of ``` Select-Object -Property Select-Object -ExcludeProperty Select-Object -ExpandProperty ``` Finally, it adds information about the types of the `Group` and `Value` properties of the output of `Group-Object`