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(
171171 PluginClassInfo pluginInfo ,
172172 string assemblyNamespace )
173173 {
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 ) ) ;
175177 var enumDataClassName = $ "{ enumSymbol . Name } { Constants . EnumLocalizeClassSuffix } ";
176178 var enumName = enumSymbol . Name ;
177179 var enumNamespace = enumSymbol . ContainingNamespace . ToDisplayString ( ) ;
You can’t perform that action at this time.
0 commit comments