StyleCop.CSharp by StyleCop contributors, Andy Reeves, Chris Dahlberg

<PackageReference Include="StyleCop.CSharp" Version="6.2.0" />

.NET API 245,760 bytes

 CsTokenList

public class CsTokenList : ItemList<CsToken>
A list of tokens.
public CsTokenList(MasterList<CsToken> masterList)

Initializes a new instance of the CsTokenList class.

public CsTokenList(MasterList<CsToken> masterList, Node<CsToken> firstItemNode, Node<CsToken> lastItemNode)

Initializes a new instance of the CsTokenList class.

public static Node<CsToken> GetNextCodeToken(Node<CsToken> start)

Gets the next non-whitespace, non-comment token.

public static bool MatchTokens(Node<CsToken> start, string[] values)

Determines whether the given token list contains the given strings, skipping whitespace tokens and comments.

public static bool MatchTokens(StringComparison comparisonType, Node<CsToken> start, string[] values)

Determines whether the given token list contains the given strings, skipping whitespace tokens and comments.

public bool MatchTokens(string[] values)

Determines whether the token list contains the given strings, skipping whitespace tokens and comments.

public bool MatchTokens(StringComparison comparisonType, string[] values)

Determines whether the token list contains the given strings, skipping whitespace tokens and comments.