40 references to Boolean
System.Data.SqlXml (34)
System\Xml\Xsl\IlGen\GenerateHelper.cs (1)
1334
case XmlTypeCode.
Boolean
: meth = XmlILMethods.SortKeyInt; break;
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (4)
849
Debug.Assert(ndCond.Left.XmlType.TypeCode == XmlTypeCode.
Boolean
);
1632
case XmlTypeCode.
Boolean
:
2976
else if ((object) typBase == (object) TypeFactory.Boolean) codeBase = XmlTypeCode.
Boolean
;
3922
ZeroCompare(relOp, ndSecond.XmlType.TypeCode == XmlTypeCode.
Boolean
);
System\Xml\Xsl\QIL\QilPatternFactory.cs (1)
223
Debug.Assert(arg.XmlType.TypeCode == XmlTypeCode.
Boolean
&& arg.XmlType.IsSingleton,
System\Xml\Xsl\Runtime\XmlQueryContext.cs (1)
262
case XmlTypeCode.
Boolean
: objActualArgs[i] = XsltConvert.ToBoolean(args[i]); break;
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
602
case XmlTypeCode.
Boolean
:
603
value = new XmlQueryItemSequence(new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.
Boolean
), value));
System\Xml\Xsl\Runtime\XsltConvert.cs (4)
266
case XmlTypeCode.
Boolean
:
268
case XmlTypeCode.
Boolean
:
287
case XmlTypeCode.
Boolean
:
309
case XmlTypeCode.
Boolean
:
System\Xml\Xsl\XmlQueryTypeFactory.cs (2)
222
public static readonly XmlQueryType Boolean = TF.Type(XmlTypeCode.
Boolean
, false);
223
public static readonly XmlQueryType BooleanX = TF.Type(XmlTypeCode.
Boolean
, true);
System\Xml\Xsl\XPath\XPathBuilder.cs (12)
131
Debug.Assert(compType == XmlTypeCode.
Boolean
|| compType == XmlTypeCode.Double || compType == XmlTypeCode.String);
132
Debug.Assert(compType == XmlTypeCode.
Boolean
|| left.XmlType.IsSingleton && right.XmlType.IsSingleton, "Both comparison operands must be singletons");
152
Debug.Assert(compType == XmlTypeCode.
Boolean
|| compType == XmlTypeCode.Double || compType == XmlTypeCode.String, "I don't know what to do with RTF here");
153
if (compType == XmlTypeCode.
Boolean
|| nodeset.XmlType.IsSingleton) {
202
leftType.TypeCode == XmlTypeCode.
Boolean
|| rightType.TypeCode == XmlTypeCode.
Boolean
? XmlTypeCode.
Boolean
:
220
XmlTypeCode compType = rightType.TypeCode == XmlTypeCode.
Boolean
? XmlTypeCode.
Boolean
: XmlTypeCode.Double;
223
XmlTypeCode compType = leftType.TypeCode == XmlTypeCode.
Boolean
? XmlTypeCode.
Boolean
: XmlTypeCode.Double;
680
public static readonly XmlTypeCode[] argBoolean = {XmlTypeCode.
Boolean
};
System\Xml\Xsl\XPath\XPathQilFactory.cs (4)
165
case XmlTypeCode.
Boolean
: return ConvertToBoolean(n);
175
case XmlTypeCode.
Boolean
:
201
case XmlTypeCode.
Boolean
:
228
case XmlTypeCode.
Boolean
:
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (2)
203
case XmlTypeCode.
Boolean
: args[i] = f.ConvertToBoolean(args[i]); break;
611
case XmlTypeCode.
Boolean
: return f.String("boolean");
System\Xml\Xsl\Xslt\XsltQilFactory.cs (1)
29
case XmlTypeCode.
Boolean
:
System.Xml (6)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3739
value = GetValueConverter(XmlTypeCode.
Boolean
).ChangeType(
System\Xml\Schema\DataTypeImplementation.cs (1)
1350
public override XmlTypeCode TypeCode { get { return XmlTypeCode.
Boolean
; }}
System\Xml\Schema\XmlSchemaDataType.cs (1)
167
case XmlTypeCode.
Boolean
:
System\Xml\Schema\XmlSchemaValidator.cs (1)
2080
tempxsiNilSO.SetAttributeType(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.
Boolean
));
System\Xml\Schema\XmlValueConverter.cs (2)
2882
if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.
Boolean
), (bool) value));
2993
if (sourceType == BooleanType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.
Boolean
), (bool) value));