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; }