Skip to content

Commit

Permalink
bug: 移除命名域上的global::前缀
Browse files Browse the repository at this point in the history
  • Loading branch information
ihonliu committed Dec 7, 2024
1 parent ce0f9d1 commit b4b593a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoWasmApi.Roslyn/HttpServiceInvokerGeneratorImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private static bool CreateCodeFile(INamedTypeSymbol interfaceSymbol, List<Diagno
members.Add(constructor);

var classBuilder = invokeClass.AddMembers([.. members]);
var ns = NamespaceBuilder.Default.Namespace(interfaceSymbol.ContainingNamespace.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat));
var ns = NamespaceBuilder.Default.Namespace(interfaceSymbol.ContainingNamespace.ToDisplayString());
var namespaceBuilder = ns.AddMembers(classBuilder);
file = CodeFile.New($"{interfaceSymbol.FormatFileName()}ApiInvoker.g.cs")
.AddUsings("using Microsoft.Extensions.DependencyInjection;")
Expand Down

0 comments on commit b4b593a

Please sign in to comment.