CheckForCircularReference(Type, LinkedList<Type>) Method
Checks for circular references.
Namespace
CsvHelper.Configuration
Containing Type
ClassMap

Syntax

protected virtual bool CheckForCircularReference(Type type, LinkedList<Type> mapParents)

Parameters

Name Type Description
type Type The type to check for.
mapParents LinkedList<Type> The list of parents to check against.

Return Value

Type Description
bool A value indicating if a circular reference was found. True if a circular reference was found, otherwise false.