System\Xml\Xsl\XmlQueryType.cs (77)
306get { return (TypeCodeToFlags[(int)TypeCode] & TypeFlags.IsNode) != 0; }
314get { return (TypeCodeToFlags[(int)TypeCode] & TypeFlags.IsAtomicValue) != 0; }
322get { return (TypeCodeToFlags[(int)TypeCode] & TypeFlags.IsNumeric) != 0; }
650private static readonly TypeFlags[] TypeCodeToFlags = {
651/* XmlTypeCode.None */ TypeFlags.IsNode | TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
652/* XmlTypeCode.Item */ TypeFlags.None,
653/* XmlTypeCode.Node */ TypeFlags.IsNode,
654/* XmlTypeCode.Document */ TypeFlags.IsNode,
655/* XmlTypeCode.Element */ TypeFlags.IsNode,
656/* XmlTypeCode.Attribute */ TypeFlags.IsNode,
657/* XmlTypeCode.Namespace */ TypeFlags.IsNode,
658/* XmlTypeCode.ProcessingInstruction */ TypeFlags.IsNode,
659/* XmlTypeCode.Comment */ TypeFlags.IsNode,
660/* XmlTypeCode.Text */ TypeFlags.IsNode,
661/* XmlTypeCode.AnyAtomicType */ TypeFlags.IsAtomicValue,
662/* XmlTypeCode.UntypedAtomic */ TypeFlags.IsAtomicValue,
663/* XmlTypeCode.String */ TypeFlags.IsAtomicValue,
664/* XmlTypeCode.Boolean */ TypeFlags.IsAtomicValue,
665/* XmlTypeCode.Decimal */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
666/* XmlTypeCode.Float */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
667/* XmlTypeCode.Double */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
668/* XmlTypeCode.Duration */ TypeFlags.IsAtomicValue,
669/* XmlTypeCode.DateTime */ TypeFlags.IsAtomicValue,
670/* XmlTypeCode.Time */ TypeFlags.IsAtomicValue,
671/* XmlTypeCode.Date */ TypeFlags.IsAtomicValue,
672/* XmlTypeCode.GYearMonth */ TypeFlags.IsAtomicValue,
673/* XmlTypeCode.GYear */ TypeFlags.IsAtomicValue,
674/* XmlTypeCode.GMonthDay */ TypeFlags.IsAtomicValue,
675/* XmlTypeCode.GDay */ TypeFlags.IsAtomicValue,
676/* XmlTypeCode.GMonth */ TypeFlags.IsAtomicValue,
677/* XmlTypeCode.HexBinary */ TypeFlags.IsAtomicValue,
678/* XmlTypeCode.Base64Binary */ TypeFlags.IsAtomicValue,
679/* XmlTypeCode.AnyUri */ TypeFlags.IsAtomicValue,
680/* XmlTypeCode.QName */ TypeFlags.IsAtomicValue,
681/* XmlTypeCode.Notation */ TypeFlags.IsAtomicValue,
682/* XmlTypeCode.NormalizedString */ TypeFlags.IsAtomicValue,
683/* XmlTypeCode.Token */ TypeFlags.IsAtomicValue,
684/* XmlTypeCode.Language */ TypeFlags.IsAtomicValue,
685/* XmlTypeCode.NmToken */ TypeFlags.IsAtomicValue,
686/* XmlTypeCode.Name */ TypeFlags.IsAtomicValue,
687/* XmlTypeCode.NCName */ TypeFlags.IsAtomicValue,
688/* XmlTypeCode.Id */ TypeFlags.IsAtomicValue,
689/* XmlTypeCode.Idref */ TypeFlags.IsAtomicValue,
690/* XmlTypeCode.Entity */ TypeFlags.IsAtomicValue,
691/* XmlTypeCode.Integer */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
692/* XmlTypeCode.NonPositiveInteger */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
693/* XmlTypeCode.NegativeInteger */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
694/* XmlTypeCode.Long */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
695/* XmlTypeCode.Int */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
696/* XmlTypeCode.Short */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
697/* XmlTypeCode.Byte */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
698/* XmlTypeCode.NonNegativeInteger */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
699/* XmlTypeCode.UnsignedLong */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
700/* XmlTypeCode.UnsignedInt */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
701/* XmlTypeCode.UnsignedShort */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
702/* XmlTypeCode.UnsignedByte */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
703/* XmlTypeCode.PositiveInteger */ TypeFlags.IsAtomicValue | TypeFlags.IsNumeric,
704/* XmlTypeCode.YearMonthDuration */ TypeFlags.IsAtomicValue,
705/* XmlTypeCode.DayTimeDuration */ TypeFlags.IsAtomicValue,