예제 #1
0
        public static void NamespaceFromClass()
        {
            var code = @"using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace N
{
    class CodeReaderTests
    {
    }
}";

            Assert.AreEqual("N", CodeReader.Namespace(code));
        }