77 references to TriState
System.Private.Xml (77)
System\Xml\Core\XmlAutoDetectWriter.cs (1)
406
if (outMethod == XmlOutputMethod.Html && _writerSettings.IndentInternal ==
TriState
.Unknown)
System\Xml\Core\XmlWriterSettings.cs (8)
133
get => IndentInternal ==
TriState
.True;
137
IndentInternal = value ?
TriState
.True :
TriState
.False;
330
internal
TriState
IndentInternal { get; set; }
507
IndentInternal =
TriState
.Unknown;
662
IndentInternal = (
TriState
)reader.ReadSByte((sbyte)
TriState
.Unknown, (sbyte)
TriState
.True);
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (37)
1984
kinds, name,
TriState
.Unknown, null);
1990
kinds, name, (step.NodeType == QilNodeType.Ancestor) ?
TriState
.False :
TriState
.True, null);
1996
kinds, name, (step.NodeType == QilNodeType.Descendant) ?
TriState
.False :
TriState
.True, null);
2001
kinds, name,
TriState
.Unknown, null);
2006
kinds, name,
TriState
.Unknown, null);
2011
kinds, name,
TriState
.Unknown, null);
2016
kinds, name,
TriState
.Unknown, ((QilBinary)step).Right);
2021
kinds, name,
TriState
.Unknown, null);
2026
kinds, name,
TriState
.Unknown, null);
2449
kinds, name,
TriState
.Unknown);
2455
kinds, name, (step.NodeType == QilNodeType.Descendant) ?
TriState
.False :
TriState
.True);
2460
kinds, name,
TriState
.Unknown);
2465
kinds, name,
TriState
.Unknown);
2470
kinds, name,
TriState
.Unknown);
2486
kinds, name, (step.NodeType == QilNodeType.Ancestor) ?
TriState
.False :
TriState
.True, null);
2491
kinds, name,
TriState
.Unknown, null);
2496
kinds, name,
TriState
.Unknown, null);
2679
XmlNodeKindFlags.Any, null,
TriState
.False, null);
2689
XmlNodeKindFlags.Any, null,
TriState
.True, null);
2699
XmlNodeKindFlags.Any, null,
TriState
.False, null);
2709
XmlNodeKindFlags.Any, null,
TriState
.True, null);
2719
XmlNodeKindFlags.Any, null,
TriState
.Unknown, null);
2729
XmlNodeKindFlags.Any, null,
TriState
.Unknown, null);
2739
XmlNodeKindFlags.Any, null,
TriState
.Unknown, null);
2749
XmlNodeKindFlags.Any, null,
TriState
.Unknown, ndRange.Right);
3484
XmlNodeKindFlags.Any, null,
TriState
.Unknown, null);
3494
XmlNodeKindFlags.Any, null,
TriState
.Unknown, null);
3946
XmlNodeKindFlags kinds, QilName? ndName,
TriState
orSelf, QilNode? ndEnd)
3955
if (orSelf !=
TriState
.Unknown)
3956
_helper.LoadBoolean(orSelf ==
TriState
.True);
3982
XmlNodeKindFlags kinds, QilName? ndName,
TriState
orSelf)
3993
if (orSelf !=
TriState
.Unknown)
3994
_helper.LoadBoolean(orSelf ==
TriState
.True);
System\Xml\Xsl\Xslt\XsltLoader.cs (31)
586
TriState
triState;
611
TriState
byteOrderMask = ParseYesNoAttribute(2, "byte-order-mark");
612
if (byteOrderMask !=
TriState
.Unknown) ReportNYI("xsl:output/@byte-order-mark");
682
bool escapeUriAttributes = ParseYesNoAttribute(7, "escape-uri-attributes") !=
TriState
.False;
685
bool includeContentType = ParseYesNoAttribute(8, "include-content-type") !=
TriState
.False;
689
if (triState !=
TriState
.Unknown)
693
bool indent = (triState ==
TriState
.True);
722
if (triState !=
TriState
.Unknown)
726
bool omitXmlDeclaration = (triState ==
TriState
.True);
737
if (triState !=
TriState
.Unknown)
741
XmlStandalone standalone = (triState ==
TriState
.True) ? XmlStandalone.Yes : XmlStandalone.No;
751
bool undeclarePrefixes = ParseYesNoAttribute(14, "undeclare-prefixes") ==
TriState
.True;
1599
bool copyNamespaces = ParseYesNoAttribute(0, "copy-namespaces") !=
TriState
.False;
1600
bool inheritNamespaces = ParseYesNoAttribute(1, "inherit-namespaces") !=
TriState
.False;
1626
bool copyNamespaces = ParseYesNoAttribute(1, "copy-namespaces") !=
TriState
.False;
1761
bool terminate = ParseYesNoAttribute(1, /*attName:*/"terminate") ==
TriState
.True;
1849
bool doe = ParseYesNoAttribute(2, /*attName:*/"disable-output-escaping") ==
TriState
.True;
1931
TriState
required = ParseYesNoAttribute(3, "required");
1932
if (required ==
TriState
.True) ReportNYI("xsl:param/@required == true()");
1939
TriState
tunnel = ParseYesNoAttribute(4, "tunnel");
1940
if (tunnel !=
TriState
.Unknown)
1951
if (tunnel ==
TriState
.True) ReportNYI("xsl:param/@tunnel == true()");
1956
CheckError((required ==
TriState
.True) && (select != null || content.Count != 0), /*[???]*/SR.Xslt_RequiredAndSelect, name!.ToString());
2014
bool doe = ParseYesNoAttribute(0, /*attName:*/ "disable-output-escaping") ==
TriState
.True;
2064
bool inheritNamespaces = ParseYesNoAttribute(2, "inherit-namespaces") !=
TriState
.False;
2128
TriState
stable = ParseYesNoAttribute(4, "stable");
2132
if (stable !=
TriState
.Unknown)
2952
private
TriState
ParseYesNoAttribute(int attNum, string attName)
2959
case "yes": return
TriState
.True;
2960
case "no": return
TriState
.False;
2969
return
TriState
.Unknown;