Skip to content

Commit a8f9532

Browse files
authored
Remove mention of PreserveDependencyAttribute from docs (#2666)
1 parent 6aa9837 commit a8f9532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/design/reflection-flow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ More details discussed in https://github.com/dotnet/runtime/issues/35339.
175175

176176
## Escape hatch: DynamicDependencyAttribute annotation
177177

178-
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.
178+
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.
179179

180180
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.
181181
See issue https://github.com/dotnet/runtime/issues/30902 for details.

0 commit comments

Comments
 (0)