Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Cecil is a library to generate and inspect .NET programs and libraries.
Failed to load latest commit information.
Mono.Cecil.Cil Merge branch 'pcl'
Mono.Cecil.Metadata Prevent exception on invalid blob index
Mono.Cecil.PE Simplify header
Mono.Cecil Avoid an exception when reading obfuscated nested type definition
Mono.Collections.Generic Remove unnecessary clear call
Mono.Security.Cryptography Simplify ifdefing out of CryptoService
Mono Remove support for net_2_0
System.Security.Cryptography Compiling version of PCL
Test Fix testing of CA empty blob on Mono
rocks Remove support for building against SL and the CF in favor of a PCL
symbols fix writting of row/col information in mdb
.gitattributes Use auto EOL for text
.gitignore Ignore roslyn stuff
.travis.yml Added travis CI Update copyrights
Mono.Cecil.Tests.settings Fix eol and props
Mono.Cecil.csproj Remove support for net_2_0
Mono.Cecil.nunit Added travis CI
Mono.Cecil.nuspec Remove support for net_2_0
Mono.Cecil.settings Remove support for net_2_0
Mono.Cecil.sln Remove support for net_2_0
Mono.Cecil.sln.DotSettings Fix eol and props
ProjectInfo.cs Remove support for building against SL and the CF in favor of a PCL Add travis badge
appveyor.yml Add appveyor config to the repo
mono.snk initial commit


Mono.Cecil is a library to generate and inspect programs and libraries in the ECMA CIL form.

To put it simply, you can use Cecil to:

  • Analyze .NET binaries using a simple and powerful object model, without having to load assemblies to use Reflection.
  • Modify .NET binaries, add new metadata structures and alter the IL code.

Cecil has been around since 2004 and is widely used in the .NET community.

The best way to learn how to use Cecil is to dive into the Cecil.Samples repository. It's a growing collection of samples with the goal of showing how to get things done using Cecil, as IL manipulation can sometime get tricky.

Read about the Cecil development on the development log.

To discuss Cecil, the best place is the mono-cecil Google Group.

Cecil is a project under the benevolent umbrella of the .NET Foundation.

.NET build status Mono build status Join the chat at

Something went wrong with that request. Please try again.