Esempio n. 1
0
 private Dom.ICompilationUnit ConvertCompilationUnit(NRefactory.Ast.CompilationUnit cu)
 {
     Dom.NRefactoryResolver.NRefactoryASTConvertVisitor converter;
     converter = new Dom.NRefactoryResolver.NRefactoryASTConvertVisitor(Global.Projects.CSProjectContent);
     cu.AcceptVisitor(converter, null);
     return(converter.Cu);
 }
Esempio n. 2
0
 Dom.ICompilationUnit ConvertCompilationUnit(NRefactory.Ast.CompilationUnit cu)
 {
     Dom.NRefactoryResolver.NRefactoryASTConvertVisitor converter;
     converter = new Dom.NRefactoryResolver.NRefactoryASTConvertVisitor(myProjectContent);
     cu.AcceptVisitor(converter, null);
     return converter.Cu;
 }