46 references to ElementProperties
System.Private.Xml (46)
System\Xml\Core\HtmlEncodedRawTextWriter.cs (22)
16
protected
ElementProperties
_currentElementProperties;
116
_currentElementProperties =
ElementProperties
.HAS_NS;
129
if ((_currentElementProperties &
ElementProperties
.HEAD) != 0)
147
if ((_currentElementProperties &
ElementProperties
.EMPTY) == 0)
161
_currentElementProperties = (
ElementProperties
)_elementScope.Pop();
172
if ((_currentElementProperties &
ElementProperties
.EMPTY) == 0)
186
_currentElementProperties = (
ElementProperties
)_elementScope.Pop();
302
if ((_currentElementProperties & (
ElementProperties
.BOOL_PARENT |
ElementProperties
.URI_PARENT |
ElementProperties
.NAME_PARENT)) != 0)
440
Debug.Assert((int)
ElementProperties
.URI_PARENT == (int)AttributeProperties.URI);
441
Debug.Assert((int)
ElementProperties
.BOOL_PARENT == (int)AttributeProperties.BOOLEAN);
442
Debug.Assert((int)
ElementProperties
.NAME_PARENT == (int)AttributeProperties.NAME);
446
_currentElementProperties =
ElementProperties
.DEFAULT;
476
if ((_currentElementProperties &
ElementProperties
.NO_ENTITIES) != 0)
505
else if ((_currentElementProperties &
ElementProperties
.HAS_NS) != 0)
828
if (_endBlockPos == base._bufPos && (base._currentElementProperties &
ElementProperties
.BLOCK_WS) != 0)
838
base._currentElementProperties =
ElementProperties
.HAS_NS |
ElementProperties
.BLOCK_WS;
864
if ((_currentElementProperties &
ElementProperties
.HEAD) != 0)
870
else if ((base._currentElementProperties &
ElementProperties
.BLOCK_WS) != 0)
885
isBlockWs = (base._currentElementProperties &
ElementProperties
.BLOCK_WS) != 0;
System\Xml\Core\HtmlUtf8RawTextWriter.cs (22)
16
protected
ElementProperties
_currentElementProperties;
107
_currentElementProperties =
ElementProperties
.HAS_NS;
120
if ((_currentElementProperties &
ElementProperties
.HEAD) != 0)
136
if ((_currentElementProperties &
ElementProperties
.EMPTY) == 0)
150
_currentElementProperties = (
ElementProperties
)_elementScope.Pop();
159
if ((_currentElementProperties &
ElementProperties
.EMPTY) == 0)
173
_currentElementProperties = (
ElementProperties
)_elementScope.Pop();
287
if ((_currentElementProperties & (
ElementProperties
.BOOL_PARENT |
ElementProperties
.URI_PARENT |
ElementProperties
.NAME_PARENT)) != 0)
417
Debug.Assert((int)
ElementProperties
.URI_PARENT == (int)AttributeProperties.URI);
418
Debug.Assert((int)
ElementProperties
.BOOL_PARENT == (int)AttributeProperties.BOOLEAN);
419
Debug.Assert((int)
ElementProperties
.NAME_PARENT == (int)AttributeProperties.NAME);
423
_currentElementProperties =
ElementProperties
.DEFAULT;
453
if ((_currentElementProperties &
ElementProperties
.NO_ENTITIES) != 0)
482
else if ((_currentElementProperties &
ElementProperties
.HAS_NS) != 0)
798
if (_endBlockPos == base._bufPos && (base._currentElementProperties &
ElementProperties
.BLOCK_WS) != 0)
808
base._currentElementProperties =
ElementProperties
.HAS_NS |
ElementProperties
.BLOCK_WS;
834
if ((_currentElementProperties &
ElementProperties
.HEAD) != 0)
840
else if ((base._currentElementProperties &
ElementProperties
.BLOCK_WS) != 0)
855
isBlockWs = (base._currentElementProperties &
ElementProperties
.BLOCK_WS) != 0;
System\Xml\Core\ReadOnlyTernaryTree.cs (2)
125
public static
ElementProperties
FindElementProperty(ReadOnlySpan<char> stringToFind)
127
return (
ElementProperties
)FindCaseInsensitiveString(stringToFind, HtmlElements);