Skip to main content

SyntaxAccessibility.WithoutExplicitAccessibility<TNode>(TNode) Method

Containing Type: SyntaxAccessibility

Assembly: Roslynator.CSharp.dll

Creates a new node with the explicit accessibility removed.

public static TNode WithoutExplicitAccessibility<TNode>(TNode node) where TNode : Microsoft.CodeAnalysis.SyntaxNode

Type Parameters

TNode

Parameters

node TNode

Returns

TNode