Пример #1
0
        private static Type BuildMetaInfoType(ModuleBuilder moduleBuilder, ITypeDescription type)
        {
            var typeBuilder = moduleBuilder.DefineType(MetaDataNameSpace + "." + CodeGenerationUtils.ClassName(type.TypeName), CodeGenerationUtils.PublicClass());

            AddNameProperty(typeBuilder, type);
            return(typeBuilder.CreateType());
        }
Пример #2
0
 private static string BuildName(TypeName className)
 {
     return(NameSpace + "." + CodeGenerationUtils.ClassName(className));
 }