Esempio n. 1
0
        private static IEnumerable <KeyValuePair <string, DType> > StringTypeSuggestions(DType scopeType, int argumentIndex, out bool requiresSuggestionEscaping)
        {
            Contracts.AssertValid(scopeType);
            Contracts.Assert(0 <= argumentIndex);

            requiresSuggestionEscaping = true;

            if (argumentIndex == 0)
            {
                return(IntellisenseHelper.GetSuggestionsFromType(scopeType, DType.String));
            }

            return(EnumerableUtils.Yield <KeyValuePair <string, DType> >());
        }