public bool Convert(string ProvidedSource, out string ConvertedSource, out string ErrorMessage) { CodeSnippetConverter converter = new CodeSnippetConverter() { ReferencedContents = ReferencedContentsSingleton.ReferencedContents }; ConvertedSource = converter.VBToCSharp(ProvidedSource, out ErrorMessage); return(ErrorMessage.Length == 0); }
public void FixExpressionCase() { Assert.AreEqual("AppDomain.CurrentDomain", converter.VBToCSharp("appdomain.currentdomain", out errors)); }