Skip to main content

SyntaxInfo.SimpleMemberInvocationStatementInfo Method

Containing Type: SyntaxInfo

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
SimpleMemberInvocationStatementInfo(ExpressionStatementSyntax, Boolean)Creates a new SimpleMemberInvocationStatementInfo from the specified expression statement.
SimpleMemberInvocationStatementInfo(InvocationExpressionSyntax, Boolean)Creates a new SimpleMemberInvocationStatementInfo from the specified invocation expression.
SimpleMemberInvocationStatementInfo(SyntaxNode, Boolean)Creates a new SimpleMemberInvocationStatementInfo from the specified node.

SimpleMemberInvocationStatementInfo(ExpressionStatementSyntax, Boolean)

Creates a new SimpleMemberInvocationStatementInfo from the specified expression statement.

public static Roslynator.CSharp.Syntax.SimpleMemberInvocationStatementInfo SimpleMemberInvocationStatementInfo(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionStatementSyntax expressionStatement, bool allowMissing = false)

Parameters

expressionStatement ExpressionStatementSyntax

allowMissing Boolean

Returns

SimpleMemberInvocationStatementInfo

SimpleMemberInvocationStatementInfo(InvocationExpressionSyntax, Boolean)

Creates a new SimpleMemberInvocationStatementInfo from the specified invocation expression.

public static Roslynator.CSharp.Syntax.SimpleMemberInvocationStatementInfo SimpleMemberInvocationStatementInfo(Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax invocationExpression, bool allowMissing = false)

Parameters

invocationExpression InvocationExpressionSyntax

allowMissing Boolean

Returns

SimpleMemberInvocationStatementInfo

SimpleMemberInvocationStatementInfo(SyntaxNode, Boolean)

Creates a new SimpleMemberInvocationStatementInfo from the specified node.

public static Roslynator.CSharp.Syntax.SimpleMemberInvocationStatementInfo SimpleMemberInvocationStatementInfo(Microsoft.CodeAnalysis.SyntaxNode node, bool allowMissing = false)

Parameters

node SyntaxNode

allowMissing Boolean

Returns

SimpleMemberInvocationStatementInfo