I have the following code to iterate through some properties of my class
IEnumerable<CodeProperty> properties = CodeParser.GetEntityProjectItem(this, EntityClassType.Entity).FileCodeModel.GetClassesByName(method.EntityPropertyClassName).First().GetIEnumerable<CodeProperty>().Where(property => property.Getter != null && property.Access == vsCMAccess.vsCMAccessPublic);
This is all good, I get my properties, next I am build up a custom class with the name and types of the properties, this again is fine apart from arrays.
for a string Property I get the Name and "System.String"
for a string[] Property I get the Name and ""
How can I get the array type using CodeProperty