Title: The Online Converter messes up object initializers · Issue #514 · icsharpcode/NRefactory · GitHub
Open Graph Title: The Online Converter messes up object initializers · Issue #514 · icsharpcode/NRefactory
X Title: The Online Converter messes up object initializers · Issue #514 · icsharpcode/NRefactory
Description: When converting C# to Vb.Net using the Online Converter i found two issues, #513 is the first, and this is the second. Code with object initializers like this StudentName student2 = new StudentName { FirstName = "Craig", LastName = "Play...
Open Graph Description: When converting C# to Vb.Net using the Online Converter i found two issues, #513 is the first, and this is the second. Code with object initializers like this StudentName student2 = new StudentName...
X Description: When converting C# to Vb.Net using the Online Converter i found two issues, #513 is the first, and this is the second. Code with object initializers like this StudentName student2 = new StudentName...
Opengraph URL: https://github.com/icsharpcode/NRefactory/issues/514
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The Online Converter messes up object initializers","articleBody":"When converting C# to Vb.Net using the [Online Converter](http://codeconverter.sharpdevelop.net/) i found two issues, #513 is the first, and this is the second.\n\nCode with object initializers like this\n\n```\nStudentName student2 = new StudentName\n {\n FirstName = \"Craig\",\n LastName = \"Playstead\",\n };\n```\n\nis wrongly translated to this (notice the \"Key \" parts)\n\n```\nDim student2 As New StudentName() With { _\n Key .FirstName = \"Craig\", _\n Key .LastName = \"Playstead\" _\n}\n```\n\ninstead of this\n\n```\nDim student2 As New StudentName() With { _\n .FirstName = \"Craig\", _\n .LastName = \"Playstead\" _\n}\n```\n","author":{"url":"https://github.com/beppe9000","@type":"Person","name":"beppe9000"},"datePublished":"2016-02-09T20:32:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/514/NRefactory/issues/514"}
| 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:bca83d5e-4556-9099-d852-314b7bec2038 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF2A:2658D0:1F86477:29DA6F4:6A5D63D9 |
| html-safe-nonce | 68bdf50f33b0e226084609811792d27702d4d2927dc1ebf0970be5d663b31adb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjJBOjI2NThEMDoxRjg2NDc3OjI5REE2RjQ6NkE1RDYzRDkiLCJ2aXNpdG9yX2lkIjoiMzA0MjIyMzA3MzgxNzA5MzA4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 93b7f3422e8a22d678d379595b92945329779692a78a5f5f91fe0ac1229bb841 |
| hovercard-subject-tag | issue:132525311 |
| 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/icsharpcode/NRefactory/514/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f531f1c0389beddc24af7e1562e9f4bb78b2c05a0c06141e21417d6d560aefd2/icsharpcode/NRefactory/issues/514 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f531f1c0389beddc24af7e1562e9f4bb78b2c05a0c06141e21417d6d560aefd2/icsharpcode/NRefactory/issues/514 |
| og:image:alt | When converting C# to Vb.Net using the Online Converter i found two issues, #513 is the first, and this is the second. Code with object initializers like this StudentName student2 = new StudentName... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | beppe9000 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/icsharpcode/NRefactory git https://github.com/icsharpcode/NRefactory.git |
| octolytics-dimension-user_id | 343434 |
| octolytics-dimension-user_login | icsharpcode |
| octolytics-dimension-repository_id | 798650 |
| octolytics-dimension-repository_nwo | icsharpcode/NRefactory |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 798650 |
| octolytics-dimension-repository_network_root_nwo | icsharpcode/NRefactory |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width