@@ -654,10 +654,21 @@ private void FillInternal(object objectToFill, HashStack<Type> typeTracker = nul
654654 . Where ( prop => this . GetSetMethodOnDeclaringType ( prop ) != null )
655655 . ToArray ( ) ;
656656
657- this . FillPropertiesOfObject ( objectToFill , properties , currentSetup , typeTracker ) ;
657+ this . FillProperties ( objectToFill , properties , currentSetup , typeTracker ) ;
658658 }
659659
660- private void FillPropertiesOfObject ( object objectToFill , PropertyInfo [ ] properties , FillerSetupItem currentSetup , HashStack < Type > typeTracker )
660+ /// <summary>
661+ /// This method will fill the given <see cref="properties"/> of the given <see cref="objectToFill"/>
662+ /// </summary>
663+ /// <param name="objectToFill">The object to fill</param>
664+ /// <param name="properties">The properties of the <see cref="objectToFill"/> which shall get filled</param>
665+ /// <param name="currentSetup">
666+ /// The setup for the current object
667+ /// </param>
668+ /// <param name="typeTracker">
669+ /// The dictionaryType tracker to find circular dependencies
670+ /// </param>
671+ private void FillProperties ( object objectToFill , PropertyInfo [ ] properties , FillerSetupItem currentSetup , HashStack < Type > typeTracker )
661672 {
662673 if ( properties . Length == 0 )
663674 {
@@ -825,7 +836,7 @@ private IList GetFilledList(Type propertyType, FillerSetupItem currentSetupItem,
825836 . Where ( prop => this . GetSetMethodOnDeclaringType ( prop ) != null )
826837 . ToArray ( ) ;
827838
828- this . FillPropertiesOfObject ( list , remainingProperties , currentSetupItem , typeTracker ) ;
839+ this . FillProperties ( list , remainingProperties , currentSetupItem , typeTracker ) ;
829840 }
830841
831842 return list ;
0 commit comments