private void CompleteTypeRequestPathIfRequired(TypeRequestInfo typeRequestInfoForTypeJustConstructed)
{
lock (_lockObject)
{
if (_currentTypeRequestPath != null)
{
if (_currentTypeRequestPath.TypeCount > 0)
{
if (_currentTypeRequestPath.LastType == typeRequestInfoForTypeJustConstructed)
{
_currentTypeRequestPath.MarkTypeAsCreated(typeRequestInfoForTypeJustConstructed);
}
}
if (_currentTypeRequestPath.TypeCount == 0)
{
_currentTypeRequestPath = null;
}
}
}
}