SyntaxExtensions.ReturnsVoid Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
ReturnsVoid(DelegateDeclarationSyntax) | Returns true the specified delegate return type is Void. |
ReturnsVoid(LocalFunctionStatementSyntax) | Returns true if the specified local function' return type is Void. |
ReturnsVoid(MethodDeclarationSyntax) | Returns true if the specified method return type is Void. |
ReturnsVoid(DelegateDeclarationSyntax)
Returns true the specified delegate return type is Void.
public static bool ReturnsVoid(this Microsoft.CodeAnalysis.CSharp.Syntax.DelegateDeclarationSyntax delegateDeclaration)
Parameters
delegateDeclaration DelegateDeclarationSyntax
Returns
ReturnsVoid(LocalFunctionStatementSyntax)
Returns true if the specified local function' return type is Void.
public static bool ReturnsVoid(this Microsoft.CodeAnalysis.CSharp.Syntax.LocalFunctionStatementSyntax localFunctionStatement)
Parameters
localFunctionStatement LocalFunctionStatementSyntax
Returns
ReturnsVoid(MethodDeclarationSyntax)
Returns true if the specified method return type is Void.
public static bool ReturnsVoid(this Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodDeclaration)
Parameters
methodDeclaration MethodDeclarationSyntax