Skip to content

fix exception type #2544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions xml/System.Composition.Convention/PartConventionBuilder`1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<summary>Exports a specified property with the specified configuration.</summary>
<returns>An object that can be used to further configure the part.</returns>
<remarks></remarks>
<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>
<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>
</Docs>
</Member>
<Member MemberName="ExportProperty&lt;TContract&gt;">
Expand Down Expand Up @@ -114,7 +114,7 @@
<summary>Exports a specified property as a specified contract type.</summary>
<returns>An object that can be used to further configure the part.</returns>
<remarks></remarks>
<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>
<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>
</Docs>
</Member>
<Member MemberName="ExportProperty&lt;TContract&gt;">
Expand Down Expand Up @@ -207,7 +207,7 @@
<summary>Imports a specified property by using the specified configuration.</summary>
<returns>An object that can be used to further configure the part.</returns>
<remarks></remarks>
<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>
<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>
</Docs>
</Member>
<Member MemberName="ImportProperty&lt;TContract&gt;">
Expand Down Expand Up @@ -274,7 +274,7 @@
<summary>Imports a specified property with the specified contract type and configuration.</summary>
<returns>An object that can be used to further configure the part.</returns>
<remarks></remarks>
<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>
<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>
</Docs>
</Member>
<Member MemberName="NotifyImportsSatisfied">
Expand Down Expand Up @@ -303,7 +303,7 @@
<summary>Selects a method to be called when composition is complete.</summary>
<returns>An object that can be used to further configure the part.</returns>
<remarks></remarks>
<exception cref="T:System.Argument">The <paramref name="methodSelector" /> expression must be a <see langword="void" /> method with no arguments.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="methodSelector" /> expression must be a <see langword="void" /> method with no arguments.</exception>
</Docs>
</Member>
<Member MemberName="SelectConstructor">
Expand Down Expand Up @@ -332,7 +332,7 @@
<summary>Selects a constructor to be used in composition.</summary>
<returns>An object that can be used to further configure the part. </returns>
<remarks></remarks>
<exception cref="T:System.Argument">The <paramref name="constructorSelector" /> expression must use the <see langword="new" /> operator.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="constructorSelector" /> expression must use the <see langword="new" /> operator.</exception>
</Docs>
</Member>
</Members>
Expand Down