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

Commit 7fc586b

Browse files
author
Atsushi Kanamori
committed
Fix a failure in System.Reflection.DispatchProxy.Tests on ILC
- unnecessary metadata dependency in Assert error string.
1 parent 064e0d8 commit 7fc586b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System.Reflection.DispatchProxy/tests/DispatchProxyTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public static void Create_Proxy_Instances_Of_Same_Proxy_And_Base_Type_Are_Unique
7070
Assert.NotNull(proxy1);
7171
Assert.NotNull(proxy2);
7272
Assert.False(object.ReferenceEquals(proxy1, proxy2),
73-
String.Format("First and second instance of proxy type {0} were the same instance", proxy1.GetType().Name));
73+
String.Format("First and second instance of proxy type {0} were the same instance", proxy1.GetType().ToString()));
7474
}
7575

7676

0 commit comments

Comments
 (0)