1 write to _reader
PresentationFramework (1)
MS\Internal\Globalization\BamlResourceDeserializer.cs (1)
48
_reader
= new BamlReader(bamlSteam);
56 references to _reader
PresentationFramework (56)
MS\Internal\Globalization\BamlResourceDeserializer.cs (56)
49
_reader
.Read();
51
if (
_reader
.NodeType != BamlNodeType.StartDocument)
64
while (_bamlTreeStack.Count > 0 &&
_reader
.Read())
66
switch (
_reader
.NodeType)
71
_reader
.AssemblyName,
72
_reader
.Name,
73
_reader
.IsInjected,
74
_reader
.CreateUsingTypeConverter
89
_reader
.AssemblyName,
90
_reader
.Name.Substring(0,
_reader
.Name.LastIndexOf('.')),
91
_reader
.LocalName
108
BamlTreeNode bamlNode = new BamlEventNode(
_reader
.Name,
_reader
.Value);
115
_reader
.AssemblyName,
116
_reader
.Name.Substring(0,
_reader
.Name.LastIndexOf('.')),
117
_reader
.LocalName,
118
_reader
.Value
126
_reader
.XmlNamespace,
127
_reader
.ClrNamespace,
128
_reader
.AssemblyName
135
BamlTreeNode bamlNode = new BamlLiteralContentNode(
_reader
.Value);
142
_reader
.Value,
143
_reader
.TypeConverterAssemblyName,
144
_reader
.TypeConverterName
171
throw new XamlParseException(SR.Format(SR.UnRecognizedBamlNodeType,
_reader
.NodeType));
176
if (
_reader
.HasProperties)
184
_reader
.MoveToFirstProperty();
187
switch (
_reader
.NodeType)
191
BamlTreeNode bamlNode = new BamlConnectionIdNode(
_reader
.ConnectionId);
198
_reader
.AssemblyName,
199
_reader
.Name.Substring(0,
_reader
.Name.LastIndexOf('.')),
200
_reader
.LocalName,
201
_reader
.Value,
202
_reader
.AttributeUsage
210
if (propertyOccurrences.Contains(
_reader
.Name))
213
object occurrence = propertyOccurrences[
_reader
.Name];
230
propertyOccurrences[
_reader
.Name] = ++index;
235
propertyOccurrences[
_reader
.Name] = bamlNode;
242
if (
_reader
.Name == XamlReaderHelper.DefinitionUid)
245
((BamlStartElementNode)_currentParent).Uid =
_reader
.Value;
249
_reader
.Name,
250
_reader
.Value
258
_reader
.LocalName,
259
_reader
.Value
267
_reader
.AssemblyName,
268
_reader
.Name.Substring(0,
_reader
.Name.LastIndexOf('.')),
269
_reader
.LocalName
278
_reader
.Name,
279
_reader
.Value
286
throw new XamlParseException(SR.Format(SR.UnRecognizedBamlNodeType,
_reader
.NodeType));
289
} while (
_reader
.MoveToNextProperty());
294
if (
_reader
.Read() || _bamlTreeStack.Count > 0)