Example #1
0
 public IEnumerable <RootSingleNamespaceDeclaration> AllRootNamespacesUnordered()
 {
     if (latestLazyRootDeclaration == null)
     {
         return(allOlderRootDeclarations);
     }
     else
     {
         return(allOlderRootDeclarations.Concat(new[] { latestLazyRootDeclaration.Value }));
     }
 }
Example #2
0
 public IEnumerable <RootSingleNamespaceDeclaration> AllRootNamespacesUnordered()
 {
     if (latestLazyRootDeclaration == null)
     {
         return(allOlderRootDeclarations);
     }
     else
     {
         return(allOlderRootDeclarations.Concat(SpecializedCollections.SingletonEnumerable(latestLazyRootDeclaration.Value)));
     }
 }