System\Xml\Xsl\XmlQueryType.cs (77)
293get { return (s_typeCodeToFlags[(int)TypeCode] & TypeFlags.IsNode) != 0; }
302get { return (s_typeCodeToFlags[(int)TypeCode] & TypeFlags.IsAtomicValue) != 0; }
311get { return (s_typeCodeToFlags[(int)TypeCode] & TypeFlags.IsNumeric) != 0; }
675private static readonly TypeFlags[] s_typeCodeToFlags = {
676/* XmlTypeCode.None */ TypeFlags.IsNode | TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
677/* XmlTypeCode.Item */ TypeFlags.None,
678/* XmlTypeCode.Node */ TypeFlags.IsNode,
679/* XmlTypeCode.Document */ TypeFlags.IsNode,
680/* XmlTypeCode.Element */ TypeFlags.IsNode,
681/* XmlTypeCode.Attribute */ TypeFlags.IsNode,
682/* XmlTypeCode.Namespace */ TypeFlags.IsNode,
683/* XmlTypeCode.ProcessingInstruction */ TypeFlags.IsNode,
684/* XmlTypeCode.Comment */ TypeFlags.IsNode,
685/* XmlTypeCode.Text */ TypeFlags.IsNode,
686/* XmlTypeCode.AnyAtomicType */ TypeFlags.IsAtomicValue,
687/* XmlTypeCode.UntypedAtomic */ TypeFlags.IsAtomicValue,
688/* XmlTypeCode.String */ TypeFlags.IsAtomicValue,
689/* XmlTypeCode.Boolean */ TypeFlags.IsAtomicValue,
690/* XmlTypeCode.Decimal */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
691/* XmlTypeCode.Float */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
692/* XmlTypeCode.Double */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
693/* XmlTypeCode.Duration */ TypeFlags.IsAtomicValue,
694/* XmlTypeCode.DateTime */ TypeFlags.IsAtomicValue,
695/* XmlTypeCode.Time */ TypeFlags.IsAtomicValue,
696/* XmlTypeCode.Date */ TypeFlags.IsAtomicValue,
697/* XmlTypeCode.GYearMonth */ TypeFlags.IsAtomicValue,
698/* XmlTypeCode.GYear */ TypeFlags.IsAtomicValue,
699/* XmlTypeCode.GMonthDay */ TypeFlags.IsAtomicValue,
700/* XmlTypeCode.GDay */ TypeFlags.IsAtomicValue,
701/* XmlTypeCode.GMonth */ TypeFlags.IsAtomicValue,
702/* XmlTypeCode.HexBinary */ TypeFlags.IsAtomicValue,
703/* XmlTypeCode.Base64Binary */ TypeFlags.IsAtomicValue,
704/* XmlTypeCode.AnyUri */ TypeFlags.IsAtomicValue,
705/* XmlTypeCode.QName */ TypeFlags.IsAtomicValue,
706/* XmlTypeCode.Notation */ TypeFlags.IsAtomicValue,
707/* XmlTypeCode.NormalizedString */ TypeFlags.IsAtomicValue,
708/* XmlTypeCode.Token */ TypeFlags.IsAtomicValue,
709/* XmlTypeCode.Language */ TypeFlags.IsAtomicValue,
710/* XmlTypeCode.NmToken */ TypeFlags.IsAtomicValue,
711/* XmlTypeCode.Name */ TypeFlags.IsAtomicValue,
712/* XmlTypeCode.NCName */ TypeFlags.IsAtomicValue,
713/* XmlTypeCode.Id */ TypeFlags.IsAtomicValue,
714/* XmlTypeCode.Idref */ TypeFlags.IsAtomicValue,
715/* XmlTypeCode.Entity */ TypeFlags.IsAtomicValue,
716/* XmlTypeCode.Integer */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
717/* XmlTypeCode.NonPositiveInteger */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
718/* XmlTypeCode.NegativeInteger */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
719/* XmlTypeCode.Long */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
720/* XmlTypeCode.Int */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
721/* XmlTypeCode.Short */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
722/* XmlTypeCode.Byte */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
723/* XmlTypeCode.NonNegativeInteger */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
724/* XmlTypeCode.UnsignedLong */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
725/* XmlTypeCode.UnsignedInt */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
726/* XmlTypeCode.UnsignedShort */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
727/* XmlTypeCode.UnsignedByte */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
728/* XmlTypeCode.PositiveInteger */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
729/* XmlTypeCode.YearMonthDuration */ TypeFlags.IsAtomicValue,
730/* XmlTypeCode.DayTimeDuration */ TypeFlags.IsAtomicValue,