Exemple #1
0
 public override IEnumerable <string> GetUsedNamespaces(bool includeSelf = false)
 {
     return(base.GetUsedNamespaces(includeSelf)
            .Union(Properties.SelectMany(p => p.GetUsedNamespaces()))
            .Union(Inherits.SelectMany(t => t.GetUsedNamespaces(true)))
            .Union(TypeArguments.SelectMany(t => t.GetUsedNamespaces(true))));
 }