15 references to ToListAndFree
Microsoft.CodeAnalysis.CSharp (15)
Parser\LanguageParser.cs (14)
2149return _syntaxFactory.BaseList(colon, _pool.ToListAndFree(list)); 2242_pool.ToListAndFree(bounds)); 2341return _syntaxFactory.AllowsConstraintClause(allows, _pool.ToListAndFree(bounds)); 5240return _pool.ToListAndFree(variables); 5845_pool.ToListAndFree(tmpList)); 7886_pool.ToListAndFree(list), 7920_pool.ToListAndFree(list), 7998_pool.ToListAndFree(missingTypes), 8035_pool.ToListAndFree(types), 8113_pool.ToListAndFree(callingConventionModifiers), closeBracket); 10634_pool.ToListAndFree(listOfDesignations), 10693_pool.ToListAndFree(variables)); 14234_pool.ToListAndFree(list)); 14483return _pool.ToListAndFree(nodes);
Parser\LanguageParser_Patterns.cs (1)
656return _pool.ToListAndFree(arms);