From a8f953291e17745ee920d37c5143ab7556031301 Mon Sep 17 00:00:00 2001 From: Sven Boemer Date: Tue, 1 Mar 2022 08:43:08 -0800 Subject: Remove mention of PreserveDependencyAttribute from docs (#2666) --- docs/design/reflection-flow.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3