ECMA-334 C# Language Specification24.3.1: Compilation of an attribute |
The compilation of an attribute with attribute class T, positional-argument-list P and named-argument-list N, consists of the following steps:
object-creation-expression of the form new T(P). These steps either result in a compile-time error, or determine an instance constructor on T that can be invoked at run-time. Call this instance constructor C. named-argument Arg in N: named-argument Arg. positional-argument-list P and the named-argument-list N.