Skip to content

Commit a939ae5

Browse files
Correcting the ArgumentNullException.xml string constructor example text (dotnet#7423)
1 parent 8d86de0 commit a939ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System/ArgumentNullException.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
|Property|Value|
192192
|--------------|-----------|
193193
|<xref:System.Exception.InnerException%2A>|A null reference (`Nothing` in Visual Basic).|
194-
|<xref:System.ArgumentException.Message%2A>|A localized error message string that identifies the null argument. For example, if the `paramName` argument is "arg1", the English language message string is:<br /><br /> `Value cannot be null.Parameter name: arg01`|
194+
|<xref:System.ArgumentException.Message%2A>|A localized error message string that identifies the null argument. For example, if the `paramName` argument is "arg1", the English language message string is:<br /><br />On .NET 5+ and .NET Core: `Value cannot be null. (Parameter name: 'arg1')`<br /><br />On .NET Framework: `Value cannot be null.\r\nParameter name: arg1`|
195195
|<xref:System.ArgumentException.ParamName%2A>|The parameter name string.|
196196
197197
]]></format>

0 commit comments

Comments
 (0)