CodeConverter icon indicating copy to clipboard operation
CodeConverter copied to clipboard

Convert code from C# to VB.NET and vice versa using Roslyn

Results 144 CodeConverter issues
Sort by recently updated
recently updated
newest added

### Input code In unsafe context ```csharp public class CSharpClass { public static void Main(){ byte[] bytes = [1, 2, 3]; fixed (byte* bufferPtr = bytes) { Console.WriteLine($"The address of...

C# -> VB

Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together. Updates `cookie` from 0.6.0 to 0.7.1 Release notes Sourced from cookie's releases. 0.7.1 Fixed Allow leading dot for domain...

dependencies
javascript

### VB.Net input code ```vbnet Private Sub TextBoxConnectionString_ValueChanged(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles TextBoxTab3Item.TextChanged, TextBoxTab3Detail.TextChanged Changes.Tab3 = True End Sub ``` ### Erroneous output ```C# private void TextBoxConnectionString_ValueChanged(object sender,...

VB -> C#

MultiFileSolutionAndProjectTests are currently skipped until someone can find the right SDK setup for the build agent to build them again. They're a bit finnicky because they intentionally try to build...

An invocation with a ref argument in a loop condition isn't converted to a local function call, like it happens if the same invocation is in the `if` condition. ###...

VB -> C#

Skipped test here: https://github.com/icsharpcode/CodeConverter/pull/1116/commits/ebcb7e3d546989a7518666bcf7e616bde8d69b1c

help wanted
VB -> C#

### Input code ```csharp public static class ResponseMessageExtensions { public static void EnsureSuccessStatusCodeEx(this HttpResponseMessage responseMessage) { if (!responseMessage.IsSuccessStatusCode) { var responseText = responseMessage.Content.ReadAsStringAsync().Result; var contentType = responseMessage.Content.Headers.ContentType; throw new WebApiRequestException(responseMessage.ReasonPhrase,...

C# -> VB

Bumps [axios](https://github.com/axios/axios) from 1.7.7 to 1.8.2. Release notes Sourced from axios's releases. Release v1.8.2 Release notes: Bug Fixes http-adapter: add allowAbsoluteUrls to path building (#6810) (fb8eec2) Contributors to this release...

dependencies
javascript

Performed the following updates: - Updated Microsoft.Build.Tasks.Core to 17.14.7 in /Directory.Build.props, /Tests/Tests.csproj - Updated Microsoft.IO.Redist to 6.1.0 in /Tests/Tests.csproj - Updated System.Collections.Immutable to 9.0.0 in /Tests/Tests.csproj [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.Build.Tasks.Core&package-manager=nuget&previous-version=17.4.0&new-version=17.14.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You...

dependencies
.NET