private bool LoadObject(ObjectContext contextToLoad, ObjectContext[] doNotEvict)
{
do
{
contextToLoad.TheTpmHandle = Tpm._AllowErrors().ContextLoad(contextToLoad.Context);
if (Tpm._LastCommandSucceeded())
{
break;
}
bool spaceMade = MakeSpace(contextToLoad.TheSlotType, doNotEvict);
if (!spaceMade)
{
return false;
}
} while (true);
contextToLoad.Loaded = true;
return true;
}