예제 #1
0
 internal override ImmutableArray <Symbol> GetEarlyAttributeDecodingMembers()
 {
     return(_unbound
       ? GetMembers()
       : OriginalDefinition
            .GetEarlyAttributeDecodingMembers()
            .SelectAsArray(s_symbolAsMemberFunc, this));
 }
예제 #2
0
        internal override ImmutableArray <Symbol> GetEarlyAttributeDecodingMembers(string name)
        {
            if (_unbound)
            {
                return(GetMembers(name));
            }

            var builder = ArrayBuilder <Symbol> .GetInstance();

            foreach (var t in OriginalDefinition.GetEarlyAttributeDecodingMembers(name))
            {
                builder.Add(t.SymbolAsMember(this));
            }

            return(builder.ToImmutableAndFree());
        }