Mono.Cecil v0.11 Release Notes
Release Date: 2019-08-30 // over 4 years ago-
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 typeGenericParameterConstraint
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: