Example #1
0
        public override SyntaxNode VisitCompilationUnit(CompilationUnitSyntax node)
        {
            var xunitTree  = (CompilationUnitSyntax)base.VisitCompilationUnit(node);
            var withUsings = AddRequiredUsings.AddUsings(xunitTree, options);

            return(withUsings);
        }
 public NUnitToXUnitVisitor(Options options)
 {
     this.options  = options;
     this.requires = AddRequiredUsings.GetDefaultState();
 }