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()); }
private static string BuildName(TypeName className) { return(NameSpace + "." + CodeGenerationUtils.ClassName(className)); }