Click or drag to resize

VisualBasicExtensions Class



Addition Visual Basic syntax extension methods.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysisVisualBasicExtensions

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis.VisualBasic (in Microsoft.CodeAnalysis.VisualBasic.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class VisualBasicExtensions
Methods
  NameDescription
Public methodStatic memberAny(SyntaxTokenList, SyntaxKind)
Tests whether a list contains token of a particular kind.
Public methodStatic memberAny(SyntaxTriviaList, SyntaxKind)
Tests whether a list contains trivia of a particular kind.
Public methodStatic memberAnyTNode(SeparatedSyntaxListTNode, SyntaxKind)
Tests whether a list contains node of a particular kind.
Public methodStatic memberAnyTNode(SyntaxListTNode, SyntaxKind)
Tests whether a list contains node of a particular kind.
Public methodStatic memberIndexOf(SyntaxTokenList, SyntaxKind)
Returns the index of the first token of a specified kind in the token list.
Public methodStatic memberIndexOf(SyntaxTriviaList, SyntaxKind)
Returns the index of the first trivia of a specified kind in the trivia list.
Public methodStatic memberIndexOfTNode(SeparatedSyntaxListTNode, SyntaxKind)
Returns the index of the first node of a specified kind in the node list.
Public methodStatic memberIndexOfTNode(SyntaxListTNode, SyntaxKind)
Returns the index of the first node of a specified kind in the node list.
Public methodStatic memberIsKind(SyntaxNode, SyntaxKind)
Determines if SyntaxNode is a specified kind.
Public methodStatic memberIsKind(SyntaxNodeOrToken, SyntaxKind)
Determines if a SyntaxNodeOrToken is a specified kind.
Public methodStatic memberIsKind(SyntaxToken, SyntaxKind)
Determines if SyntaxToken is a specified kind.
Public methodStatic memberIsKind(SyntaxTrivia, SyntaxKind)
Determines if SyntaxTrivia is a specified kind.
Top
See Also