Title: Allow conversion of number to enum type when underlying type is assignable by slide · Pull Request #1179 · pythonnet/pythonnet · GitHub
Open Graph Title: Allow conversion of number to enum type when underlying type is assignable by slide · Pull Request #1179 · pythonnet/pythonnet
X Title: Allow conversion of number to enum type when underlying type is assignable by slide · Pull Request #1179 · pythonnet/pythonnet
Description: What does this implement/fix? Explain your changes. In .NET you can do the following: enum FooEnum { One = 1, Three = 3, Four = 4, } FooEnum x = (FooEnum)2; This patch allows this fro...
Open Graph Description: What does this implement/fix? Explain your changes. In .NET you can do the following: enum FooEnum { One = 1, Three = 3, Four = 4, } FooEnum x = (FooEnum)2; This patch allows this fro...
X Description: What does this implement/fix? Explain your changes. In .NET you can do the following: enum FooEnum { One = 1, Three = 3, Four = 4, } FooEnum x = (FooEnum)2; This patch allows this fro...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1179
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:5e909e68-f4ae-046e-868d-6f2e1bec6e6a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D9A0:69CA6:4548E8C:5DECF9A:69709B54 |
| html-safe-nonce | f4a21e75d388f2902b3c5145b8d57b795f55362b3564423c8b510f2f8749fdf1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUEwOjY5Q0E2OjQ1NDhFOEM6NURFQ0Y5QTo2OTcwOUI1NCIsInZpc2l0b3JfaWQiOiIxNzY4OTY0MTg3NjUyOTIyMTk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2c59049ce7359f0060ff1a6324495b96c88f57b91c0f844ce44678fa59232506 |
| hovercard-subject-tag | pull_request:444910509 |
| 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/_view_fragments/voltron/pull_requests/show/pythonnet/pythonnet/1179/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a6b569c046cf9b5d4234333dc44f0bd7ad332214deea35522637087d0d45ef53/pythonnet/pythonnet/pull/1179 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a6b569c046cf9b5d4234333dc44f0bd7ad332214deea35522637087d0d45ef53/pythonnet/pythonnet/pull/1179 |
| og:image:alt | What does this implement/fix? Explain your changes. In .NET you can do the following: enum FooEnum { One = 1, Three = 3, Four = 4, } FooEnum x = (FooEnum)2; This patch allows this fro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | slide |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| 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 | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width