You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@OtterKring we are having trouble reproing, can you confirm you are still seeing this? Does this repro in the non-integrated terminal? Can you also double check the type of $dir?
Prerequisites
Summary
I created the following class:
then created a generic dictionary:
$dir = [System.Collections.Generic.Dictionary[string,mailboxtypestatistics]]::new()
then I tried adding a key like this:
$dir.Add('UserMailbox',[MailboxTypeStatistics]::new('UserMailbox'))
and received the following error message in the VSCode Powershell Extension Console:
I tested in the standard console (Windows Terminal) and it worked without issues.
PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
see "Summery"
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: