Skip to content

Commit bc698c9

Browse files
authored
Remove mentions of Fields on ImportAttribute (#4422)
ImportAttribute has never supported fields. It looks like the docs were wrong.
1 parent 4245579 commit bc698c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xml/System.Composition/ImportAttribute.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</Attribute>
2525
</Attributes>
2626
<Docs>
27-
<summary>Specifies that a property, field, or parameter value should be provided by the host container.</summary>
27+
<summary>Specifies that a property or parameter value should be provided by the host container.</summary>
2828
<remarks>
2929
</remarks>
3030
</Docs>
@@ -100,9 +100,9 @@
100100
<ReturnType>System.Boolean</ReturnType>
101101
</ReturnValue>
102102
<Docs>
103-
<summary>Gets or sets a value that indicates whether the property, field, or parameter will be set to its type's default value when an export with the contract name is not present in the container.</summary>
103+
<summary>Gets or sets a value that indicates whether the property or parameter will be set to its type's default value when an export with the contract name is not present in the container.</summary>
104104
<value>
105-
<see langword="true" /> if the property, field, or parameter will be set to its type's default value when there is no export with the contract name in the host container; otherwise, <see langword="false" />. The default is <see langword="false" />.</value>
105+
<see langword="true" /> if the property or parameter will be set to its type's default value when there is no export with the contract name in the host container; otherwise, <see langword="false" />. The default is <see langword="false" />.</value>
106106
<remarks>
107107
</remarks>
108108
</Docs>

0 commit comments

Comments
 (0)