Skip to content

Commit 9143ac1

Browse files
authored
fix exception type (#2544)
1 parent f4ab3fc commit 9143ac1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

xml/System.Composition.Convention/PartConventionBuilder`1.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<summary>Exports a specified property with the specified configuration.</summary>
8282
<returns>An object that can be used to further configure the part.</returns>
8383
<remarks></remarks>
84-
<exception cref="T:System.Argument">The <paramref name="propertySelector" /> expression must be a <see cref="T:System.Linq.Expressions.MemberExpression" /> for accessing a property.</exception>
84+
<exception cref="T:System.ArgumentException">The <paramref name="propertySelector" /> expression must be a <see cref="T:System.Linq.Expressions.MemberExpression" /> for accessing a property.</exception>
8585
</Docs>
8686
</Member>
8787
<Member MemberName="ExportProperty&lt;TContract&gt;">
@@ -114,7 +114,7 @@
114114
<summary>Exports a specified property as a specified contract type.</summary>
115115
<returns>An object that can be used to further configure the part.</returns>
116116
<remarks></remarks>
117-
<exception cref="T:System.Argument">The <paramref name="propertySelector" /> expression must be a <see cref="T:System.Linq.Expressions.MemberExpression" /> for accessing a property.</exception>
117+
<exception cref="T:System.ArgumentException">The <paramref name="propertySelector" /> expression must be a <see cref="T:System.Linq.Expressions.MemberExpression" /> for accessing a property.</exception>
118118
</Docs>
119119
</Member>
120120
<Member MemberName="ExportProperty&lt;TContract&gt;">
@@ -207,7 +207,7 @@
207207
<summary>Imports a specified property by using the specified configuration.</summary>
208208
<returns>An object that can be used to further configure the part.</returns>
209209
<remarks></remarks>
210-
<exception cref="T:System.Argument">The <paramref name="propertySelector" /> expression must be a <see cref="T:System.Linq.Expressions.MemberExpression" /> for accessing a property.</exception>
210+
<exception cref="T:System.ArgumentException">The <paramref name="propertySelector" /> expression must be a <see cref="T:System.Linq.Expressions.MemberExpression" /> for accessing a property.</exception>
211211
</Docs>
212212
</Member>
213213
<Member MemberName="ImportProperty&lt;TContract&gt;">
@@ -274,7 +274,7 @@
274274
<summary>Imports a specified property with the specified contract type and configuration.</summary>
275275
<returns>An object that can be used to further configure the part.</returns>
276276
<remarks></remarks>
277-
<exception cref="T:System.Argument">The <paramref name="propertySelector" /> expression must be a <see cref="T:System.Linq.Expressions.MemberExpression" /> for accessing a property.</exception>
277+
<exception cref="T:System.ArgumentException">The <paramref name="propertySelector" /> expression must be a <see cref="T:System.Linq.Expressions.MemberExpression" /> for accessing a property.</exception>
278278
</Docs>
279279
</Member>
280280
<Member MemberName="NotifyImportsSatisfied">
@@ -303,7 +303,7 @@
303303
<summary>Selects a method to be called when composition is complete.</summary>
304304
<returns>An object that can be used to further configure the part.</returns>
305305
<remarks></remarks>
306-
<exception cref="T:System.Argument">The <paramref name="methodSelector" /> expression must be a <see langword="void" /> method with no arguments.</exception>
306+
<exception cref="T:System.ArgumentException">The <paramref name="methodSelector" /> expression must be a <see langword="void" /> method with no arguments.</exception>
307307
</Docs>
308308
</Member>
309309
<Member MemberName="SelectConstructor">
@@ -332,7 +332,7 @@
332332
<summary>Selects a constructor to be used in composition.</summary>
333333
<returns>An object that can be used to further configure the part. </returns>
334334
<remarks></remarks>
335-
<exception cref="T:System.Argument">The <paramref name="constructorSelector" /> expression must use the <see langword="new" /> operator.</exception>
335+
<exception cref="T:System.ArgumentException">The <paramref name="constructorSelector" /> expression must use the <see langword="new" /> operator.</exception>
336336
</Docs>
337337
</Member>
338338
</Members>

0 commit comments

Comments
 (0)