AnalyzeCSharp.

WithNamedTypes(Func<INamedTypeSymbol, bool>) Method

Summary

Restricts the initial result set to named type symbols (I.e., classes, interfaces, etc.). Also allows supplying an additional predicate on the named type.
Assembly
Wyam.CodeAnalysis.dll
Namespace
Wyam.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.
GitHub