Exemplo n.º 1
0
 private void method_7()
 {
     this.class89_1   = new Class89();
     this.class89_0   = new Class89();
     this.class89_2   = new Class89();
     this.arrayList_0 = new ArrayList();
     this.arrayList_1 = new ArrayList();
     this.arrayList_2 = new ArrayList();
     this.arrayList_3 = new ArrayList();
     this.class241_0  = new Class241(this);
     this.class468_0  = new Class468(this);
     this.class973_0  = new Class973(this);
     this.class918_0  = new Class918(this);
     this.class569_0  = new Class569(this);
     this.class471_0  = new Class471(this);
     this.class470_0  = new Class470(this);
     this.class850_0  = new Class850(this);
     this.class691_0  = new Class691(this);
     this.class690_0  = new Class690(this);
     this.class528_0  = new Class528(this);
     this.hashtable_0 = new Hashtable();
     this.class476_0  = new Class476();
     this.class88_0   = new Class88(this);
     this.class88_0.method_0();
     new Class1094(this).method_0();
     this.arrayList_3.Clear();
     new Class793(this).method_0();
     this.openDocumentWritingStage_0 = OpenDocumentWritingStage.MathML;
     this.method_15().Accept(this);
     new Class239(this).method_0(this.method_6());
     new Class849(this).method_0();
     this.class476_0.method_3(this.class928_0.stream_0, this.method_6());
 }
 public abstract void Visit(Class471 c);
Exemplo n.º 3
0
        // Token: 0x060028D0 RID: 10448 RVA: 0x0009A000 File Offset: 0x00098200
        private static bool smethod_10(Process p, out string logFile)
        {
            Class335.smethod_2(Class142.string_7, true);
            List <FileSystemInfo> list = Class471.smethod_2(p.Id);

            if (list != null)
            {
                using (List <FileSystemInfo> .Enumerator enumerator = list.GetEnumerator())
                {
                    while (enumerator.MoveNext())
                    {
                        FileSystemInfo fileSystemInfo = enumerator.Current;
                        if (fileSystemInfo is FileInfo && string.Equals(fileSystemInfo.Extension, Class142.string_4, StringComparison.OrdinalIgnoreCase) && fileSystemInfo.Name.StartsWith("toontown", StringComparison.OrdinalIgnoreCase) && fileSystemInfo.Exists)
                        {
                            logFile = fileSystemInfo.FullName;
                            Class335.smethod_3(Class142.string_6, new object[]
                            {
                                logFile
                            });
                            return(true);
                        }
                    }
                    goto IL_B4;
                }
                bool result;
                return(result);
            }
            Class335.smethod_2(Class142.string_5, true);
IL_B4:
            string text = null;

            if ((p.StartInfo == null || string.IsNullOrEmpty(text = p.StartInfo.WorkingDirectory)) && p.MainModule != null)
            {
                text = Path.GetDirectoryName(p.MainModule.FileName);
            }
            if (!string.IsNullOrEmpty(text) && Directory.Exists(text))
            {
                Class142.Class442 @class = new Class142.Class442();
                Class335.smethod_3(Class142.string_2, new object[]
                {
                    text
                });
                @class.dateTime_0 = p.StartTime;
                @class.hashSet_0  = Class142.smethod_3();
                IEnumerable <string> source = Class234.smethod_1(text, Class142.string_3, Class142.string_4).Where(new Func <string, bool>(@class.method_0));
                if (Class142.func_0 == null)
                {
                    Class142.func_0 = new Func <string, bool>(Class142.smethod_12);
                }
                string[] array = source.Where(Class142.func_0).Where(new Func <string, bool>(@class.method_1)).ToArray <string>();
                if (array.Length == 1)
                {
                    logFile = array[0];
                    Class335.smethod_3(Class142.string_1, new object[]
                    {
                        logFile
                    });
                    return(true);
                }
            }
            Class335.smethod_2(Class142.string_0, true);
            logFile = null;
            return(false);
        }
 public override void Visit(Class471 c) { }