Open sandboxFocus

Method ToCollection

ToCollection(ICompilation?)

Evaluates the current query into a collection. This method should only be used for debugging or testing purposes.

Declaration
IReadOnlyCollection<out TDeclaration> ToCollection(ICompilation? compilation = null)
Parameters
Type Name Description
ICompilation compilation
Returns
Type Description
IReadOnlyCollection<TDeclaration>