예제 #1
0
        public void TypeCodeLocation()
        {
            Type      target = typeof(ReflectionPolicySample.Class1);
            ITypeInfo info   = GetType(target);

            var codeLocation = info.GetCodeLocation();

            if (codeLocation != CodeLocation.Unknown)
            {
                Assert.EndsWith(codeLocation.Path, "ReflectionPolicySample.cs");
            }
        }