Skip to content

Commit d6b08f1

Browse files
author
Alexander Ulitin
committed
rd-reflection: assembly qualified name in rd reflection name for lazy-loading assemblies
1 parent 6b4d468 commit d6b08f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rd-net/RdFramework.Reflection/ReflectionRdActivator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,12 +446,12 @@ private static void SetOptimizeNested2<TKey, TValue>(object container) where TKe
446446

447447
public static string GetTypeName(Type type)
448448
{
449-
var typename = type.FullName;
449+
var typename = type.AssemblyQualifiedName;
450450
if (typeof(RdExtReflectionBindableBase).IsAssignableFrom(type))
451451
{
452452
var rpcInterface = ReflectionSerializerVerifier.GetRpcInterface(type.GetTypeInfo());
453453
if (rpcInterface != null)
454-
return rpcInterface.FullName;
454+
return rpcInterface.AssemblyQualifiedName;
455455
}
456456

457457
return typename;

0 commit comments

Comments
 (0)