159 references to ElementProperties
dotnet-svcutil-lib (159)
FrameworkFork\Microsoft.Xml\Xml\Core\HtmlEncodedRawTextWriter.cs (24)
25protected ElementProperties currentElementProperties; 135currentElementProperties = (ElementProperties)elementPropertySearch.FindCaseInsensitiveString(localName); 144currentElementProperties = ElementProperties.HAS_NS; 157if ((currentElementProperties & ElementProperties.HEAD) != 0) 175if ((currentElementProperties & ElementProperties.EMPTY) == 0) 189currentElementProperties = (ElementProperties)elementScope.Pop(); 200if ((currentElementProperties & ElementProperties.EMPTY) == 0) 214currentElementProperties = (ElementProperties)elementScope.Pop(); 329if ((currentElementProperties & (ElementProperties.BOOL_PARENT | ElementProperties.URI_PARENT | ElementProperties.NAME_PARENT)) != 0) 465Debug.Assert((int)ElementProperties.URI_PARENT == (int)AttributeProperties.URI); 466Debug.Assert((int)ElementProperties.BOOL_PARENT == (int)AttributeProperties.BOOLEAN); 467Debug.Assert((int)ElementProperties.NAME_PARENT == (int)AttributeProperties.NAME); 478currentElementProperties = ElementProperties.DEFAULT; 511if ((currentElementProperties & ElementProperties.NO_ENTITIES) != 0) 540else if ((currentElementProperties & ElementProperties.HAS_NS) != 0) 868base.currentElementProperties = (ElementProperties)elementPropertySearch.FindCaseInsensitiveString(localName); 870if (_endBlockPos == base.bufPos && (base.currentElementProperties & ElementProperties.BLOCK_WS) != 0) 880base.currentElementProperties = ElementProperties.HAS_NS | ElementProperties.BLOCK_WS; 906if ((currentElementProperties & ElementProperties.HEAD) != 0) 912else if ((base.currentElementProperties & ElementProperties.BLOCK_WS) != 0) 927isBlockWs = (base.currentElementProperties & ElementProperties.BLOCK_WS) != 0;
FrameworkFork\Microsoft.Xml\Xml\Core\HtmlUtf8RawTextWriter.cs (24)
25protected ElementProperties currentElementProperties; 134currentElementProperties = (ElementProperties)elementPropertySearch.FindCaseInsensitiveString(localName); 143currentElementProperties = ElementProperties.HAS_NS; 156if ((currentElementProperties & ElementProperties.HEAD) != 0) 174if ((currentElementProperties & ElementProperties.EMPTY) == 0) 188currentElementProperties = (ElementProperties)elementScope.Pop(); 199if ((currentElementProperties & ElementProperties.EMPTY) == 0) 213currentElementProperties = (ElementProperties)elementScope.Pop(); 328if ((currentElementProperties & (ElementProperties.BOOL_PARENT | ElementProperties.URI_PARENT | ElementProperties.NAME_PARENT)) != 0) 464Debug.Assert((int)ElementProperties.URI_PARENT == (int)AttributeProperties.URI); 465Debug.Assert((int)ElementProperties.BOOL_PARENT == (int)AttributeProperties.BOOLEAN); 466Debug.Assert((int)ElementProperties.NAME_PARENT == (int)AttributeProperties.NAME); 477currentElementProperties = ElementProperties.DEFAULT; 510if ((currentElementProperties & ElementProperties.NO_ENTITIES) != 0) 539else if ((currentElementProperties & ElementProperties.HAS_NS) != 0) 864base.currentElementProperties = (ElementProperties)elementPropertySearch.FindCaseInsensitiveString(localName); 866if (_endBlockPos == base.bufPos && (base.currentElementProperties & ElementProperties.BLOCK_WS) != 0) 876base.currentElementProperties = ElementProperties.HAS_NS | ElementProperties.BLOCK_WS; 902if ((currentElementProperties & ElementProperties.HEAD) != 0) 908else if ((base.currentElementProperties & ElementProperties.BLOCK_WS) != 0) 923isBlockWs = (base.currentElementProperties & ElementProperties.BLOCK_WS) != 0;
FrameworkFork\Microsoft.Xml\Xml\Core\util\TernaryTreeGenerator.cs (111)
54new HtmlProps("a", (byte)(ElementProperties.URI_PARENT)), 55new HtmlProps("address", (byte)(ElementProperties.BLOCK_WS)), 56new HtmlProps("applet", (byte)(ElementProperties.BLOCK_WS)), 57new HtmlProps("area", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.URI_PARENT | ElementProperties.EMPTY | ElementProperties.BLOCK_WS)), 58new HtmlProps("base", (byte)(ElementProperties.URI_PARENT | ElementProperties.EMPTY | ElementProperties.BLOCK_WS)), 59new HtmlProps("basefont", (byte)(ElementProperties.EMPTY | ElementProperties.BLOCK_WS)), 60new HtmlProps("blockquote", (byte)(ElementProperties.URI_PARENT | ElementProperties.BLOCK_WS)), 61new HtmlProps("body", (byte)(ElementProperties.BLOCK_WS)), 62new HtmlProps("br", (byte)(ElementProperties.EMPTY)), 63new HtmlProps("button", (byte)(ElementProperties.BOOL_PARENT)), 64new HtmlProps("caption", (byte)(ElementProperties.BLOCK_WS)), 65new HtmlProps("center", (byte)(ElementProperties.BLOCK_WS)), 66new HtmlProps("col", (byte)(ElementProperties.EMPTY | ElementProperties.BLOCK_WS)), 67new HtmlProps("colgroup", (byte)(ElementProperties.BLOCK_WS)), 68new HtmlProps("dd", (byte)(ElementProperties.BLOCK_WS)), 69new HtmlProps("del", (byte)(ElementProperties.URI_PARENT | ElementProperties.BLOCK_WS)), 70new HtmlProps("dir", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.BLOCK_WS)), 71new HtmlProps("div", (byte)(ElementProperties.BLOCK_WS)), 72new HtmlProps("dl", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.BLOCK_WS)), 73new HtmlProps("dt", (byte)(ElementProperties.BLOCK_WS)), 74new HtmlProps("fieldset", (byte)(ElementProperties.BLOCK_WS)), 75new HtmlProps("font", (byte)(ElementProperties.BLOCK_WS)), 76new HtmlProps("form", (byte)(ElementProperties.URI_PARENT | ElementProperties.BLOCK_WS)), 77new HtmlProps("frame", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.EMPTY | ElementProperties.BLOCK_WS)), 78new HtmlProps("frameset", (byte)(ElementProperties.BLOCK_WS)), 79new HtmlProps("h1", (byte)(ElementProperties.BLOCK_WS)), 80new HtmlProps("h2", (byte)(ElementProperties.BLOCK_WS)), 81new HtmlProps("h3", (byte)(ElementProperties.BLOCK_WS)), 82new HtmlProps("h4", (byte)(ElementProperties.BLOCK_WS)), 83new HtmlProps("h5", (byte)(ElementProperties.BLOCK_WS)), 84new HtmlProps("h6", (byte)(ElementProperties.BLOCK_WS)), 85new HtmlProps("head", (byte)(ElementProperties.URI_PARENT | ElementProperties.BLOCK_WS | ElementProperties.HEAD)), 86new HtmlProps("hr", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.EMPTY | ElementProperties.BLOCK_WS)), 87new HtmlProps("html", (byte)(ElementProperties.BLOCK_WS)), 88new HtmlProps("iframe", (byte)(ElementProperties.BLOCK_WS)), 89new HtmlProps("img", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.URI_PARENT | ElementProperties.EMPTY)), 90new HtmlProps("input", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.URI_PARENT | ElementProperties.EMPTY)), 91new HtmlProps("ins", (byte)(ElementProperties.URI_PARENT | ElementProperties.BLOCK_WS)), 92new HtmlProps("isindex", (byte)(ElementProperties.EMPTY | ElementProperties.BLOCK_WS)), 93new HtmlProps("legend", (byte)(ElementProperties.BLOCK_WS)), 94new HtmlProps("li", (byte)(ElementProperties.BLOCK_WS)), 95new HtmlProps("link", (byte)(ElementProperties.URI_PARENT | ElementProperties.EMPTY | ElementProperties.BLOCK_WS)), 96new HtmlProps("map", (byte)(ElementProperties.BLOCK_WS)), 97new HtmlProps("menu", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.BLOCK_WS)), 98new HtmlProps("meta", (byte)(ElementProperties.EMPTY | ElementProperties.BLOCK_WS)), 99new HtmlProps("noframes", (byte)(ElementProperties.BLOCK_WS)), 100new HtmlProps("noscript", (byte)(ElementProperties.BLOCK_WS)), 101new HtmlProps("object", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.URI_PARENT)), 102new HtmlProps("ol", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.BLOCK_WS)), 103new HtmlProps("optgroup", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.BLOCK_WS)), 104new HtmlProps("option", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.BLOCK_WS)), 105new HtmlProps("p", (byte)(ElementProperties.BLOCK_WS)), 106new HtmlProps("param", (byte)(ElementProperties.EMPTY | ElementProperties.BLOCK_WS)), 107new HtmlProps("pre", (byte)(ElementProperties.BLOCK_WS)), 108new HtmlProps("q", (byte)(ElementProperties.URI_PARENT)), 109new HtmlProps("s", (byte)(ElementProperties.BLOCK_WS)), 110new HtmlProps("script", (byte)(ElementProperties.NO_ENTITIES | ElementProperties.BOOL_PARENT | ElementProperties.URI_PARENT)), 111new HtmlProps("select", (byte)(ElementProperties.BOOL_PARENT)), 112new HtmlProps("strike", (byte)(ElementProperties.BLOCK_WS)), 113new HtmlProps("style", (byte)(ElementProperties.NO_ENTITIES | ElementProperties.BLOCK_WS)), 114new HtmlProps("table", (byte)(ElementProperties.URI_PARENT | ElementProperties.BLOCK_WS)), 115new HtmlProps("tbody", (byte)(ElementProperties.BLOCK_WS)), 116new HtmlProps("td", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.BLOCK_WS)), 117new HtmlProps("textarea", (byte)(ElementProperties.BOOL_PARENT)), 118new HtmlProps("tfoot", (byte)(ElementProperties.BLOCK_WS)), 119new HtmlProps("th", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.BLOCK_WS)), 120new HtmlProps("thead", (byte)(ElementProperties.BLOCK_WS)), 121new HtmlProps("title", (byte)(ElementProperties.BLOCK_WS)), 122new HtmlProps("tr", (byte)(ElementProperties.BLOCK_WS)), 123new HtmlProps("ul", (byte)(ElementProperties.BOOL_PARENT | ElementProperties.BLOCK_WS)), 124new HtmlProps("xmp", (byte)(ElementProperties.BLOCK_WS)),