示例#1
0
        public override bool Contains(object key)
        {
            if (_hidden.Contains(key))
            {
                return(false);
            }

            string strKey = key as string;

            if (strKey != null)
            {
                return(_data.ContainsKey(SymbolTable.StringToId(strKey)));
            }
            else
            {
                return(_data.ContainsObjectKey(key));
            }
        }
示例#2
0
 public bool ContainsObjectKey(object name)
 {
     return(_dict.ContainsObjectKey(name));
 }