ToCollection(ICompilation?)
Evaluates the current query into a collection. This method should only be used for debugging or testing purposes.
Declaration
[Obsolete("The ToCollection method is meant for debugging and testing only. It does not work at design time.")]
IReadOnlyCollection<out TDeclaration> ToCollection(ICompilation? compilation = null)
Parameters
Type | Name | Description |
---|---|---|
ICompilation | compilation |
Returns
Type | Description |
---|---|
IReadOnlyCollection<TDeclaration> |