Metalama 2023.2 focuses on bugfixes and minor enhancements.
Platform updates
- Our test framework is now compatible with xUnit 2.5.0.
Enhancements
- The [Inheritable] annotation can now be added to type fabrics, which prompts the type fabric invocation not only for the target type but also for all derived types.
- In the code model, we've introduced APIs to filter collections by unbound generic types:
- ConversionKind.TypeDefinition has been added to match type definitions while ignoring any generic argument.
- New methods on the IAttributeCollection interface: OfAttributeType, Any.
- New method on the INamedTypeCollection interface: OfTypeDefinition.
Breaking changes
- The interpretation of ConversionKind.Default, utilized as a default parameter value in the Is API, has been adjusted to more accurately reflect the documented behavior of the C#
is
operator. This impacts any method accepting ConversionKind, whether explicitly specified or not.