Title: Void codemethod call should not crash by powercode · Pull Request #4850 · PowerShell/PowerShell · GitHub
Open Graph Title: Void codemethod call should not crash by powercode · Pull Request #4850 · PowerShell/PowerShell
X Title: Void codemethod call should not crash by powercode · Pull Request #4850 · PowerShell/PowerShell
Description: Fixes #4826 Adding a check if the method to be called is void, and in that case wrap it in a block that returns null. Looking at some other code, there seems to be a CSharpBinderFlags.ResultDiscarded when they to this in C#. Can reviewers please check if this or something similar needs to be used here?
Open Graph Description: Fixes #4826 Adding a check if the method to be called is void, and in that case wrap it in a block that returns null. Looking at some other code, there seems to be a CSharpBinderFlags.ResultDiscard...
X Description: Fixes #4826 Adding a check if the method to be called is void, and in that case wrap it in a block that returns null. Looking at some other code, there seems to be a CSharpBinderFlags.ResultDiscard...
Opengraph URL: https://github.com/PowerShell/PowerShell/pull/4850
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:872a8b20-b99b-8da4-a9dd-07f24e072830 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BE7C:1319E5:24D4D76:34DA53A:6A57B263 |
| html-safe-nonce | 48dfeadec882edd58d4cfa04531a7c148e3eb085750cff1ed88418bfd2e3f835 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTdDOjEzMTlFNToyNEQ0RDc2OjM0REE1M0E6NkE1N0IyNjMiLCJ2aXNpdG9yX2lkIjoiNjY0MDQ5NzM2Mzg4NTk5NDU5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6055a80164fc5a2fd48201ea7496b7d42c085d325123e1aed96d1fdc929875ac |
| hovercard-subject-tag | pull_request:141437827 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/PowerShell/PowerShell/pull/4850/files |
| twitter:image | https://avatars.githubusercontent.com/u/3505151?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3505151?s=400&v=4 |
| og:image:alt | Fixes #4826 Adding a check if the method to be called is void, and in that case wrap it in a block that returns null. Looking at some other code, there seems to be a CSharpBinderFlags.ResultDiscard... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 899c314dfde9abcf8fc1fe8c04f09866b347ea06f43166d653afc482795c9fca |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 67aa73f3bba9e68b2de0ebe01c65fcd120461cba |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width