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