Skip to content

Commit 8d556d9

Browse files
ChrisMaddockRon Petrusha
authored andcommitted
Consistently xref properties in ArgumentException (dotnet#174)
* Consistently xref properties in ArgumentException * Review changes
1 parent bfe52db commit 8d556d9

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

xml/System/ArgumentException.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@
119119
120120
|Property|Value|
121121
|--------------|-----------|
122-
|<xref:System.Exception.InnerException%2A>|A null reference (`Nothing` in Visual Basic).|
123-
|<xref:System.Exception.Message%2A>|The localized error message string.|
122+
|<xref:System.ArgumentException.InnerException%2A>|A null reference (`Nothing` in Visual Basic).|
123+
|<xref:System.ArgumentException.Message%2A>|The localized error message string.|
124124
125125
]]></format>
126126
</remarks>
@@ -167,7 +167,7 @@
167167
168168
|Property|Value|
169169
|--------------|-----------|
170-
|<xref:System.Exception.InnerException%2A>|A null reference (`Nothing` in Visual Basic).|
170+
|<xref:System.ArgumentException.InnerException%2A>|A null reference (`Nothing` in Visual Basic).|
171171
|<xref:System.ArgumentException.Message%2A>|The error message string.|
172172
173173
]]></format>
@@ -252,14 +252,14 @@
252252
## Remarks
253253
This constructor initializes the <xref:System.ArgumentException.Message%2A> property of the new instance using the value of the `message` parameter. The content of the `message` parameter is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
254254
255-
An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the <xref:System.Exception.InnerException%2A> property. The <xref:System.Exception.InnerException%2A> property returns the same value that is passed into the constructor, or `null` if the <xref:System.Exception.InnerException%2A> property does not supply the inner exception value to the constructor.
255+
An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the <xref:System.ArgumentException.InnerException%2A> property. The <xref:System.ArgumentException.InnerException%2A> property returns the same value that is passed into the constructor, or `null` if the <xref:System.ArgumentException.InnerException%2A> property does not supply the inner exception value to the constructor.
256256
257257
The following table shows the initial property values for an instance of <xref:System.ArgumentException>.
258258
259259
|Property|Value|
260260
|--------------|-----------|
261-
|<xref:System.Exception.InnerException%2A>|The inner exception reference.|
262-
|`Message`|The error message string.|
261+
|<xref:System.ArgumentException.InnerException%2A>|The inner exception reference.|
262+
|<xref:System.ArgumentException.Message%2A>|The localized error message string.|
263263
264264
]]></format>
265265
</remarks>
@@ -369,15 +369,15 @@
369369
370370
This constructor initializes the <xref:System.ArgumentException.ParamName%2A> property of the new instance using `paramName`. The content of `paramName` is intended to be understood by humans.
371371
372-
An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the <xref:System.Exception.InnerException%2A> property. The <xref:System.Exception.InnerException%2A> property returns the same value that is passed into the constructor, or `null` if the <xref:System.Exception.InnerException%2A> property does not supply the inner exception value to the constructor.
372+
An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the <xref:System.ArgumentException.InnerException%2A> property. The <xref:System.ArgumentException.InnerException%2A> property returns the same value that is passed into the constructor, or `null` if the <xref:System.ArgumentException.InnerException%2A> property does not supply the inner exception value to the constructor.
373373
374374
The following table shows the initial property values for an instance of <xref:System.ArgumentException>.
375375
376376
|Property|Value|
377377
|--------------|-----------|
378-
|<xref:System.Exception.InnerException%2A>|The inner exception reference.|
379-
|`Message`|The error message string.|
380-
|`ParamName`|The parameter name string.|
378+
|<xref:System.ArgumentException.InnerException%2A>|The inner exception reference.|
379+
|<xref:System.ArgumentException.Message%2A>|The localized error message string.|
380+
|<xref:System.ArgumentException.ParamName%2A>|The parameter name string.|
381381
382382
]]></format>
383383
</remarks>
@@ -541,4 +541,4 @@
541541
</Docs>
542542
</Member>
543543
</Members>
544-
</Type>
544+
</Type>

0 commit comments

Comments
 (0)