public void SetSearchPatterns()
 {
     SearchPatterns.Clear();
     foreach (var searchTerm in ForbiddenMethods)
     {
         SearchPatterns.Add(searchTerm, $"Enumerable.{searchTerm}({_root.Identifier})");
     }
 }
 public void SetSearchPatterns()
 {
     SearchPatterns.Clear();
     foreach (var searchTerm in ForbiddenMethods)
     {
         SearchPatterns.Add(searchTerm, $"{_root}.{searchTerm}()");
     }
 }