Graham

Results 105 comments of Graham

I've looked at that discussion and added to it with a slightly improved version of the above ([SharpLab link](https://sharplab.io/#v2:C4LgTgrgdgNAJiA1AHwAICYCMBYAUKgBgAJVMA6AYQHsBbAByqgFMpgBZKuJgGwG49CJcgBUAFmCYBDOAEsoAc3648AgMxEAzlO5M4JdEQAykgF4zuATwCSUGcBmTuMk7oA8wgHx4A3niL+iOjAZADdJYCYiYSIAfTDuCCYlAMDgsIiiKgAjACsmAGNgWO4qfIBrZICg0PDIrKoqbliZDRs7BycXOEr/VHUJADMoogBRKA0ICTb7R2ddAApUAFZ3DyI5OwBKPwDfXBSU4xNrWxnOpjAyMYmp0465uHnB2PjEmCJnmJbp+673z5K5XeG2Amx6B1QAHYPkwhnFHIlwQBfPAo5Tovr6IgAZVoTBGAA9JPQdBRuJINBofDteuh0DSiHsDgEwmB1uNgJIoPlIgBeIjMADuOLxhOJdFJ5Mp8zBDJSpAAnPM5BpOdymJQqNAImBZftmUIlSq1TzNdqLnqUkiUgyGQB6O1EADydHsjEcICiVCIklQABYiPkEsAdXJ5EQIHR2RFuE4tOMmAyANojWTAKhgABCYCogo0kiyOnmqbsGezufzhaY2M5ETIADkmCELQBde2OgAiBXJEj04SIwFEkQ0+SodEidiITAJLWAGnZ7yyECKUCoAFpGJF8lyffkeZSB0OiK9IoK7KItUUWDcw+tgAByecg366BnVdKRI7mE7tWZdVwlAoawxGKJJMDENbhDI+QAGqSGAMQ/H+FxEPyQoyuCmKAeG1DmmADJMga8hMMAcq7GRzIOkQACqWhEIKoi1M2bLPn+UGMEQJTyNBRAWFq9FckUQ4SBRBxUVYD7zuSxw+lAejTgUy66D6RQ0JIM40BANBEJgA4yDQkTjixHJcjyokpM8rKxKBErgZB9iwfBqEwnCNk6BBtbQXBCFIeclzXJMTC+Q88wyqhayGIw8gAErQLYCjLG6UAypaBo2vqaX+FRtGRFQQyDpErIOFWmQFWAZ50S0RAAFSrsA1WHhI0iaJIAyRPMFLskQMGZtsGWZSBRJgR5UGOWyiD8pgBDgmlULWUNtkjQ53lEGuOmGDNARolaKj9ZipAAGycVFRhRbFUDxfIiUyIwMoEaJ2HrM5mAbaJDHmO1MhEK4OkEH9f2GH1mUBF9E3rZtvTQjIyKokAA)): ```csharp using System; using System.ComponentModel; using System.Threading; public sealed class LazilyInitialized...

If you're interested, I've done the tweaks to make the converted code actually run here: https://github.com/GrahamTheCoder/FastStyleTransfer/pull/1 Now there's an expected output for the input, it should be easier for someone...

Can you give specific examples of code snippets that break?

Thanks. No need post the full list of errors unless they seem environment specific somehow - I can easily run it against the repo to get them. Let me know...

@DotNetTester I've had a look at that project now. One new issue I noticed was that the default imports need adding to the project file. So adding ```xml ``` into...

Thanks. It does slightly pain me never to have got around to this. In the meantime, the workaround is just to run an existing formatting tool after the converter: https://github.com/icsharpcode/CodeConverter/issues/448...

I think in many situations, just removing it is sufficient, though there is a valid use for this in C#, the "object" it's describing just slightly differs I think

Ah sorry I didn't really take on board that you meant only for libraries. There's a separate issue with winforms startup objects I was thinking of. Libraries should just remove...

Thanks for raising the issue. I can see a couple of options for ways to solve the problem e.g. * Have a cancel button somewhere else obvious (e.g. a modal...

The opposite case is also an issue, here's a case that includes both: ```vbnet Public Module Issue557 Friend Const BestString As String = "^" Friend Const WorstChar As Char =...