Skip to content

Commit e00c976

Browse files
YohDeadfallRon Petrusha
andcommitted
Fixed exception reason for CreateInstance<T> (#3167)
* Fixed exception reason for CreateInstance<T> * Fixed generic parameter reference Co-Authored-By: Ron Petrusha <[email protected]>
1 parent d3af8a5 commit e00c976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System/Activator.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,7 @@
17461746
</para>
17471747
</block>
17481748

1749-
The type that is specified for <paramref name="T" /> does not have a parameterless constructor.</exception>
1749+
Cannot create an instance of an abstract class, or the type that is specified for <typeparamref name="T" /> does not have a parameterless constructor.</exception>
17501750
</Docs>
17511751
</Member>
17521752
<MemberGroup MemberName="CreateInstanceFrom">

0 commit comments

Comments
 (0)