示例#1
0
 public static IEnumerable <T> GetAnnotatedNodes <T>(this SyntaxNode node, SyntaxAnnotation syntaxAnnotation) where T : SyntaxNode
 {
     return(node.GetAnnotatedNodesAndTokens(syntaxAnnotation).OfType <T>());
 }