Skip to content

Commit

Permalink
Merge pull request #503 from JetBrains/au/afqn
Browse files Browse the repository at this point in the history
rd-reflection: assembly qualified name in rd reflection name for lazy…
  • Loading branch information
ulex authored Jan 7, 2025
2 parents 6b4d468 + d6b08f1 commit 222b488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rd-net/RdFramework.Reflection/ReflectionRdActivator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -446,12 +446,12 @@ private static void SetOptimizeNested2<TKey, TValue>(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;
Expand Down

0 comments on commit 222b488

Please sign in to comment.