1 write to _reader
PresentationFramework (1)
src\Framework\MS\Internal\Globalization\BamlResourceDeserializer.cs (1)
56
_reader
= new BamlReader(bamlSteam);
56 references to _reader
PresentationFramework (56)
src\Framework\MS\Internal\Globalization\BamlResourceDeserializer.cs (56)
57
_reader
.Read();
59
if (
_reader
.NodeType != BamlNodeType.StartDocument)
72
while (_bamlTreeStack.Count > 0 &&
_reader
.Read())
74
switch (
_reader
.NodeType)
79
_reader
.AssemblyName,
80
_reader
.Name,
81
_reader
.IsInjected,
82
_reader
.CreateUsingTypeConverter
97
_reader
.AssemblyName,
98
_reader
.Name.Substring(0,
_reader
.Name.LastIndexOf('.')),
99
_reader
.LocalName
116
BamlTreeNode bamlNode = new BamlEventNode(
_reader
.Name,
_reader
.Value);
123
_reader
.AssemblyName,
124
_reader
.Name.Substring(0,
_reader
.Name.LastIndexOf('.')),
125
_reader
.LocalName,
126
_reader
.Value
134
_reader
.XmlNamespace,
135
_reader
.ClrNamespace,
136
_reader
.AssemblyName
143
BamlTreeNode bamlNode = new BamlLiteralContentNode(
_reader
.Value);
150
_reader
.Value,
151
_reader
.TypeConverterAssemblyName,
152
_reader
.TypeConverterName
179
throw new XamlParseException(SR.Get(SRID.UnRecognizedBamlNodeType,
_reader
.NodeType));
184
if (
_reader
.HasProperties)
192
_reader
.MoveToFirstProperty();
195
switch (
_reader
.NodeType)
199
BamlTreeNode bamlNode = new BamlConnectionIdNode(
_reader
.ConnectionId);
206
_reader
.AssemblyName,
207
_reader
.Name.Substring(0,
_reader
.Name.LastIndexOf('.')),
208
_reader
.LocalName,
209
_reader
.Value,
210
_reader
.AttributeUsage
218
if (propertyOccurrences.Contains(
_reader
.Name))
221
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.Get(SRID.UnRecognizedBamlNodeType,
_reader
.NodeType));
296
} while (
_reader
.MoveToNextProperty());
301
if (
_reader
.Read() || _bamlTreeStack.Count > 0)