Title: Enable IDE0019: InlineAsTypeCheck · Issue #18399 · PowerShell/PowerShell · GitHub
Open Graph Title: Enable IDE0019: InlineAsTypeCheck · Issue #18399 · PowerShell/PowerShell
X Title: Enable IDE0019: InlineAsTypeCheck · Issue #18399 · PowerShell/PowerShell
Description: Use pattern matching to avoid 'as' followed by a 'null' check (IDE0019) Previous pull request:s #13333 #13895
Open Graph Description: Use pattern matching to avoid 'as' followed by a 'null' check (IDE0019) Previous pull request:s #13333 #13895
X Description: Use pattern matching to avoid 'as' followed by a 'null' check (IDE0019) Previous pull request:s #13333 #13895
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/18399
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enable IDE0019: InlineAsTypeCheck","articleBody":"[Use pattern matching to avoid 'as' followed by a 'null' check (IDE0019)](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0019)\r\n\r\nPrevious pull request:s\r\n* #13333\r\n* #13895\r\n","author":{"url":"https://github.com/xtqqczze","@type":"Person","name":"xtqqczze"},"datePublished":"2022-10-27T01:14:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/18399/PowerShell/issues/18399"}
| 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:faeb5ad0-0a2c-9b48-8626-e0dc98506c8b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C97E:273A67:2AF0772:3A2BAF5:6A548E1C |
| html-safe-nonce | 08811dd367c2c0db305ac4aabb9ab6b237e3d4be5a9a4bb0bdd21c6c720c060d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTdFOjI3M0E2NzoyQUYwNzcyOjNBMkJBRjU6NkE1NDhFMUMiLCJ2aXNpdG9yX2lkIjoiNDE3MzM5OTM4MjM0MjAxMjQ0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fe0dfc5473cbc8e60e9dd1b608f7326f11d2eab8d6d8e72e46857a7e1f685033 |
| hovercard-subject-tag | issue:1424884882 |
| 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/18399/issue_layout |
| twitter:image | https://opengraph.githubassets.com/be9315f9a2a5146054f03bf844401d0df0a9475a3f4800b96b07ebafd0e0c67e/PowerShell/PowerShell/issues/18399 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be9315f9a2a5146054f03bf844401d0df0a9475a3f4800b96b07ebafd0e0c67e/PowerShell/PowerShell/issues/18399 |
| og:image:alt | Use pattern matching to avoid 'as' followed by a 'null' check (IDE0019) Previous pull request:s #13333 #13895 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xtqqczze |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width