@@ -10,10 +10,10 @@ namespace Dapr.Actors.Generators.Helpers
1010 public static partial class SyntaxFactoryHelpers
1111 {
1212 /// <summary>
13- /// Generates a syntax for <see cref="ArgumentNullException"></see > syntax for the given argument name.
13+ /// Generates a syntax for <see cref="ArgumentNullException"/ > syntax for the given argument name.
1414 /// </summary>
15- /// <param name="argumentName"></param>
16- /// <returns></returns>
15+ /// <param name="argumentName">Name of the argument that generated the exception. </param>
16+ /// <returns>Returns <see cref="ThrowExpressionSyntax"/> used to throw an <see cref="ArgumentNullException"/>. </returns>
1717 public static ThrowExpressionSyntax ThrowArgumentNullException ( string argumentName )
1818 {
1919 return SyntaxFactory . ThrowExpression (
@@ -33,8 +33,8 @@ public static ThrowExpressionSyntax ThrowArgumentNullException(string argumentNa
3333 /// <summary>
3434 /// Generates a syntax for null check for the given argument name.
3535 /// </summary>
36- /// <param name="argumentName"></param>
37- /// <returns></returns>
36+ /// <param name="argumentName">Name of the argument whose null check is to be generated. </param>
37+ /// <returns>Returns <see cref="IfStatementSyntax"/> representing an argument null check. </returns>
3838 public static IfStatementSyntax ThrowIfArgumentNull ( string argumentName )
3939 {
4040 return SyntaxFactory . IfStatement (
@@ -53,8 +53,8 @@ public static IfStatementSyntax ThrowIfArgumentNull(string argumentName)
5353 /// <summary>
5454 /// Generates a syntax for nameof expression for the given argument name.
5555 /// </summary>
56- /// <param name="argumentName"></param>
57- /// <returns></returns>
56+ /// <param name="argumentName">Name of the argument from which the syntax is to be generated. </param>
57+ /// <returns>Return a <see cref="ExpressionSyntax"/> representing a NameOf expression. </returns>
5858 public static ExpressionSyntax NameOfExpression ( string argumentName )
5959 {
6060 var nameofIdentifier = SyntaxFactory . Identifier (
@@ -76,11 +76,11 @@ public static ExpressionSyntax NameOfExpression(string argumentName)
7676 /// <summary>
7777 /// Generates the invocation syntax to call a remote method with the actor proxy.
7878 /// </summary>
79- /// <param name="actorProxyMemberSyntax">Memeber syntax to access actorProxy member.</param>
79+ /// <param name="actorProxyMemberSyntax">Member syntax to access actorProxy member.</param>
8080 /// <param name="remoteMethodName">Name of remote method to invoke.</param>
8181 /// <param name="remoteMethodParameters">Remote method parameters.</param>
8282 /// <param name="remoteMethodReturnTypes">Return types of remote method invocation.</param>
83- /// <returns></returns>
83+ /// <returns>The <see cref="InvocationExpressionSyntax"/> representing a call to the actor proxy. </returns>
8484 public static InvocationExpressionSyntax ActorProxyInvokeMethodAsync (
8585 MemberAccessExpressionSyntax actorProxyMemberSyntax ,
8686 string remoteMethodName ,
@@ -124,9 +124,9 @@ public static InvocationExpressionSyntax ActorProxyInvokeMethodAsync(
124124 /// <summary>
125125 /// Returns the syntax kinds for the specified accessibility.
126126 /// </summary>
127- /// <param name="accessibility"></param>
128- /// <returns></returns>
129- /// <exception cref="InvalidOperationException"></exception>
127+ /// <param name="accessibility">Accessibility to convert into a SyntaxKind. </param>
128+ /// <returns>Return the collection of <see cref="SyntaxKind"/> representing the given accessibility. </returns>
129+ /// <exception cref="InvalidOperationException">Throws when un unexpected syntax is passed. </exception>
130130 public static ICollection < SyntaxKind > GetSyntaxKinds ( Accessibility accessibility )
131131 {
132132 var syntaxKinds = new List < SyntaxKind > ( ) ;
0 commit comments