private static void AddLastIPProfiler(List<ProfilerChoise> profilers)
 {
   // ISSUE: object of a compiler-generated type is created
   // ISSUE: variable of a compiler-generated type
   AttachProfilerUI.\u003CAddLastIPProfiler\u003Ec__AnonStoreyA7 profilerCAnonStoreyA7 = new AttachProfilerUI.\u003CAddLastIPProfiler\u003Ec__AnonStoreyA7();
   // ISSUE: reference to a compiler-generated field
   profilerCAnonStoreyA7.lastIP = ProfilerIPWindow.GetLastIPString();
   // ISSUE: reference to a compiler-generated field
   if (string.IsNullOrEmpty(profilerCAnonStoreyA7.lastIP))
     return;
   // ISSUE: reference to a compiler-generated field
   // ISSUE: reference to a compiler-generated method
   profilers.Add(new ProfilerChoise()
   {
     Name = profilerCAnonStoreyA7.lastIP,
     Enabled = true,
     IsSelected = (Func<bool>) (() => ProfilerDriver.connectedProfiler == 65261),
     ConnectTo = new System.Action(profilerCAnonStoreyA7.\u003C\u003Em__1EA)
   });
 }
Exemplo n.º 2
0
 private static void AddLastIPProfiler(List <ProfilerChoise> profilers)
 {
     // ISSUE: object of a compiler-generated type is created
     // ISSUE: variable of a compiler-generated type
     AttachProfilerUI.\u003CAddLastIPProfiler\u003Ec__AnonStoreyA7 profilerCAnonStoreyA7 = new AttachProfilerUI.\u003CAddLastIPProfiler\u003Ec__AnonStoreyA7();
     // ISSUE: reference to a compiler-generated field
     profilerCAnonStoreyA7.lastIP = ProfilerIPWindow.GetLastIPString();
     // ISSUE: reference to a compiler-generated field
     if (string.IsNullOrEmpty(profilerCAnonStoreyA7.lastIP))
     {
         return;
     }
     // ISSUE: reference to a compiler-generated field
     // ISSUE: reference to a compiler-generated method
     profilers.Add(new ProfilerChoise()
     {
         Name       = profilerCAnonStoreyA7.lastIP,
         Enabled    = true,
         IsSelected = (Func <bool>)(() => ProfilerDriver.connectedProfiler == 65261),
         ConnectTo  = new System.Action(profilerCAnonStoreyA7.\u003C\u003Em__1EA)
     });
 }