3 overrides of TypeCode
System.Data.SqlXml (3)
System\Xml\Xsl\XmlQueryTypeFactory.cs (3)
553
public override XmlTypeCode
TypeCode
{
802
public override XmlTypeCode
TypeCode
{
991
public override XmlTypeCode
TypeCode
{
69 references to TypeCode
System.Data.SqlXml (69)
System\Xml\Xsl\IlGen\GenerateHelper.cs (2)
1329
switch (keyType.
TypeCode
) {
1349
Debug.Assert(false, "Sorting over datatype " + keyType.
TypeCode
+ " is not allowed.");
System\Xml\Xsl\IlGen\XmlIlTypeHelper.cs (2)
35
storageType = TypeCodeToStorage[(int) qyTyp.
TypeCode
];
42
storageType = TypeCodeToCachedStorage[(int) qyTyp.
TypeCode
];
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (11)
849
Debug.Assert(ndCond.Left.XmlType.
TypeCode
== XmlTypeCode.Boolean);
1332
this.helper.CallArithmeticOp(QilNodeType.Negate, ndNeg.XmlType.
TypeCode
);
1377
this.helper.CallArithmeticOp(ndOp.NodeType, ndOp.XmlType.
TypeCode
);
1506
if (ndParsedTagName.Right.XmlType.
TypeCode
== XmlTypeCode.String) {
1606
code = ndComp.Left.XmlType.
TypeCode
;
3408
else if ((ndActualArg.XmlType.IsSingleton && clrTypeFormalArg == itemType) || ndActualArg.XmlType.
TypeCode
== XmlTypeCode.None) {
3424
if (xmlTypeFormalArg.
TypeCode
== XmlTypeCode.Item || !clrTypeFormalArg.IsAssignableFrom(clrTypeActualArg)) {
3811
Debug.Assert(ndName.XmlType.
TypeCode
== XmlTypeCode.QName, "Element or attribute name must have QName type.");
3872
if ((ndName as QilBinary).Right.XmlType.
TypeCode
== XmlTypeCode.String)
3922
ZeroCompare(relOp, ndSecond.XmlType.
TypeCode
== XmlTypeCode.Boolean);
4340
nd.XmlType.
TypeCode
== XmlTypeCode.None,
System\Xml\Xsl\QIL\QilPatternFactory.cs (1)
223
Debug.Assert(arg.XmlType.
TypeCode
== XmlTypeCode.Boolean && arg.XmlType.IsSingleton,
System\Xml\Xsl\QIL\QilTypeChecker.cs (2)
434
return node.Left.XmlType.
TypeCode
== XmlTypeCode.None ? node.Right.XmlType : node.Left.XmlType;
958
if (body.XmlType.
TypeCode
== XmlTypeCode.None)
System\Xml\Xsl\Runtime\XmlQueryContext.cs (3)
261
switch (xmlTypeFormalArg.
TypeCode
) {
275
Debug.Fail("This XmlTypeCode should never be inferred from a Clr type: " + xmlTypeFormalArg.
TypeCode
);
281
if (xmlTypeFormalArg.
TypeCode
== XmlTypeCode.Item || !clrTypeFormalArg.IsAssignableFrom(objActualArgs[i].GetType()))
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (3)
471
switch (xmlType.
TypeCode
) {
554
switch (xmlType.
TypeCode
) {
601
switch (XsltConvert.InferXsltType(sourceType).
TypeCode
) {
System\Xml\Xsl\Runtime\XsltConvert.cs (1)
265
switch (destinationType.
TypeCode
) {
System\Xml\Xsl\XmlQueryType.cs (21)
216
return (thisPrime.
TypeCode
== thatPrime.
TypeCode
&&
230
if (thisItem.
TypeCode
== thatItem.
TypeCode
&&
306
get { return (TypeCodeToFlags[(int)
TypeCode
] & TypeFlags.IsNode) != 0; }
314
get { return (TypeCodeToFlags[(int)
TypeCode
] & TypeFlags.IsAtomicValue) != 0; }
322
get { return (TypeCodeToFlags[(int)
TypeCode
] & TypeFlags.IsNumeric) != 0; }
350
hash = (int)
TypeCode
;
411
sb.Append(this[i].
TypeCode
.ToString());
489
if (
TypeCode
!= baseType.
TypeCode
) {
495
XmlSchemaType builtInType = XmlSchemaType.GetBuiltInSimpleType(baseType.
TypeCode
);
500
return TypeCodeDerivation[
TypeCode
, baseType.
TypeCode
];
524
if (this.
TypeCode
== other.
TypeCode
&& (this.NodeKinds & (XmlNodeKindFlags.Document | XmlNodeKindFlags.Element | XmlNodeKindFlags.Attribute)) != 0) {
525
if (this.
TypeCode
== XmlTypeCode.Node)
556
s = TypeNames[(int)
TypeCode
];
558
switch (
TypeCode
) {
575
s = "<:" + TypeNames[(int)
TypeCode
];
581
s = TypeNames[(int)
TypeCode
];
System\Xml\Xsl\XmlQueryTypeFactory.cs (4)
725
this.code = t.
TypeCode
;
730
if (this.code == t.
TypeCode
) {
928
if (prime.
TypeCode
== XmlTypeCode.None) {
992
get { return this.prime.
TypeCode
; }
System\Xml\Xsl\XPath\XPathBuilder.cs (9)
197
return CompareNodeSetAndValue(op, /*nodeset:*/left, /*val:*/right, rightType.
TypeCode
);
199
return CompareNodeSetAndValue(op, /*nodeset:*/right, /*val:*/left, leftType.
TypeCode
);
202
leftType.
TypeCode
== XmlTypeCode.Boolean || rightType.
TypeCode
== XmlTypeCode.Boolean ? XmlTypeCode.Boolean :
203
leftType.
TypeCode
== XmlTypeCode.Double || rightType.
TypeCode
== XmlTypeCode.Double ? XmlTypeCode.Double :
220
XmlTypeCode compType = rightType.
TypeCode
== XmlTypeCode.Boolean ? XmlTypeCode.Boolean : XmlTypeCode.Double;
223
XmlTypeCode compType = leftType.
TypeCode
== XmlTypeCode.Boolean ? XmlTypeCode.Boolean : XmlTypeCode.Double;
410
if (predicate.XmlType.
TypeCode
== XmlTypeCode.Double) {
System\Xml\Xsl\XPath\XPathQilFactory.cs (5)
41
Debug.Assert(result == (xt.
TypeCode
== XmlTypeCode.Item || xt.
TypeCode
== XmlTypeCode.AnyAtomicType), "What else can it be?");
174
switch (n.XmlType.
TypeCode
) {
200
switch (n.XmlType.
TypeCode
) {
227
switch (n.XmlType.
TypeCode
) {
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (3)
202
switch (xmlTypeFormalArg.
TypeCode
) {
208
default: Debug.Fail("This XmlTypeCode should never be inferred from a Clr type: " + xmlTypeFormalArg.
TypeCode
); break;
610
switch (n.XmlType.
TypeCode
) {
System\Xml\Xsl\Xslt\QilStrConcatenator.cs (1)
57
Debug.Assert(value.XmlType.
TypeCode
== XmlTypeCode.String);
System\Xml\Xsl\Xslt\XsltQilFactory.cs (1)
27
switch (xt.
TypeCode
) {