22 references to ToListAndFree
Microsoft.CodeAnalysis.CSharp (22)
Parser\LanguageParser.cs (21)
1823
return _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)),
5076
argumentList = _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));
11106
arguments = _pool.
ToListAndFree
(list);
11538
_pool.
ToListAndFree
(list),
12863
_pool.
ToListAndFree
(list));
13082
return _pool.
ToListAndFree
(nodes);
Parser\LanguageParser_Patterns.cs (1)
605
return _pool.
ToListAndFree
(arms);