Source/NFX/CodeAnalysis/PatternSearch.cs
/// <summary>
/// Returns true when token's type is any of the specified
/// </summary>
Returns true when token's type is any of the specified
Returns true when token ' s type is any of the specified
public static bool TypeIsAnyOf<TToken>(this TToken token,
                                              params int[] types) where TToken : Token
       {
         foreach(var t in types)
          if (token.OrdinalType == t) return true;
         return false;
       }
public static bool TypeIsAnyOf < TToken > ( this TToken token , params int [ ] types ) where TToken : Token { foreach ( var t in types ) if ( token . OrdinalType == t ) return true ; return false ; }
Returns true when token's type is any of the specified
Returns true when token ' s type is any of the specified
TToken
this
<not_specific>