File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Flow.Launcher.Localization.SourceGenerators/Localize Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,9 @@ private void GenerateSource(
171
171
PluginClassInfo pluginInfo ,
172
172
string assemblyNamespace )
173
173
{
174
- var enumFullName = enumSymbol . ToDisplayString ( SymbolDisplayFormat . FullyQualifiedFormat ) ;
174
+ var enumFullName = enumSymbol . ToDisplayString ( new SymbolDisplayFormat (
175
+ globalNamespaceStyle : SymbolDisplayGlobalNamespaceStyle . Omitted , // Remove global:: symbol
176
+ typeQualificationStyle : SymbolDisplayTypeQualificationStyle . NameAndContainingTypesAndNamespaces ) ) ;
175
177
var enumDataClassName = $ "{ enumSymbol . Name } { Constants . EnumLocalizeClassSuffix } ";
176
178
var enumName = enumSymbol . Name ;
177
179
var enumNamespace = enumSymbol . ContainingNamespace . ToDisplayString ( ) ;
You can’t perform that action at this time.
0 commit comments