1 write to _reader
PresentationFramework (1)
MS\Internal\Globalization\BamlResourceDeserializer.cs (1)
55
_reader
= new BamlReader(bamlSteam);
56 references to _reader
PresentationFramework (56)
MS\Internal\Globalization\BamlResourceDeserializer.cs (56)
56
_reader
.Read();
58
if (
_reader
.NodeType != BamlNodeType.StartDocument)
71
while (_bamlTreeStack.Count > 0 &&
_reader
.Read())
73
switch (
_reader
.NodeType)
78
_reader
.AssemblyName,
79
_reader
.Name,
80
_reader
.IsInjected,
81
_reader
.CreateUsingTypeConverter
96
_reader
.AssemblyName,
97
_reader
.Name.Substring(0,
_reader
.Name.LastIndexOf('.')),
98
_reader
.LocalName
115
BamlTreeNode bamlNode = new BamlEventNode(
_reader
.Name,
_reader
.Value);
122
_reader
.AssemblyName,
123
_reader
.Name.Substring(0,
_reader
.Name.LastIndexOf('.')),
124
_reader
.LocalName,
125
_reader
.Value
133
_reader
.XmlNamespace,
134
_reader
.ClrNamespace,
135
_reader
.AssemblyName
142
BamlTreeNode bamlNode = new BamlLiteralContentNode(
_reader
.Value);
149
_reader
.Value,
150
_reader
.TypeConverterAssemblyName,
151
_reader
.TypeConverterName
178
throw new XamlParseException(SR.Format(SR.UnRecognizedBamlNodeType,
_reader
.NodeType));
183
if (
_reader
.HasProperties)
191
_reader
.MoveToFirstProperty();
194
switch (
_reader
.NodeType)
198
BamlTreeNode bamlNode = new BamlConnectionIdNode(
_reader
.ConnectionId);
205
_reader
.AssemblyName,
206
_reader
.Name.Substring(0,
_reader
.Name.LastIndexOf('.')),
207
_reader
.LocalName,
208
_reader
.Value,
209
_reader
.AttributeUsage
217
if (propertyOccurrences.Contains(
_reader
.Name))
220
object occurrence = propertyOccurrences[
_reader
.Name];
237
propertyOccurrences[
_reader
.Name] = ++index;
242
propertyOccurrences[
_reader
.Name] = bamlNode;
249
if (
_reader
.Name == XamlReaderHelper.DefinitionUid)
252
((BamlStartElementNode)_currentParent).Uid =
_reader
.Value;
256
_reader
.Name,
257
_reader
.Value
265
_reader
.LocalName,
266
_reader
.Value
274
_reader
.AssemblyName,
275
_reader
.Name.Substring(0,
_reader
.Name.LastIndexOf('.')),
276
_reader
.LocalName
285
_reader
.Name,
286
_reader
.Value
293
throw new XamlParseException(SR.Format(SR.UnRecognizedBamlNodeType,
_reader
.NodeType));
296
} while (
_reader
.MoveToNextProperty());
301
if (
_reader
.Read() || _bamlTreeStack.Count > 0)