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/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:d5056b53-d3c1-2491-a9c8-c953cb7db8ae |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 99BC:2AF28C:1D9E5A0:282CC68:6A655085 |
| html-safe-nonce | b66cfb9a0a460f6f6809a05ca545e34a5c718530ebd11c575a8acbc0289d42fb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUJDOjJBRjI4QzoxRDlFNUEwOjI4MkNDNjg6NkE2NTUwODUiLCJ2aXNpdG9yX2lkIjoiMzk3MjE3NjI1NDk5MDYyNDA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 58d5e48a1ed5035855c9c518df18f05c28bda710989a3d241f1f063ac3a4e859 |
| 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/commits/fe9f1c7a921805f30185f23a6f5e844c0c102230 |
| 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 | 52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 309153364422b3c499922d1a2a6404910a58ed8e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width