Skip to content

Commit 222b488

Browse files
authored
Merge pull request #503 from JetBrains/au/afqn
rd-reflection: assembly qualified name in rd reflection name for lazy…
2 parents 6b4d468 + d6b08f1 commit 222b488

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)