Skip to content
Merged
Changes from 1 commit
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
Next Next commit
Consistently xref properties in ArgumentException
  • Loading branch information
ChrisMaddock authored May 11, 2018
commit 1089be703e90b24421a7e9f76c9c5c35566c81c4
8 changes: 4 additions & 4 deletions xml/System/ArgumentException.xml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@
|Property|Value|
|--------------|-----------|
|<xref:System.Exception.InnerException%2A>|The inner exception reference.|
|`Message`|The error message string.|
|<xref:System.Exception.Message%2A>|The localized error message string.|

]]></format>
</remarks>
Expand Down Expand Up @@ -376,8 +376,8 @@
|Property|Value|
|--------------|-----------|
|<xref:System.Exception.InnerException%2A>|The inner exception reference.|
|`Message`|The error message string.|
|`ParamName`|The parameter name string.|
|<xref:System.Exception.Message%2A>|The localized error message string.|
|<xref:System.Exception.ParamName%2A>|The parameter name string.|

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be <xref:System.ArgumentException.ParamName%2A>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rpetrusha - good spot!

Now you've pointed it out - I've noticed the other xref's are inconsistent in the file. Some reference <xref:System.ArgumentException.Message%2A>, others <xref:System.Exception.Message%2A>. Should they all be referencing ArgumentException, or does it not matter?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good question, @ChrisMaddock . They actually all should reference ArgumentException, since it overrides the base class Exception.Message.


]]></format>
</remarks>
Expand Down Expand Up @@ -541,4 +541,4 @@
</Docs>
</Member>
</Members>
</Type>
</Type>