22 references to ToListAndFree
Microsoft.CodeAnalysis.CSharp (22)
Parser\LanguageParser.cs (21)
1823return _syntaxFactory.BaseList(colon, _pool.ToListAndFree(list)); 1904_pool.ToListAndFree(bounds)); 4486_syntaxFactory.VariableDeclaration(type, _pool.ToListAndFree(variables)), 4637_syntaxFactory.VariableDeclaration(type, _pool.ToListAndFree(variables)), 4683_syntaxFactory.VariableDeclaration(type, _pool.ToListAndFree(variables)), 5076argumentList = _syntaxFactory.BracketedArgumentList(open, _pool.ToListAndFree(args), close); 5169_syntaxFactory.VariableDeclaration(type, _pool.ToListAndFree(variables)), 5231_pool.ToListAndFree(tmpList)); 5558_pool.ToListAndFree(types), 7083_pool.ToListAndFree(list), 7117_pool.ToListAndFree(list), 7195_pool.ToListAndFree(missingTypes), 7232_pool.ToListAndFree(types), 7310_pool.ToListAndFree(callingConventionModifiers), closeBracket); 9469_syntaxFactory.VariableDeclaration(type, _pool.ToListAndFree(variables)), 9549_pool.ToListAndFree(listOfDesignations), 9596_pool.ToListAndFree(variables)); 11106arguments = _pool.ToListAndFree(list); 11538_pool.ToListAndFree(list), 12863_pool.ToListAndFree(list)); 13082return _pool.ToListAndFree(nodes);
Parser\LanguageParser_Patterns.cs (1)
605return _pool.ToListAndFree(arms);