Click or drag to resize

CSharpExtensions Class



Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysisCSharpExtensions

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis.CSharp (in Microsoft.CodeAnalysis.CSharp.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public static class CSharpExtensions
Methods
  NameDescription
Public methodStatic memberAny(SyntaxTokenList, SyntaxKind)
Tests whether a list contains a token of a particular kind.
Public methodStatic memberAny(SyntaxTriviaList, SyntaxKind)
True if the list has at least one trivia of the specified kind.
Public methodStatic memberAnyTNode(SeparatedSyntaxListTNode, SyntaxKind)
True if the list has at least one node of the specified kind.
Public methodStatic memberAnyTNode(SyntaxListTNode, SyntaxKind)
True if the list has at least one node of the specified 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)
Public methodStatic memberIsKind(SyntaxNodeOrToken, SyntaxKind)
Public methodStatic memberIsKind(SyntaxToken, SyntaxKind)
Public methodStatic memberIsKind(SyntaxTrivia, SyntaxKind)
Top
See Also