Hey,

On Mon, Dec 6, 2010 at 2:03 PM, impworks <[email protected]> wrote:
> Is there any way to programmatically turn a type described by
> TypeDefinition to an array of that type?

TypeDefinition type = GetTypeDefinition ();
TypeReference array = new ArrayType (type);

Alternatively, you can use the MakeArrayType extension method in Cecil.Rocks.

Jb

-- 
--
mono-cecil

Reply via email to