Patrick Meinecke

Results 430 comments of Patrick Meinecke

The Engine WG discussed this issue and concluded that we would love to see the "array assign" syntax support tuples via `ITuple`. `Deconstruct` support would be nice but is unlikely...

For PSRL you can override `PSConsoleHostReadLine` like this ```powershell function PSConsoleHostReadLineProxy { Microsoft.PowerShell.Core\Set-StrictMode -Off $command = [Microsoft.PowerShell.PSConsoleReadLine]::ReadLine($host.Runspace, $ExecutionContext) $ast = [System.Management.Automation.Language.Parser]::ParseInput( $command, [ref] $null, [ref] $null) $findVariablesDelegate = { param($a)...

How about `Assert`? ```raw Verb AliasPrefix Group Description ---- ----------- ----- ----------- Assert as Lifecycle Affirms the state of a resource ```

I've seen that in the context of tests, but not much otherwise. Afaik there's no official guidance suggesting that *should* be the case, and tbh it kind of seems like...

Yeah I can't really argue with any of that. I'm just not super excited to see *another* verb added that is only used a handful of times. The nature of...

I think part of my issue with this verb is that it mainly makes sense to use for internal functions. This may not be everyone's philosophy, but to me it...

> Also, there are different degrees of "internality"; if it's not a published command as such, but something you share with colleagues (whether as function source code for their profiler...

Seems like the main difference is that `Marshal.GetTypeFromCLSID` doesn't check primary interop assemblies in core. So in Windows PowerShell it returns `ApplicationClass` from the PIA and in Core it returns...

I would guess anything after 5.1, but I can confirm it reproduces on 6.2.3 as well as 7 rc1

> I did not found that we would change in the code but I feel we could/should fix this because New-Object is native for PowerShell. I think in order to...