WithNamedTypes(Func<INamedTypeSymbol, bool>) Method
Restricts the initial result set to named type symbols (I.e., classes, interfaces, etc.). Also allows supplying an additional predicate on the named type.
Namespace
Statiq.CodeAnalysis
Containing Type
AnalyzeCSharp

Syntax

public AnalyzeCSharp WithNamedTypes(Func<INamedTypeSymbol, bool> predicate = null)

Parameters

Name Type Description
predicate Func<INamedTypeSymbol, bool> A predicate that returns true if the symbol should be included in the initial result set.

Return Value

Type Description
AnalyzeCSharp The current module instance.