Example #1
0
 public void AddUsingDirective(UsingDirective newDir, bool checkDouble = true)
 {
     if (checkDouble)
     {
         if (!usingDirectives.Contains(newDir))
         {
             usingDirectives.Add(newDir);
         }
     }
     else
     {
         usingDirectives.Add(newDir);
     }
 }
Example #2
0
 public bool RemoveUsingDirective(UsingDirective toRem)
 {
     return(usingDirectives.Remove(toRem));
 }