converter chokes on c# var

2 posts, 0 answers
  1. sky
    sky avatar
    6 posts
    Member since:
    Jul 2007

    Posted 15 Feb 2010 Link to this post

    var s = new XmlSerializer(typeof(Bonder), new Type[]{typeof(Configs),typeof(BonderDevices),typeof(ServerInfo)});  

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

  2. Todd
    Todd avatar
    66 posts

    Posted 22 Feb 2010 Link to this post

    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.


Back to Top