diff --git a/src/PatternKit.Generators/DecoratorGenerator.cs b/src/PatternKit.Generators/DecoratorGenerator.cs index 7cfa1af..1494c6a 100644 --- a/src/PatternKit.Generators/DecoratorGenerator.cs +++ b/src/PatternKit.Generators/DecoratorGenerator.cs @@ -661,7 +661,7 @@ private static string FormatDefaultValue(IParameterSymbol param) } // Use Roslyn's culture-invariant literal formatting for all other types - return SymbolDisplay.FormatPrimitive(param.ExplicitDefaultValue, quoteStrings: true, useHexadecimalNumbers: false); + return Microsoft.CodeAnalysis.CSharp.SymbolDisplay.FormatPrimitive(param.ExplicitDefaultValue, quoteStrings: true, useHexadecimalNumbers: false); } private static bool HasAttribute(ISymbol symbol, string attributeName)