From d6b08f19b400762cf24e871e32ce842546f12f8a Mon Sep 17 00:00:00 2001 From: Alexander Ulitin Date: Mon, 16 Dec 2024 22:25:48 +0100 Subject: [PATCH] rd-reflection: assembly qualified name in rd reflection name for lazy-loading assemblies --- rd-net/RdFramework.Reflection/ReflectionRdActivator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rd-net/RdFramework.Reflection/ReflectionRdActivator.cs b/rd-net/RdFramework.Reflection/ReflectionRdActivator.cs index f2cadb703..f2d588496 100644 --- a/rd-net/RdFramework.Reflection/ReflectionRdActivator.cs +++ b/rd-net/RdFramework.Reflection/ReflectionRdActivator.cs @@ -446,12 +446,12 @@ private static void SetOptimizeNested2(object container) where TKe public static string GetTypeName(Type type) { - var typename = type.FullName; + var typename = type.AssemblyQualifiedName; if (typeof(RdExtReflectionBindableBase).IsAssignableFrom(type)) { var rpcInterface = ReflectionSerializerVerifier.GetRpcInterface(type.GetTypeInfo()); if (rpcInterface != null) - return rpcInterface.FullName; + return rpcInterface.AssemblyQualifiedName; } return typename;