示例#1
0
        public override ImmutableArray <Symbol> GetMembers()
        {
            // Return all the elements from every IGrouping in the ILookup.
            if (allMembers.IsDefault)
            {
                var builder = ArrayBuilder <Symbol> .GetInstance();

                cachedLookup.AddValues(builder);
                allMembers = builder.ToImmutableAndFree();
            }

            return(allMembers);
        }