Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 343de60

Browse files
dotnet-botsafern
authored andcommitted
Use the message that the ReflectionTypeLoadException exception was initialized with (#15708)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com> Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
1 parent 8099491 commit 343de60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/src/CoreLib/System/Reflection/ReflectionTypeLoadException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public override string Message
6262
public override string ToString()
6363
{
6464
StringBuilder text = new StringBuilder();
65-
text.AppendLine(SR.ReflectionTypeLoad_LoadFailed);
65+
text.AppendLine(base.ToString());
6666

6767
foreach (Exception e in LoaderExceptions)
6868
{

0 commit comments

Comments
 (0)