Title: Feature Request: add [Ordered] type accelerator · Issue #10513 · PowerShell/PowerShell · GitHub
Open Graph Title: Feature Request: add [Ordered] type accelerator · Issue #10513 · PowerShell/PowerShell
X Title: Feature Request: add [Ordered] type accelerator · Issue #10513 · PowerShell/PowerShell
Description: Add System.Collections.Specialized.OrderedDictionary as Ordered to the PowerShell type accelerators (not sure if this request is related or similar to: #9512). Currently the the-is operator returns an error for the Ordered type although ...
Open Graph Description: Add System.Collections.Specialized.OrderedDictionary as Ordered to the PowerShell type accelerators (not sure if this request is related or similar to: #9512). Currently the the-is operator returns...
X Description: Add System.Collections.Specialized.OrderedDictionary as Ordered to the PowerShell type accelerators (not sure if this request is related or similar to: #9512). Currently the the-is operator returns...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/10513
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature Request: add [Ordered] type accelerator","articleBody":"Add `System.Collections.Specialized.OrderedDictionary` as `Ordered` to the PowerShell type accelerators \u003csub>(not sure if this request is related or similar to: #9512)\u003c/sub>.\r\n\r\nCurrently the the`-is` operator returns an error for the `Ordered` type although I am able to use it in the constructor:\r\n\r\n```PowerShell\r\n$Ordered = [Ordered]@{a=1}\r\n$Ordered -is [Ordered]\r\n\r\nUnable to find type [Ordered].\r\nAt line:1 char:14\r\n+ $Ordered -is [Ordered]\r\n+ ~~~~~~~~~\r\n+ CategoryInfo : InvalidOperation: (Ordered:TypeName) [], RuntimeException\r\n+ FullyQualifiedErrorId : TypeNotFound\r\n```\r\n\r\nAs with e.g. the `semver` type, I would expect to be able to use the same type (accelerator) for comparison as for the constructor:\r\n\r\n```PowerShell\r\n$Semver = [semver]'1.2.3'\r\n$Semver -is [semver]\r\nTrue\r\n```","author":{"url":"https://github.com/iRon7","@type":"Person","name":"iRon7"},"datePublished":"2019-09-11T17:13:36Z","url":"https://github.com/PowerShell/PowerShell/issues/10513"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:4e9aa30e-8c1e-e28a-934d-38f67446aa00 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE5C:30E9CC:6A29FF:98B496:6AFD8EFA |
| html-safe-nonce | 6773ff15ff7714bea06068797012090d444a9b419440e213d6dd6d3a9e77e5e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTVDOjMwRTlDQzo2QTI5RkY6OThCNDk2OjZBRkQ4RUZBIiwidmlzaXRvcl9pZCI6IjY4NDI5MTA4ODMyNzA0NjMyMjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dcc8ac94e97aa4a03b74146626e050a0dfa49ad48a1d50a2b111ed61b4aa4fa5 |
| hovercard-subject-tag | issue:492362438 |
| 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/10513/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9ed04fe94c044ad48b1ea4b773b745aa39d1e02728cd64f33064b79712b85479/PowerShell/PowerShell/issues/10513 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9ed04fe94c044ad48b1ea4b773b745aa39d1e02728cd64f33064b79712b85479/PowerShell/PowerShell/issues/10513 |
| og:image:alt | Add System.Collections.Specialized.OrderedDictionary as Ordered to the PowerShell type accelerators (not sure if this request is related or similar to: #9512). Currently the the-is operator returns... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iRon7 |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| 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 | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width