1 write to XmlReader
PresentationBuildTasks (1)
Framework\System\Windows\Markup\XamlReaderHelper.cs (1)
149XmlReader = xmlReader;
111 references to XmlReader
PresentationBuildTasks (111)
Framework\System\Windows\Markup\StyleXamlParser.cs (2)
93_startingDepth = TokenReader.XmlReader.Depth; 413string xmlNamespace = TokenReader.XmlReader.LookupNamespace(prefix);
Framework\System\Windows\Markup\TemplateXamlParser.cs (2)
80_startingDepth = TokenReader.XmlReader.Depth; 461string xmlNamespace = TokenReader.XmlReader.LookupNamespace(prefix);
Framework\System\Windows\Markup\XamlReaderHelper.cs (107)
184return XmlReader.LookupNamespace(prefix); 376Debug.Assert(null != XmlReader); 381XmlReader.Read(); // first time thru get to the first start tag. 394switch (XmlReader.NodeType) 486if (ControllingXamlParser.GetElementType(XmlReader, localName + "Extension", 494return ControllingXamlParser.GetElementType(XmlReader, localName, 501if (ControllingXamlParser.GetElementType(XmlReader, localName, 509return ControllingXamlParser.GetElementType(XmlReader, localName + "Extension", 551AddNodeToCollection(new XamlDocumentEndNode(LineNumber, LinePosition, XmlReader.Depth)); 620AddNodeToCollection(new XamlUnknownTagEndNode(LineNumber, LinePosition, XmlReader.Depth, 642typeFullName, elementType, serializerType, XmlReader.IsEmptyElement, 651int depth = XmlReader.Depth; 736XamlPropertyComplexEndNode(LineNumber, LinePosition, XmlReader.Depth)); 762LineNumber, LinePosition, XmlReader.Depth, propertyMember, 779LineNumber, LinePosition, XmlReader.Depth, propertyMember, 830XmlReader.Depth, 857LineNumber, LinePosition, XmlReader.Depth, propertyMember, 892LineNumber, LinePosition, XmlReader.Depth, propertyMember, 931AddNodeToCollection(new XamlXmlnsPropertyNode(LineNumber, LinePosition, XmlReader.Depth, 940AddNodeToCollection(new XamlPIMappingNode(LineNumber, LinePosition, XmlReader.Depth, 950AddNodeToCollection(new XamlClrEventNode(LineNumber, LinePosition, XmlReader.Depth, 975new XamlPropertyArrayEndNode(LineNumber, LinePosition, XmlReader.Depth)); 1000new XamlPropertyIListEndNode(LineNumber, LinePosition, XmlReader.Depth)); 1025new XamlPropertyIDictionaryEndNode(LineNumber, LinePosition, XmlReader.Depth)); 1045new XamlDefTagNode(LineNumber, LinePosition, XmlReader.Depth, 1046XmlReader.IsEmptyElement, XmlReader, defTagName)); 1063AddNodeToCollection(new XamlDefAttributeNode(LineNumber, LinePosition, XmlReader.Depth, 1072AddNodeToCollection(new XamlPresentationOptionsAttributeNode(LineNumber, LinePosition, XmlReader.Depth, 1085AddNodeToCollection(new XamlDefAttributeKeyTypeNode(LineNumber, LinePosition, XmlReader.Depth, 1234ThrowException(SRID.ParserEmptyComplexProp, XmlReader.Name); 1247while (readNextNode && XmlReader.Read()) 1249switch (XmlReader.NodeType) 1261string collapsedText = CollapseText(XmlReader.Value, 1283XmlReader.LocalName); 1315XmlReader.Read(); 1332XmlReader.NodeType.ToString()); 1861string namespacePrefix = XmlReader.Prefix; 1866attributeNamespaceUri != XmlReader.LookupNamespace("")) 1964bool isEmptyElement = XmlReader.IsEmptyElement; 2085CompileBamlTag(XmlReader.NodeType, ref endTagHasBeenRead); 2101switch (XmlReader.NodeType) 2107CompileText(XmlReader.NodeType, XmlReader.Value); 2108XmlReader.Read(); // move to the next node. 2113XmlReader.Read(); // move to the next node. 2118ThrowException(SRID.ParserEntityReference, XmlReader.Name); 2122XmlReader.Read(); 2144bool isEmpty = XmlReader.IsEmptyElement; 2150WriteDefTag(XmlReader.Name); 2167CompileText(XmlReader.NodeType, XmlReader.Value); 2180XmlReader.Read(); 2217bool moreAttributes = XmlReader.MoveToFirstAttribute(); 2223string attribName = XmlReader.Name; 2224string attribLocalName = XmlReader.LocalName; 2225string attributeNamespaceUri = XmlReader.LookupNamespace(XmlReader.Prefix); 2226string attribValue = XmlReader.Value; 2289moreAttributes = XmlReader.MoveToNextAttribute(); 2351bool moreAttributes = XmlReader.MoveToFirstAttribute(); 2354string attribName = XmlReader.Name; 2359string attribValue = XmlReader.Value; 2370moreAttributes = XmlReader.MoveToNextAttribute(); 2372XmlReader.MoveToElement(); 2743attribNamespaceURI = XmlReader.LookupNamespace(prefix); 2754attribNamespaceURI = XmlReader.LookupNamespace(""); 2787bool moreAttributes = XmlReader.MoveToFirstAttribute(); 2806string attribLocalName = XmlReader.LocalName; 2807string attribName = XmlReader.Name; 2808string attribPrefix = XmlReader.Prefix; 2809string attribValue = XmlReader.Value; 2940moreAttributes = XmlReader.MoveToNextAttribute(); 2951ArrayList xamlNodes = _extensionParser.CompileDictionaryKeys(complexDefAttributesList, XmlReader.Depth); 2963ArrayList xamlNodes = _extensionParser.CompileAttributes(markupExtensionList, XmlReader.Depth); 3074string valueNamespaceURI = XmlReader.LookupNamespace(prefix); 3578int depth = XmlReader.Depth; 3586string localName = XmlReader.LocalName; 3587string prefix = XmlReader.Prefix; 3588string namespaceURI = XmlReader.NamespaceURI; 3598isEmptyElement = XmlReader.IsEmptyElement; 3810CompileText(XmlReader.NodeType, XmlReader.Value); 3850XmlReader.Read(); 3900string text = XmlReader.ReadInnerXml(); 3975int attributeCount = XmlReader.AttributeCount; 3980if( XmlReader.GetAttribute(DefinitionUid, DefinitionNamespaceURI) != null) 4082bool isEmptyElement = XmlReader.IsEmptyElement; 4271if (XmlReader.AttributeCount > 0) 4278while (XmlReader.MoveToNextAttribute() && 4281if (XmlReader.LocalName == DefinitionUid && 4282XmlReader.NamespaceURI == DefinitionNamespaceURI) 4489string localName = XmlReader.LocalName; 4614int depth = XmlReader.Depth; 4694WriteText(textValue, null, XmlReader.Depth); // Text for IAddChild::AddText() 4741WriteText(textValue, null, XmlReader.Depth); // Text for object/string/IList ContentProperty 4754WriteText(textValue, converterType, XmlReader.Depth); // Text for TypeConverter 4772WriteText(textValue, converterType, XmlReader.Depth); // Text for TypeConverter 4976WriteText(textValue, null, XmlReader.Depth); // Text for (Complex collection property)::Add() 5068WriteText(textValue, null, XmlReader.Depth); // Text for property IList::Add() 5099WriteText( textValue, null, XmlReader.Depth ); // Text saved for Unknown purposes. 5175if ((XmlReader.EOF) || ((ParseLoopState != ParserState.Uninitialized) && 51760 == XmlReader.Depth && XmlReader.NodeType == XmlNodeType.None)) 5222Debug.Assert(null != XmlReader, "XmlReader is not yet set"); 5224XmlCompatibilityReader xmlCompatReader = XmlReader as XmlCompatibilityReader; 5232XmlTextReader xmlTextReader = XmlReader as XmlTextReader;