diff --git a/src/MemoryPack.Generator/MemoryPackGenerator.Emitter.cs b/src/MemoryPack.Generator/MemoryPackGenerator.Emitter.cs index 547d5b5..4246386 100644 --- a/src/MemoryPack.Generator/MemoryPackGenerator.Emitter.cs +++ b/src/MemoryPack.Generator/MemoryPackGenerator.Emitter.cs @@ -1430,6 +1430,6 @@ string GetTypeFullName(ITypeSymbol typeSymbol, SemanticModel semanticModel) { var containingType = typeSymbol.ContainingType; var containingTypeFullName = containingType == null ? "" : GetTypeFullName(containingType, semanticModel) + "."; - return containingTypeFullName + typeSymbol.ToDisplayString(SymbolDisplayFormat.MinimallyQualifiedFormat); + return containingTypeFullName + typeSymbol.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat); } }