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