Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSven Boemer <sbomer@gmail.com>2022-03-01 19:43:08 +0300
committerGitHub <noreply@github.com>2022-03-01 19:43:08 +0300
commita8f953291e17745ee920d37c5143ab7556031301 (patch)
tree6dec714d935514196a726851e7eac05930ae12ab /docs
parent6aa983732db9d7ac00250b74de085587612d0fd2 (diff)
Remove mention of PreserveDependencyAttribute from docs (#2666)
Diffstat (limited to 'docs')
-rw-r--r--docs/design/reflection-flow.md2
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.