예제 #1
0
        /// <summary>
        /// Gets the type of System.Type descendant that implements runtime types.
        /// </summary>
        public virtual TypeDesc GetTypeOfRuntimeType()
        {
            ModuleDesc reflectionCoreModule = TypeSystemContext.GetModuleForSimpleName("System.Private.Reflection.Core", false);

            if (reflectionCoreModule != null)
            {
                return(reflectionCoreModule.GetKnownType("System.Reflection.Runtime.TypeInfos", "RuntimeTypeInfo"));
            }

            return(null);
        }