IEnumerable <ScopeBlock> getAllScopeBlocks(ScopeBlock scopeBlock) { var list = new List <ScopeBlock>(); list.Add(scopeBlock); list.AddRange(scopeBlock.getAllScopeBlocks()); return(list); }
IEnumerable<ScopeBlock> getAllScopeBlocks(ScopeBlock scopeBlock) { var list = new List<ScopeBlock>(); list.Add(scopeBlock); list.AddRange(scopeBlock.getAllScopeBlocks()); return list; }