• 0.11 12da1bf7e0

    Cecil 0.11 Stable

    archiver-bot released this 2019-08-20 11:12:07 -05:00 | 103 commits to master since this release

    Cecil 0.11 now ships for .NET 4.0 and .NET Standard 2.0.

    ⚠️ There's one breaking API change between 0.10 and 0.11 that is easy to address. C# 8 uses custom attributes on the GenericParamConstraint metadata table. Cecil introduces 0.11 a new type GenericParameterConstraint to represent that relationship.

    If previously you had code that looked like:

    foreach (var type in genericParameter.Constraints)
    {
        // ...
    }
    

    You need to write:

    foreach (var constraint in genericParameter.Constraints)
    {
        var type = constraint.ConstraintType;
        // ...
    }
    

    This releases closes:

    Contributors:

    • @atykhyy
    • @joshpeterson
    • @vargaz
    Downloads