Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ServiceScan.SourceGenerator.Tests/CustomHandlerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ namespace GeneratorTests;

public static partial class ServicesExtensions
{
public static partial GeneratorTests.IServices ProcessServices(this GeneratorTests.IServices services)
public static partial global::GeneratorTests.IServices ProcessServices(this global::GeneratorTests.IServices services)
{
HandleType<global::GeneratorTests.MyService1>(services);
HandleType<global::GeneratorTests.MyService2>(services);
Expand Down
5 changes: 3 additions & 2 deletions ServiceScan.SourceGenerator/Model/MethodModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ record MethodModel(

public static MethodModel Create(IMethodSymbol method, SyntaxNode syntax)
{
EquatableArray<ParameterModel> parameters = [.. method.Parameters.Select(p => new ParameterModel(p.Type.ToDisplayString(), p.Name))];
EquatableArray<ParameterModel> parameters = [.. method.Parameters
.Select(p => new ParameterModel(p.Type.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat), p.Name))];

var typeSyntax = syntax.FirstAncestorOrSelf<TypeDeclarationSyntax>();

Expand All @@ -36,7 +37,7 @@ public static MethodModel Create(IMethodSymbol method, SyntaxNode syntax)
Parameters: parameters,
IsExtensionMethod: method.IsExtensionMethod,
ReturnsVoid: method.ReturnsVoid,
ReturnType: method.ReturnType.ToDisplayString());
ReturnType: method.ReturnType.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat));
}

private static string GetModifiers(SyntaxNode syntax)
Expand Down
Loading