// Token: 0x06001D76 RID: 7542 RVA: 0x00066A5C File Offset: 0x00064C5C
internal static bool CanUseQuickCache(CodeGroup group)
{
ArrayList arrayList = new ArrayList();
arrayList.Add(group);
for (int i = 0; i < arrayList.Count; i++)
{
group = (CodeGroup)arrayList[i];
IUnionSemanticCodeGroup unionSemanticCodeGroup = group as IUnionSemanticCodeGroup;
if (unionSemanticCodeGroup == null)
{
return(false);
}
if (!PolicyManager.TestPolicyStatement(group.PolicyStatement))
{
return(false);
}
IMembershipCondition membershipCondition = group.MembershipCondition;
if (membershipCondition != null && !(membershipCondition is IConstantMembershipCondition))
{
return(false);
}
IList children = group.Children;
if (children != null && children.Count > 0)
{
foreach (object value in children)
{
arrayList.Add(value);
}
}
}
return(true);
}