Skip to content

Commit

Permalink
Merge pull request #260 from Cysharp/ku/enum-default-value
Browse files Browse the repository at this point in the history
Fix a problem with enum default value references
  • Loading branch information
hadashiA authored Mar 19, 2024
2 parents b75cd07 + fffe50e commit f3763ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MemoryPack.Generator/MemoryPackGenerator.Emitter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit f3763ab

Please sign in to comment.