Skip to content

Commit fffe50e

Browse files
committed
Fix a problem with enum default value references
1 parent b75cd07 commit fffe50e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MemoryPack.Generator/MemoryPackGenerator.Emitter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,6 +1430,6 @@ string GetTypeFullName(ITypeSymbol typeSymbol, SemanticModel semanticModel)
14301430
{
14311431
var containingType = typeSymbol.ContainingType;
14321432
var containingTypeFullName = containingType == null ? "" : GetTypeFullName(containingType, semanticModel) + ".";
1433-
return containingTypeFullName + typeSymbol.ToDisplayString(SymbolDisplayFormat.MinimallyQualifiedFormat);
1433+
return containingTypeFullName + typeSymbol.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat);
14341434
}
14351435
}

0 commit comments

Comments
 (0)