Title: format-default: No coercion operator is defined · Issue #14632 · PowerShell/PowerShell · GitHub
Open Graph Title: format-default: No coercion operator is defined · Issue #14632 · PowerShell/PowerShell
X Title: format-default: No coercion operator is defined · Issue #14632 · PowerShell/PowerShell
Description: Steps to reproduce using namespace System.Collections.Generic [LinkedList[Hashtable]]::new().AddLast( @{ k1 = "v1" }) Expected behavior When this is executed in Windows Powershell, the hashtable is added to the linked list, and the link ...
Open Graph Description: Steps to reproduce using namespace System.Collections.Generic [LinkedList[Hashtable]]::new().AddLast( @{ k1 = "v1" }) Expected behavior When this is executed in Windows Powershell, the hashtable is...
X Description: Steps to reproduce using namespace System.Collections.Generic [LinkedList[Hashtable]]::new().AddLast( @{ k1 = "v1" }) Expected behavior When this is executed in Windows Powershell, the ha...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/14632
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"format-default: No coercion operator is defined","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\nWindows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nThis repository is **ONLY** for PowerShell Core 6 and PowerShell 7+ issues.\r\n\r\n- Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://docs.microsoft.com/powershell/scripting/whats-new/known-issues-ps6).\r\n\r\n--\u003e\r\n\r\n## Steps to reproduce\r\n\r\n```powershell\r\nusing namespace System.Collections.Generic\r\n\r\n[LinkedList[Hashtable]]::new().AddLast( @{\r\n k1 = \"v1\"\r\n})\r\n```\r\n\r\n## Expected behavior\r\n\r\nWhen this is executed in Windows Powershell, the hashtable is added to the linked list, and the link list is sent to the output stream.\r\n```none\r\nList Next Previous Value\r\n---- ---- -------- -----\r\n{System.Collections.Hashtable} {k1} \r\n```\r\n\r\n## Actual behavior\r\n\r\n```none\r\nformat-default: No coercion operator is defined between types 'System.Collections.Hashtable\u0026' and 'System.Object'.\r\n```\r\n## Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable --\u003e\r\n\r\n```none\r\n\r\nName Value\r\n---- -----\r\nPSVersion 7.1.1\r\nPSEdition Core\r\nGitCommitId 7.1.1\r\nOS Microsoft Windows 10.0.19041\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n","author":{"url":"https://github.com/buchanantim","@type":"Person","name":"buchanantim"},"datePublished":"2021-01-19T15:20:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/14632/PowerShell/issues/14632"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:17be4a86-a1ca-5cf3-017d-b080df6e2eb3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B556:2BF661:2BC08CF:3F409F9:6A551AAD |
| html-safe-nonce | 01ea64543ed7a2338fae772a60c54a4e2e5723a913ffad99e8953eb887c459cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTU2OjJCRjY2MToyQkMwOENGOjNGNDA5Rjk6NkE1NTFBQUQiLCJ2aXNpdG9yX2lkIjoiNzQwNzQ5NDYyMDc2NTI5NzMyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b19fcf8a0b347c83919eb423a6cbe90c40b681f647b0e26324667148829ad7df |
| hovercard-subject-tag | issue:789114004 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/14632/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4279f6342470ace9ef8c8571ae8eed80af107c676f34b2db13449371b3903b6d/PowerShell/PowerShell/issues/14632 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4279f6342470ace9ef8c8571ae8eed80af107c676f34b2db13449371b3903b6d/PowerShell/PowerShell/issues/14632 |
| og:image:alt | Steps to reproduce using namespace System.Collections.Generic [LinkedList[Hashtable]]::new().AddLast( @{ k1 = "v1" }) Expected behavior When this is executed in Windows Powershell, the hashtable is... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | buchanantim |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b6d37c6470adadff4194742daaab9a817cc4980 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width