2 writes to _binaryReader
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
146
_binaryReader
= new BamlBinaryReader(stream);
240
_binaryReader
= null;
122 references to _binaryReader
PresentationFramework (122)
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (122)
181
if (
_binaryReader
.BaseStream.Length ==
_binaryReader
.BaseStream.Position &&
228
if (
_binaryReader
!= null)
232
SharedStream sharedStream =
_binaryReader
.BaseStream as SharedStream;
236
_binaryReader
.Close();
292
_binaryReader
.BaseStream.Seek(-1, SeekOrigin.Current);
309
_binaryReader
.BaseStream.Seek(-1, SeekOrigin.Current);
325
_binaryReader
.BaseStream.Seek(-1, SeekOrigin.Current);
330
if (
_binaryReader
.BaseStream.Length ==
_binaryReader
.BaseStream.Position)
341
long endOfKeysStartOfObjects =
_binaryReader
.BaseStream.Position;
351
previousKeyRecord.ValueSize = (int)(
_binaryReader
.BaseStream.Length - previousKeyRecord.ValuePosition);
362
if (record.ValuePosition ==
_binaryReader
.BaseStream.Length)
367
_binaryReader
.BaseStream.Seek(record.ValuePosition, SeekOrigin.Begin);
416
if (record.ValuePosition ==
_binaryReader
.BaseStream.Length)
421
_binaryReader
.BaseStream.Seek(record.ValuePosition, SeekOrigin.Begin);
428
return BamlSchemaContext.GetClrType(
_binaryReader
.ReadInt16());
454
if (
_binaryReader
.BaseStream.Position ==
_binaryReader
.BaseStream.Length)
734
string value =
_binaryReader
.ReadString();
735
string name = _context.SchemaContext.GetString(
_binaryReader
.ReadInt16());
755
string value =
_binaryReader
.ReadString();
756
int lineNumber =
_binaryReader
.ReadInt32();
757
int lineOffset =
_binaryReader
.ReadInt32();
800
string value =
_binaryReader
.ReadString();
801
short converterId =
_binaryReader
.ReadInt16();
837
XamlType type = BamlSchemaContext.GetXamlType(
_binaryReader
.ReadInt16());
838
byte flags =
_binaryReader
.ReadByte();
856
short resourceId =
_binaryReader
.ReadInt16();
891
byte flags =
_binaryReader
.ReadByte();
892
short keyId =
_binaryReader
.ReadInt16();
932
Int32 contentSize =
_binaryReader
.ReadInt32();
940
long position =
_binaryReader
.BaseStream.Position;
941
binaryData = new SharedStream(
_binaryReader
.BaseStream, position, contentSize);
942
_binaryReader
.BaseStream.Seek(position + contentSize, SeekOrigin.Begin);
948
binaryData = new MemoryStream(
_binaryReader
.ReadBytes(contentSize));
968
string value =
_binaryReader
.ReadString();
969
Int16 stringId =
_binaryReader
.ReadInt16();
990
Int16 keyStringId =
_binaryReader
.ReadInt16();
991
Int32 valuePosition =
_binaryReader
.ReadInt32();
992
bool isShared =
_binaryReader
.ReadBoolean();
993
bool isSharedSet =
_binaryReader
.ReadBoolean();
1009
Int16 typeId =
_binaryReader
.ReadInt16();
1010
byte flags =
_binaryReader
.ReadByte();
1011
Int32 valuePosition =
_binaryReader
.ReadInt32();
1012
bool isShared =
_binaryReader
.ReadBoolean();
1013
bool isSharedSet =
_binaryReader
.ReadBoolean();
1047
string textValue =
_binaryReader
.ReadString();
1055
short textId =
_binaryReader
.ReadInt16();
1109
Int16 typeId =
_binaryReader
.ReadInt16();
1128
Int32 stringLength =
_binaryReader
.ReadInt32();
1131
byte[] headerString =
_binaryReader
.ReadBytes(stringLength);
1134
Int32 readerVersion =
_binaryReader
.ReadInt32();
1135
Int32 updateVersion =
_binaryReader
.ReadInt32();
1136
Int32 writerVersion =
_binaryReader
.ReadInt32();
1143
Int16 typeId =
_binaryReader
.ReadInt16();
1155
SByte flags =
_binaryReader
.ReadSByte();
1319
Int16 typeId =
_binaryReader
.ReadInt16();
1320
byte flags =
_binaryReader
.ReadByte();
1321
Int32 valuePosition =
_binaryReader
.ReadInt32();
1322
bool isShared =
_binaryReader
.ReadBoolean();
1323
bool isSharedSet =
_binaryReader
.ReadBoolean();
1389
XamlMember eventProperty = GetProperty(
_binaryReader
.ReadInt16(), false);
1406
_xamlNodesWriter.WriteValue(
_binaryReader
.ReadString());
1411
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1413
_xamlNodesWriter.WriteValue(
_binaryReader
.ReadString());
1445
BinaryReader reader = new BinaryReader(
_binaryReader
.BaseStream);
1511
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1513
short serializerTypeId =
_binaryReader
.ReadInt16();
1528
_xamlNodesWriter.WriteValue(GetTextFromBinary(
_binaryReader
.ReadBytes(recordSize - 5),
1546
_xamlNodesWriter.WriteValue(converter.ConvertFrom(
_binaryReader
.ReadBytes(dataByteSize)));
1550
_xamlNodesWriter.WriteValue((
_binaryReader
.ReadBytes(1)[0] == 0) ? false : true);
1553
_xamlNodesWriter.WriteValue(
_binaryReader
.ReadString());
1559
property = BamlSchemaContext.GetDependencyProperty(
_binaryReader
.ReadInt16());
1563
Type type = BamlSchemaContext.GetXamlType(
_binaryReader
.ReadInt16()).UnderlyingType;
1564
property = DependencyProperty.FromName(
_binaryReader
.ReadString(), type);
1573
DeferredBinaryDeserializerExtension deserializerME = new DeferredBinaryDeserializerExtension(this,
_binaryReader
, converterId, dataByteSize);
1591
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1594
object value =
_binaryReader
.ReadString();
1595
short typeConverterId =
_binaryReader
.ReadInt16();
1648
short propertyId =
_binaryReader
.ReadInt16();
1649
Int16 extensionId =
_binaryReader
.ReadInt16();
1650
Int16 valueId =
_binaryReader
.ReadInt16();
1870
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1871
XamlType type = BamlSchemaContext.GetXamlType(
_binaryReader
.ReadInt16());
1898
short propertyId =
_binaryReader
.ReadInt16();
1899
Int16 resourceId =
_binaryReader
.ReadInt16();
1993
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
2004
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
2014
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
2140
string prefix =
_binaryReader
.ReadString();
2141
string xamlNs =
_binaryReader
.ReadString();
2155
short recordSize =
_binaryReader
.ReadInt16();
2166
assemblies[i] =
_binaryReader
.ReadInt16();
2176
_context.LineOffset =
_binaryReader
.ReadInt32();
2188
_context.LineNumber =
_binaryReader
.ReadInt32();
2189
_context.LineOffset =
_binaryReader
.ReadInt32();
2201
string xmlNamespace =
_binaryReader
.ReadString();
2202
string clrNamespace =
_binaryReader
.ReadString();
2203
Int16 assemblyId =
_binaryReader
.ReadInt16();
2209
Int16 assemblyId =
_binaryReader
.ReadInt16();
2210
string assemblyName =
_binaryReader
.ReadString();
2218
Int16 typeId =
_binaryReader
.ReadInt16();
2219
Int16 assemblyId =
_binaryReader
.ReadInt16();
2220
string typeName =
_binaryReader
.ReadString();
2230
Int16 typeId =
_binaryReader
.ReadInt16();
2231
Int16 assemblyId =
_binaryReader
.ReadInt16();
2232
string typeName =
_binaryReader
.ReadString();
2233
Int16 serializerId =
_binaryReader
.ReadInt16(); // currently not used. (found through reflection)
2243
short propertyId =
_binaryReader
.ReadInt16();
2244
Int16 declaringTypeId =
_binaryReader
.ReadInt16();
2245
byte usage =
_binaryReader
.ReadByte(); //
2246
string propertyName =
_binaryReader
.ReadString();
2254
Int16 id =
_binaryReader
.ReadInt16();
2255
string value =
_binaryReader
.ReadString();
2262
Int16 propertyId =
_binaryReader
.ReadInt16();
2280
int connectionId =
_binaryReader
.ReadInt32();
2313
byte value =
_binaryReader
.ReadByte();
2324
long offset =
_binaryReader
.BaseStream.Position;
2325
int value =
_binaryReader
.Read7BitEncodedInt();
2326
int sizeOfEncoding = (int)(
_binaryReader
.BaseStream.Position - offset);
2339
_binaryReader
.BaseStream.Seek(offset, SeekOrigin.Current);