This fixes an issue with constrained language mode where modules that specify multiple OutputType's as System.Type would throw due to Type[] not being a "core type".
An example of a command shipped with Windows that would previously throw is Get-DeliveryOptimizationStatus from the DeliveryOptimization module.
If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.
This fixes an issue with constrained language mode where modules that specify multiple
OutputType
's asSystem.Type
would throw due toType[]
not being a "core type".An example of a command shipped with Windows that would previously throw is
Get-DeliveryOptimizationStatus
from theDeliveryOptimization
module.PR Summary
PR Context
PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.