Skip to content

Commit f3763ab

Browse files
authored
Merge pull request #260 from Cysharp/ku/enum-default-value
Fix a problem with enum default value references
2 parents b75cd07 + fffe50e commit f3763ab

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)