15 references to ToListAndFree
Microsoft.CodeAnalysis.CSharp (15)
Parser\LanguageParser.cs (14)
2177return _syntaxFactory.BaseList(colon, _pool.ToListAndFree(list)); 2270_pool.ToListAndFree(bounds)); 2369return _syntaxFactory.AllowsConstraintClause(allows, _pool.ToListAndFree(bounds)); 5282return _pool.ToListAndFree(variables); 5888_pool.ToListAndFree(tmpList)); 7929_pool.ToListAndFree(list), 7963_pool.ToListAndFree(list), 8041_pool.ToListAndFree(missingTypes), 8078_pool.ToListAndFree(types), 8156_pool.ToListAndFree(callingConventionModifiers), closeBracket); 10677_pool.ToListAndFree(listOfDesignations), 10736_pool.ToListAndFree(variables)); 14277_pool.ToListAndFree(list)); 14526return _pool.ToListAndFree(nodes);
Parser\LanguageParser_Patterns.cs (1)
656return _pool.ToListAndFree(arms);