This is a migrated thread and some comments may be shown as answers.

converter chokes on c# var

1 Answer 48 Views
Code Converter
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sky
Top achievements
Rank 1
sky asked on 15 Feb 2010, 09:04 PM
var s = new XmlSerializer(typeof(Bonder), new Type[]{typeof(Configs),typeof(BonderDevices),typeof(ServerInfo)});  

to
Dim s As var = New XmlSerializer(GetType(Bonder), New Type() {GetType(Configs), GetType(BonderDevices), GetType(ServerInfo)}) 


1 Answer, 1 is accepted

Sort by
0
Todd
Telerik team
answered on 22 Feb 2010, 10:12 PM
Hi sky,

Thanks for the feedback. We'll research what options exist in the latest version of NRefactory to address this and try to apply some updates to our converter. Unfortunately, NRefactory doesn't do 100% perfect conversions for all language features, but we'll definitely see what we can do.

-Todd

Tags
Code Converter
Asked by
sky
Top achievements
Rank 1
Answers by
Todd
Telerik team
Share this question
or