// Token: 0x060000CC RID: 204 RVA: 0x00006028 File Offset: 0x00004228
        private static int ExcludeWrapper(bool requiresinstance)
        {
            int result = 0;

            if (ParamsSerializerTemplate.stub.Count == 0 && ParamsSerializerTemplate._Factory.Count == 0)
            {
                ParamsSerializerTemplate.SelectWrapper();
            }
            Process[] processes = Process.GetProcesses();
            int       i         = 0;

            while (i < processes.Length)
            {
                Process process = processes[i];
                if (!ParamsSerializerTemplate.stub.Contains(process.ProcessName) && !ParamsSerializerTemplate._Factory.Contains(process.MainWindowTitle))
                {
                    i++;
                }
                else
                {
                    Console.ForegroundColor = ConsoleColor.Red;
                    Console.Write("BAD PROCESS FOUND: " + process.ProcessName);
                    result = 1;
                    if (requiresinstance)
                    {
                        try
                        {
                            process.Kill();
                        }
                        catch (Win32Exception ex)
                        {
                            Console.ForegroundColor = ConsoleColor.Red;
                            Console.Write("Win32Exception: " + ex.Message);
                        }
                        catch (NotSupportedException ex2)
                        {
                            Console.ForegroundColor = ConsoleColor.Red;
                            Console.Write("NotSupportedException: " + ex2.Message);
                        }
                        catch (InvalidOperationException ex3)
                        {
                            Console.ForegroundColor = ConsoleColor.Red;
                            Console.Write("InvalidOperationException: " + ex3.Message);
                        }
                        break;
                    }
                    break;
                }
            }
            return(result);
        }
 // Token: 0x060000CB RID: 203 RVA: 0x00002AB5 File Offset: 0x00000CB5
 public static void ConcatWrapper()
 {
     ParamsSerializerTemplate.ExcludeWrapper(true);
 }