diff options
author | Sven Boemer <sbomer@gmail.com> | 2022-02-28 20:30:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-28 20:30:58 +0300 |
commit | 60fe0f18742c3815e8387b7380586ee50cbb8bd2 (patch) | |
tree | 9ec526cad8d9de4afe8fe7a4583d25efd720391e | |
parent | 396c37d82384dde6132d1cef684d5caf27e5b330 (diff) |
Remove mention of PreserveDependencyAttribute from docsremovePreserveDependencyMention
-rw-r--r-- | docs/design/reflection-flow.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/design/reflection-flow.md b/docs/design/reflection-flow.md index a3df9cb3f..329deaaaf 100644 --- a/docs/design/reflection-flow.md +++ b/docs/design/reflection-flow.md @@ -175,7 +175,7 @@ More details discussed in https://github.com/dotnet/runtime/issues/35339. ## Escape hatch: DynamicDependencyAttribute annotation -This is an existing custom attribute (known as `PreserveDependencyAttribute`) understood by the linker. This attribute allows the user to declare the type name, method/field name, and signature (all as a string) of a method or field that the method dynamically depends on. +This is an existing custom attribute (known as `DynamicDependencyAttribute`) understood by the linker. This attribute allows the user to declare the type name, method/field name, and signature (all as a string) of a method or field that the method dynamically depends on. When the linker sees a method/constructor/field annotated with this attribute as necessary, it also marks the referenced member as necessary. It also suppresses all analysis within the method. See issue https://github.com/dotnet/runtime/issues/30902 for details. |