You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class_failedMemberConversionMarker1{}
#error Cannot convert ClassBlockSyntax - see comment for details
/* Cannot convert ClassBlockSyntax, CONVERSION ERROR: An item with the same key has already been added. Key: btnOk in 'Public Class VBIsCaseInsens...' at character 203 at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Linq.Enumerable.ToDictionary[TSource,TKey](TSource[] source, Func`2 keySelector, IEqualityComparer`1 comparer) at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer) at ICSharpCode.CodeConverter.CSharp.HandledEventsAnalysis..ctor(CommonConversions commonConversions, INamedTypeSymbol type, IEnumerable`1 csharpEventContainerToHandlingMethods) in D:\GitWorkspace\CodeConverter\CodeConverter\CSharp\HandledEventsAnalysis.cs:line 35 at ICSharpCode.CodeConverter.CSharp.HandledEventsAnalyzer.AnalyzeAsync() in D:\GitWorkspace\CodeConverter\CodeConverter\CSharp\HandledEventsAnalyzer.cs:line 58 at ICSharpCode.CodeConverter.CSharp.DeclarationNodeVisitor.GetMethodWithHandlesAsync(TypeBlockSyntax parentType, IMethodSymbol designerGeneratedInitializeComponentOrNull) in D:\GitWorkspace\CodeConverter\CodeConverter\CSharp\DeclarationNodeVisitor.cs:line 637 at ICSharpCode.CodeConverter.CSharp.DeclarationNodeVisitor.ConvertMembersAsync(TypeBlockSyntax parentType) in D:\GitWorkspace\CodeConverter\CodeConverter\CSharp\DeclarationNodeVisitor.cs:line 216 at ICSharpCode.CodeConverter.CSharp.DeclarationNodeVisitor.VisitClassBlock(ClassBlockSyntax node) in D:\GitWorkspace\CodeConverter\CodeConverter\CSharp\DeclarationNodeVisitor.cs:line 328 at ICSharpCode.CodeConverter.CSharp.CommentConvertingVisitorWrapper.ConvertHandledAsync[T](VisualBasicSyntaxNode vbNode, SourceTriviaMapKind sourceTriviaMap) in D:\GitWorkspace\CodeConverter\CodeConverter\CSharp\CommentConvertingVisitorWrapper.cs:line 48Input:Public Class VBIsCaseInsensitive Inherits Global.System.Web.UI.Page Private Sub btnOk_Click(ByVal sender As Object, ByVal e As Global.System.EventArgs) Handles btnOK.Click End SubEnd Class */class_failedMemberConversionMarker2{}
#error Cannot convert ClassBlockSyntax - see comment for details
/*Cannot convert ClassBlockSyntax, CONVERSION ERROR: An item with the same key has already been added. Key: btnOk in 'Partial Public Class VBIsCa...' at character 408
at System.Collections.Generic.Dictionary`2.TryInsert(TKeykey,TValuevalue,InsertionBehaviorbehavior)
at System.Linq.Enumerable.ToDictionary[TSource,TKey](TSource[]source, Func`2keySelector, IEqualityComparer`1comparer)
at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable`1source, Func`2keySelector, IEqualityComparer`1comparer)
at ICSharpCode.CodeConverter.CSharp.HandledEventsAnalysis..ctor(CommonConversionscommonConversions,INamedTypeSymboltype, IEnumerable`1csharpEventContainerToHandlingMethods)in D:\GitWorkspace\CodeConverter\CodeConverter\CSharp\HandledEventsAnalysis.cs:line 35
at ICSharpCode.CodeConverter.CSharp.HandledEventsAnalyzer.AnalyzeAsync()in D:\GitWorkspace\CodeConverter\CodeConverter\CSharp\HandledEventsAnalyzer.cs:line 58
at ICSharpCode.CodeConverter.CSharp.DeclarationNodeVisitor.GetMethodWithHandlesAsync(TypeBlockSyntaxparentType,IMethodSymboldesignerGeneratedInitializeComponentOrNull)in D:\GitWorkspace\CodeConverter\CodeConverter\CSharp\DeclarationNodeVisitor.cs:line 637
at ICSharpCode.CodeConverter.CSharp.DeclarationNodeVisitor.ConvertMembersAsync(TypeBlockSyntaxparentType)in D:\GitWorkspace\CodeConverter\CodeConverter\CSharp\DeclarationNodeVisitor.cs:line 216
at ICSharpCode.CodeConverter.CSharp.DeclarationNodeVisitor.VisitClassBlock(ClassBlockSyntaxnode)in D:\GitWorkspace\CodeConverter\CodeConverter\CSharp\DeclarationNodeVisitor.cs:line 328
at ICSharpCode.CodeConverter.CSharp.CommentConvertingVisitorWrapper.ConvertHandledAsync[T](VisualBasicSyntaxNodevbNode,SourceTriviaMapKindsourceTriviaMap)in D:\GitWorkspace\CodeConverter\CodeConverter\CSharp\CommentConvertingVisitorWrapper.cs:line 48
VB.Net input code
Erroneous output
Expected output
Details
The text was updated successfully, but these errors were encountered: