40 references to Boolean
System.Private.Xml (40)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
4197
value = GetValueConverter(XmlTypeCode.
Boolean
).ChangeType(
System\Xml\Schema\DataTypeImplementation.cs (1)
1505
public override XmlTypeCode TypeCode { get { return XmlTypeCode.
Boolean
; } }
System\Xml\Schema\XmlSchemaDataType.cs (1)
128
XmlTypeCode.
Boolean
=> "Boolean",
System\Xml\Schema\XmlSchemaValidator.cs (1)
2487
tempxsiNilSO.SetAttributeType(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.
Boolean
));
System\Xml\Schema\XmlValueConverter.cs (2)
2683
if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.
Boolean
), (bool)value));
2792
if (sourceType == BooleanType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.
Boolean
), (bool)value));
System\Xml\Xsl\IlGen\GenerateHelper.cs (1)
1419
case XmlTypeCode.
Boolean
: meth = XmlILMethods.SortKeyInt; break;
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (4)
912
Debug.Assert(ndCond.Left.XmlType!.TypeCode == XmlTypeCode.
Boolean
);
1766
case XmlTypeCode.
Boolean
:
3203
else if ((object)typBase == (object)TypeFactory.Boolean) codeBase = XmlTypeCode.
Boolean
;
4229
ZeroCompare(relOp, ndSecond.XmlType!.TypeCode == XmlTypeCode.
Boolean
);
System\Xml\Xsl\QIL\QilPatternFactory.cs (1)
229
Debug.Assert(arg.XmlType!.TypeCode == XmlTypeCode.
Boolean
&& arg.XmlType.IsSingleton,
System\Xml\Xsl\Runtime\XmlQueryContext.cs (1)
288
case XmlTypeCode.
Boolean
: objActualArgs[i] = XsltConvert.ToBoolean(args[i]); break;
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
635
case XmlTypeCode.
Boolean
:
636
value = new XmlQueryItemSequence(new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.
Boolean
), value));
System\Xml\Xsl\Runtime\XsltConvert.cs (4)
257
case XmlTypeCode.
Boolean
:
260
case XmlTypeCode.
Boolean
:
280
case XmlTypeCode.
Boolean
:
303
case XmlTypeCode.
Boolean
:
System\Xml\Xsl\XmlQueryTypeFactory.cs (2)
219
public static readonly XmlQueryType Boolean = TF.Type(XmlTypeCode.
Boolean
, false);
220
public static readonly XmlQueryType BooleanX = TF.Type(XmlTypeCode.
Boolean
, true);
System\Xml\Xsl\XPath\XPathBuilder.cs (12)
147
Debug.Assert(compType == XmlTypeCode.
Boolean
|| compType == XmlTypeCode.Double || compType == XmlTypeCode.String);
148
Debug.Assert(compType == XmlTypeCode.
Boolean
|| left.XmlType!.IsSingleton && right.XmlType!.IsSingleton, "Both comparison operands must be singletons");
170
Debug.Assert(compType == XmlTypeCode.
Boolean
|| compType == XmlTypeCode.Double || compType == XmlTypeCode.String, "I don't know what to do with RTF here");
171
if (compType == XmlTypeCode.
Boolean
|| nodeset.XmlType!.IsSingleton)
237
leftType.TypeCode == XmlTypeCode.
Boolean
|| rightType.TypeCode == XmlTypeCode.
Boolean
? XmlTypeCode.
Boolean
:
261
XmlTypeCode compType = rightType.TypeCode == XmlTypeCode.
Boolean
? XmlTypeCode.
Boolean
: XmlTypeCode.Double;
266
XmlTypeCode compType = leftType.TypeCode == XmlTypeCode.
Boolean
? XmlTypeCode.
Boolean
: XmlTypeCode.Double;
780
public static readonly XmlTypeCode[] argBoolean = { XmlTypeCode.
Boolean
};
System\Xml\Xsl\XPath\XPathQilFactory.cs (4)
179
case XmlTypeCode.
Boolean
: return ConvertToBoolean(n);
191
case XmlTypeCode.
Boolean
:
220
case XmlTypeCode.
Boolean
:
250
case XmlTypeCode.
Boolean
:
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (2)
246
case XmlTypeCode.
Boolean
: args[i] = _f.ConvertToBoolean(args[i]); break;
743
case XmlTypeCode.
Boolean
: return _f.String("boolean");
System\Xml\Xsl\Xslt\XsltQilFactory.cs (1)
26
case XmlTypeCode.
Boolean
: