Open sandboxFocus

Method SelectTypes

SelectTypes(bool)

Selects all types enclosed in declarations of the current set.

Declaration
IValidatorReceiver<INamedType, out TTag> SelectTypes(bool includeNestedTypes = true)
Parameters
Type Name Description
bool includeNestedTypes

Indicates whether nested types should be recursively included in the output.

Returns
Type Description
IValidatorReceiver<INamedType, TTag>
Remarks

This method projects ICompilation and INamespace to all the types in the compilation or namespace. It projects INamedType to itself. It projects members or parameters to their declaring types.

The query on the right part of SelectTypes(bool) is executed concurrently.

.