I think there are two libraries for "CIL" on Hackage, one is for Microsoft's CIL (aka MSIL) the other is for George Necula et als CIL (C Intermediate Language). Obviously you want the one for Microsoft CIL. http://hackage.haskell.org/package/language-cil