I have tried with a simple ILasm code

.field private int32[1...3, 2...2, -4...10] Wow;

Cecil reads the following ArrayShape :

shape.Rank = 3
shape.NumSize = 3
shape.Sizes = { 3, 1, 15 }
shape.NumLoBounds = 3
shape.LoBounds = {2, 4, 121} <== This should be {1, 2, -4}

--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to