You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0.5.79-preview has been released with the following improvements:
New Features
The new namespace Metalama.Extensions.Architecture allows you to validate your code against architectural rules. It is released as open source. There is currently no documentation except this README.md and documentation of the architecture attribute API and fabric API. Feedback welcome!
Improvements
Attempt to report a better exception when an invalid .NET version or processor architecture is selected.
It is now possible to declare diagnostics on other types than aspects and fabrics.
Aspect serialization: support for ImmutableHashSet.
New kinds of references can be validated: override member, implement interface member.
The test framework accepts 2 new options @RemoveOutputCode and @RemoveDiagnosticMessage.
Fixes
Errors when an aspect was defined in a project and used in another one with field/property initializers, async templates, iterator templates.
Overriding an event generated thread-unsafe code.
TypedConstant cannot be created for nullable value types from non-nullable values.
Field-level attributes of automatic properties should be moved to the implementing field.
Overriding event field introduced as explicit interface implementation produces invalid code
Non-compile-time attributes should be removed from compile-time code.
Syntax highlighting throws invalidOperationException in constructor local function.
The aspect repository is not available from reference validators.
In templates, system nested types are consider run-time instead of scope-neutral.
Failure when instantiating an aspect an init property accessor from compile-time code.
IFieldOrProperty.InitializerExpression fails for properties.
IField.InitializerExpression throws exception with enum member.
In the test framework, incomplete simplification of attributes with global using.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
0.5.79-preview has been released with the following improvements:
New Features
Metalama.Extensions.Architecture
allows you to validate your code against architectural rules. It is released as open source. There is currently no documentation except this README.md and documentation of the architecture attribute API and fabric API. Feedback welcome!Improvements
ImmutableHashSet
.@RemoveOutputCode
and@RemoveDiagnosticMessage
.Fixes
TypedConstant
cannot be created for nullable value types from non-nullable values.IFieldOrProperty.InitializerExpression
fails for properties.IField.InitializerExpression
throws exception with enum member.global using
.Beta Was this translation helpful? Give feedback.
All reactions