CSharpFactory.TokenList Method
Containing Type: CSharpFactory
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
TokenList(Accessibility) | Creates a list of modifiers from the specified accessibility. |
TokenList(SyntaxKind, SyntaxKind, SyntaxKind) | |
TokenList(SyntaxKind, SyntaxKind) | |
TokenList(SyntaxKind) |
TokenList(Accessibility)
Creates a list of modifiers from the specified accessibility.
public static Microsoft.CodeAnalysis.SyntaxTokenList TokenList(Microsoft.CodeAnalysis.Accessibility accessibility)
Parameters
accessibility Accessibility
Returns
TokenList(SyntaxKind, SyntaxKind, SyntaxKind)
public static Microsoft.CodeAnalysis.SyntaxTokenList TokenList(Microsoft.CodeAnalysis.CSharp.SyntaxKind kind1, Microsoft.CodeAnalysis.CSharp.SyntaxKind kind2, Microsoft.CodeAnalysis.CSharp.SyntaxKind kind3)
Parameters
kind1 SyntaxKind
kind2 SyntaxKind
kind3 SyntaxKind
Returns
TokenList(SyntaxKind, SyntaxKind)
public static Microsoft.CodeAnalysis.SyntaxTokenList TokenList(Microsoft.CodeAnalysis.CSharp.SyntaxKind kind1, Microsoft.CodeAnalysis.CSharp.SyntaxKind kind2)
Parameters
kind1 SyntaxKind
kind2 SyntaxKind
Returns
TokenList(SyntaxKind)
public static Microsoft.CodeAnalysis.SyntaxTokenList TokenList(Microsoft.CodeAnalysis.CSharp.SyntaxKind kind)
Parameters
kind SyntaxKind