internal static MethodInfo[] GetIsOpenForEditMethods()
{
if (isOpenForEditMethods == null)
{
List<MethodInfo> list = new List<MethodInfo>();
foreach (Type type in AssetModificationProcessors)
{
MethodInfo method = type.GetMethod("IsOpenForEdit", BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static);
if (method != null)
{
RequireTeamLicense();
string str = "";
bool flag = false;
Type[] types = new Type[] { str.GetType(), str.GetType().MakeByRefType() };
if (CheckArgumentTypesAndReturnType(types, method, flag.GetType()))
{
list.Add(method);
}
}
}
isOpenForEditMethods = list.ToArray();
}
return isOpenForEditMethods;
}