CodeConverter icon indicating copy to clipboard operation
CodeConverter copied to clipboard

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

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

### VB.Net input code ```vbnet Dim i As Integer Dim d As Decimal i = d ``` ### Erroneous output ```C# int i; var d = default(decimal); i = (int)Math.Round(d);...

VB -> C#

### VB.Net input code ```vbnet Public Class FieldInitializationTest Private First As New Inner() Private Second As New Outer(First) End Class Public Class Inner End Class Public Class Outer Sub New(inner...

VB -> C#

### VB.Net input code ```vbnet Imports System.Drawing Public Class VisualBasicClass Public Sub M() Dim Shape = New Point() With { .X = 1, .Y = .X } End Sub End...

VB -> C#

### VB.Net input code ```vbnet Public Class ConversionTest7 Private Class MyEntity Property EntityId As Integer Property FavoriteColorId As Integer Property Name As String End Class Private Class MyColor Property ColorId...

enhancement
VB -> C#

Perhaps this should not be an issue or a feature request but I think it's worthy of discussion, and we can always delete later if needed. I'm about to Migrate...

enhancement

### VB.Net input code ```vbnet Sub S() Dim what = Microsoft.Office.Interop.Word.WdGoToItem.wdGoToLine Dim objRange As Microsoft.Office.Interop.Word.Range objRange = objRange.GoTo(what, , -1) objRange = objRange.GoTo(what, Nothing, -1) End Sub ``` where the...

exception caught
VB -> C#

### VB.Net input code We need a C#-project with a `ref return` first, f.e. ```cs public class MySpecialList { private T dummy; public ref T this[int i] { get {...

VB -> C#

### Steps to reproduce 1. Create a solution of multiple projects and some of the projects being a VBPROJ and used by other projects. 2. Convert a VB project to...

**Is your feature request related to a problem? Please describe.** I'm always frustrated when a hexadecimal constant is converted in a way I can't search for it anymore (in some...

enhancement

We have a solution with 33 projects, It is currently in UWP + Xaml Islands, as this seems to be not the way forwards now I would like to try...

needs-repro
VB -> C#