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
Copy file name to clipboardExpand all lines: standard/attributes.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -474,7 +474,7 @@ The compilation of an *attribute* with attribute class `T`, *positional_argumen
474
474
475
475
### 22.4.3 Run-time retrieval of an attribute instance
476
476
477
-
The attribute instance represented by `T`, `C`, `P`, and `N`, and associated with `E` can be retrieved at run-time from the assembly `A` using the following steps:
477
+
Using the terms defined in [§22.4.2](attributes.md#2242-compilation-of-an-attribute), the attribute instance represented by `T`, `C`, `P`, and `N`, and associated with `E` can be retrieved at run-time from the assembly `A` using the following steps:
478
478
479
479
- Follow the run-time processing steps for executing an *object_creation_expression* of the form `new T(P)`, using the instance constructor `C` and values as determined at compile-time. These steps either result in an exception, or produce an instance `O` of `T`.
480
480
- For each *named_argument* `Arg` in `N`, in order:
@@ -490,7 +490,8 @@ The attribute instance represented by `T`, `C`, `P`, and `N`, and associated wi
490
490
<!-- markdownlint-enable MD028 -->
491
491
> *Example*: In an implementation of the CLI, the `Help` attribute instances in the assembly created by compiling the example program in [§22.2.3](attributes.md#2223-positional-and-named-parameters) can be retrieved with the following program:
0 commit comments