15 references to ToListAndFree
Microsoft.CodeAnalysis.CSharp (15)
Parser\LanguageParser.cs (14)
2147return _syntaxFactory.BaseList(colon, _pool.ToListAndFree(list)); 2240_pool.ToListAndFree(bounds)); 2339return _syntaxFactory.AllowsConstraintClause(allows, _pool.ToListAndFree(bounds)); 5108return _pool.ToListAndFree(variables); 5652_pool.ToListAndFree(tmpList)); 7699_pool.ToListAndFree(list), 7733_pool.ToListAndFree(list), 7811_pool.ToListAndFree(missingTypes), 7848_pool.ToListAndFree(types), 7926_pool.ToListAndFree(callingConventionModifiers), closeBracket); 10334_pool.ToListAndFree(listOfDesignations), 10393_pool.ToListAndFree(variables)); 13909_pool.ToListAndFree(list)); 14153return _pool.ToListAndFree(nodes);
Parser\LanguageParser_Patterns.cs (1)
631return _pool.ToListAndFree(arms);