Title: Pythonnet 2.1 not identifying System.Object type · Issue #203 · pythonnet/pythonnet · GitHub
Open Graph Title: Pythonnet 2.1 not identifying System.Object type · Issue #203 · pythonnet/pythonnet
X Title: Pythonnet 2.1 not identifying System.Object type · Issue #203 · pythonnet/pythonnet
Description: I'm not sure how the tests wouldn't have caught this bug. I have a .net class that has the function AddQuery with the following method signatures. AddQuery Void AddQuery(api.QueryType)... Void AddQuery(System.Object)... where QueryType i...
Open Graph Description: I'm not sure how the tests wouldn't have caught this bug. I have a .net class that has the function AddQuery with the following method signatures. AddQuery Void AddQuery(api.QueryType)... Void AddQ...
X Description: I'm not sure how the tests wouldn't have caught this bug. I have a .net class that has the function AddQuery with the following method signatures. AddQuery Void AddQuery(api.QueryType)... V...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/203
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pythonnet 2.1 not identifying System.Object type","articleBody":"I'm not sure how the tests wouldn't have caught this bug.\nI have a `.net` class that has the function `AddQuery` with the following method signatures.\n\n```\nAddQuery\n Void AddQuery(api.QueryType)...\n Void AddQuery(System.Object)...\n```\n\nwhere `QueryType` is another custom object type. \n\nOn `2.0` and `2.1dev1` the function works as expected. \n- I can pass a `QueryType` object to `AddQuery` and it would call the first method. \n- Calling `AddQuery` with a `string` or `int` would use the second method and process them.\n\nOn `2.1.0` and the earliest archived copy in `appveyor` this behavior changed. \n- Passing `QueryType` object to `AddQuery` still works. \n- Passing `string` type to `AddQuery` **errors** with `No method matches given arguments`\n\nI've tested on `Python 2.7`, `Python 3.5` both x64. \nLooks like Pythonnet is no longer identifying `string` `int` and other types to be of type `System.Object` as well. \n","author":{"url":"https://github.com/vmuriart","@type":"Person","name":"vmuriart"},"datePublished":"2016-04-17T03:34:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":33},"url":"https://github.com/203/pythonnet/issues/203"}
| 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:9ff9f585-8282-bc50-a0ff-ae58ae95ee46 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ADAE:81F30:16D14C2:1E90621:69706B84 |
| html-safe-nonce | 8bb43b91b502c73cb92cebddd0cfe3ee91dc62c5ef3d7dfb044f35838a3c8ce5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREFFOjgxRjMwOjE2RDE0QzI6MUU5MDYyMTo2OTcwNkI4NCIsInZpc2l0b3JfaWQiOiI1NjA3NzE1ODIxMzc0OTQ0MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8d4bf0bdab12833525494b06d51e6c722b92198fa4883d2f3083facef08f6196 |
| hovercard-subject-tag | issue:148915239 |
| 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/pythonnet/pythonnet/203/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1beeebd60ffce0f3cfb1f5c0dd0d0885bf0f34b3652a85c82716beb9f3bdc9c8/pythonnet/pythonnet/issues/203 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1beeebd60ffce0f3cfb1f5c0dd0d0885bf0f34b3652a85c82716beb9f3bdc9c8/pythonnet/pythonnet/issues/203 |
| og:image:alt | I'm not sure how the tests wouldn't have caught this bug. I have a .net class that has the function AddQuery with the following method signatures. AddQuery Void AddQuery(api.QueryType)... Void AddQ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vmuriart |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width