CSharpFactory.RemoveAccessorDeclaration Method
Containing Type: CSharpFactory
Assembly: Roslynator.CSharp.dll
Overloads
RemoveAccessorDeclaration(ArrowExpressionClauseSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax RemoveAccessorDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax expressionBody)
Parameters
expressionBody ArrowExpressionClauseSyntax
Returns
RemoveAccessorDeclaration(BlockSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax RemoveAccessorDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax body)
Parameters
body BlockSyntax
Returns
RemoveAccessorDeclaration(SyntaxTokenList, ArrowExpressionClauseSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax RemoveAccessorDeclaration(Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax expressionBody)
Parameters
modifiers SyntaxTokenList
expressionBody ArrowExpressionClauseSyntax
Returns
RemoveAccessorDeclaration(SyntaxTokenList, BlockSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax RemoveAccessorDeclaration(Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax body)
Parameters
modifiers SyntaxTokenList
body BlockSyntax