Status of the migration of PostSharp features to Metalama
PostSharp Framework (PostSharp.dll)
The PostSharp Framework has been ported entirely to Metalama, with a few notable differences:
- You cannot intercept methods of an external assembly, but only of the current project.
- You cannot advise the event of suspending and resuming an
async
state machine like in PostSharp. Specifically, you cannot advise theawait
keyword. - You cannot intercept the raise semantic of an event, only the add and remove semantics.
- The concrete architecture constraints under the
PostSharp.Constraints
namespace have not been ported yet, but the underlying features are available in Metalama.
Patterns.*
NONE of the PostSharp.Patterns.*
packages have been ported yet.