Skip to content

Commit

Permalink
Fixed merge errors
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Menegazzo <manuel.menegazzo@outlook.com>
  • Loading branch information
m3nax committed Sep 3, 2024
1 parent dfe32e4 commit fe942b9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
5 changes: 2 additions & 3 deletions all.sln
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1BD1276E-D28A-45EA-89B1-6AD48471500D}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
README.md = README.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dapr.Actors.AspNetCore.Test", "test\Dapr.Actors.AspNetCore.Test\Dapr.Actors.AspNetCore.Test.csproj", "{9C1D6ABA-5EDE-4FA0-A8A9-0AB98CB74737}"
Expand Down Expand Up @@ -346,6 +347,4 @@ Global
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {65220BF2-EAE1-4CB2-AA58-EBE80768CB40}
EndGlobalSection
EndGlobal
lobalSection
EndGlobal
EndGlobal
14 changes: 9 additions & 5 deletions src/Dapr.Actors.Generators/ActorClientGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,14 @@ static void GenerateActorClientCode(SourceProductionContext context, ActorClient
/// <summary>
/// Generates the method implementation for the specified method.
/// </summary>
/// <param name="method"></param>
/// <param name="generateActorClientAttributeSymbol"></param>
/// <param name="cancellationTokenSymbol"></param>
/// <returns></returns>
/// <param name="method">
/// MethodSymbol extracted from the actor interface representing the method to generate.
/// </param>
/// <param name="generateActorClientAttributeSymbol">
/// ActorMethodAttribute symbol used to extract generation the original actor method to use when making runtime calls.
/// </param>
/// <param name="cancellationTokenSymbol">Used to check search the position of optional cancellationToken.</param>
/// <returns>Returns a <see cref="MethodDeclarationSyntax"/> of the generated method.</returns>
private static MethodDeclarationSyntax GenerateMethodImplementation(
IMethodSymbol method,
INamedTypeSymbol generateActorClientAttributeSymbol,
Expand Down Expand Up @@ -262,7 +266,7 @@ private static MethodDeclarationSyntax GenerateMethodImplementation(
}
}

// Extract the return type of the method.
// Extract the return type of the original method.
var methodReturnType = (INamedTypeSymbol)method.ReturnType;

// Generate the method implementation.
Expand Down

0 comments on commit fe942b9

Please sign in to comment.