File tree Expand file tree Collapse file tree
ICSharpCode.CodeConverter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -683,7 +683,6 @@ public override CSharpSyntaxNode VisitEventStatement(VBSyntax.EventStatementSynt
683683 SyntaxFactory . VariableDeclaration ( ( TypeSyntax ) node . AsClause . Type . Accept ( TriviaConvertingVisitor ) ,
684684 SyntaxFactory . SingletonSeparatedList ( SyntaxFactory . VariableDeclarator ( id ) ) )
685685 ) ;
686- throw new NotSupportedException ( ) ;
687686 }
688687
689688
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ private SyntaxNode Format(SyntaxNode resultNode)
242242 private SyntaxNode GetSelectedNode ( SyntaxNode resultNode )
243243 {
244244 var selectedNode = resultNode . GetAnnotatedNodes ( AnnotationConstants . SelectedNodeAnnotationKind )
245- . SingleOrDefault ( ) ;
245+ . FirstOrDefault ( ) ;
246246 if ( selectedNode != null )
247247 {
248248 var children = _languageConversion . FindSingleImportantChild ( selectedNode ) ;
You can’t perform that action at this time.
0 commit comments