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