private void FillSPQueryObjectList(Field field)
        {
            string str;
            bool   flag = false;

            try
            {
                SPQueryObject current;
                using (List <SPQueryObject> .Enumerator enumerator = this.m_listSPQueryObject.GetEnumerator())
                {
                    while (enumerator.MoveNext())
                    {
                        current = enumerator.Current;
                        if (((current.ObjectType.Equals(field.Type.FullName) && current.ObjectName.Equals(field.Name.Name)) && current.MethodName.Equals(string.Empty)) && current.ClassName.Equals(field.DeclaringType.FullName))
                        {
                            flag = true;
                            goto Label_00A9;
                        }
                    }
                }
Label_00A9:
                if (!flag)
                {
                    current = new SPQueryObject {
                        ObjectType    = field.Type.FullName,
                        ObjectName    = field.Name.Name,
                        ClassName     = field.DeclaringType.FullName,
                        NameSpaceName = field.DeclaringType.Namespace.Name,
                        IsStatic      = field.IsStatic
                    };
                    this.m_listSPQueryObject.Add(current);
                }
            }
            catch (NullReferenceException exception)
            {
                str = string.Empty;
                Logging.UpdateLog(CustomRulesResource.ErrorOccured + "SharePointCustomRowLimitExistCheck:FillSPQueryObjectList() - " + exception.Message);
            }
            catch (Exception exception2)
            {
                str = string.Empty;
                Logging.UpdateLog(CustomRulesResource.ErrorOccured + "SharePointCustomRowLimitExistCheck:FillSPQueryObjectList() - " + exception2.Message);
            }
        }
        private void FillSPQueryObjectListForParameters(Method method)
        {
            try
            {
                for (short i = 0; i < method.Parameters.Count; i = (short)(i + 1))
                {
                    SPQueryObject current;
                    Parameter     parameter = method.Parameters[i];
                    if (!parameter.Type.FullName.Equals("Microsoft.SharePoint.SPQuery"))
                    {
                        continue;
                    }
                    bool flag = false;
                    using (List <SPQueryObject> .Enumerator enumerator = this.m_listSPQueryObject.GetEnumerator())
                    {
                        while (enumerator.MoveNext())
                        {
                            current = enumerator.Current;
                            if (((current.ObjectType.Equals(parameter.Type.FullName) && current.ObjectName.Equals(parameter.Name.Name)) && current.ClassName.Equals(method.DeclaringType.FullName)) && current.MethodName.Equals(method.Name.Name))
                            {
                                flag = true;
                                goto Label_00E6;
                            }
                        }
                    }
Label_00E6:
                    if (!flag)
                    {
                        current = new SPQueryObject {
                            ObjectType = parameter.Type.FullName,
                            ObjectName = parameter.Name.Name,
                            MethodName = method.Name.Name,
                            ClassName  = method.DeclaringType.FullName
                        };
                        this.m_listSPQueryObject.Add(current);
                    }
                }
            }
            catch (Exception exception)
            {
                Logging.UpdateLog(CustomRulesResource.ErrorOccured + "SharePointCustomRowLimitExistCheck:FillSPQueryObjectListForParameters() - " + exception.Message);
            }
        }