Open sandboxFocusImprove this doc

Working with Errors, Warnings, and Messages

Like any compiler, PostSharp can emit messages, warnings, and errors, which are commonly called messages. Custom code running at build time (typically the implementation of CompileTimeValidate or of a custom constraint) can use the PostSharp messaging facility to emit its own messages.

In this section: