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