2 writes to _binaryReader
PresentationFramework (2)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
128
_binaryReader
= new BamlBinaryReader(stream);
218
_binaryReader
= null;
119 references to _binaryReader
PresentationFramework (119)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (119)
159
if (
_binaryReader
.BaseStream.Length ==
_binaryReader
.BaseStream.Position &&
206
if (
_binaryReader
!= null)
210
SharedStream sharedStream =
_binaryReader
.BaseStream as SharedStream;
214
_binaryReader
.Close();
270
_binaryReader
.BaseStream.Seek(-1, SeekOrigin.Current);
287
_binaryReader
.BaseStream.Seek(-1, SeekOrigin.Current);
303
_binaryReader
.BaseStream.Seek(-1, SeekOrigin.Current);
308
if (
_binaryReader
.BaseStream.Length ==
_binaryReader
.BaseStream.Position)
319
long endOfKeysStartOfObjects =
_binaryReader
.BaseStream.Position;
329
previousKeyRecord.ValueSize = (int)(
_binaryReader
.BaseStream.Length - previousKeyRecord.ValuePosition);
340
if (record.ValuePosition ==
_binaryReader
.BaseStream.Length)
345
_binaryReader
.BaseStream.Seek(record.ValuePosition, SeekOrigin.Begin);
393
if (record.ValuePosition ==
_binaryReader
.BaseStream.Length)
398
_binaryReader
.BaseStream.Seek(record.ValuePosition, SeekOrigin.Begin);
405
return BamlSchemaContext.GetClrType(
_binaryReader
.ReadInt16());
431
if (
_binaryReader
.BaseStream.Position ==
_binaryReader
.BaseStream.Length)
711
string value =
_binaryReader
.ReadString();
712
string name = _context.SchemaContext.GetString(
_binaryReader
.ReadInt16());
732
string value =
_binaryReader
.ReadString();
733
int lineNumber =
_binaryReader
.ReadInt32();
734
int lineOffset =
_binaryReader
.ReadInt32();
777
string value =
_binaryReader
.ReadString();
778
short converterId =
_binaryReader
.ReadInt16();
812
XamlType type = BamlSchemaContext.GetXamlType(
_binaryReader
.ReadInt16());
813
byte flags =
_binaryReader
.ReadByte();
830
short resourceId =
_binaryReader
.ReadInt16();
865
byte flags =
_binaryReader
.ReadByte();
866
short keyId =
_binaryReader
.ReadInt16();
906
Int32 contentSize =
_binaryReader
.ReadInt32();
914
long position =
_binaryReader
.BaseStream.Position;
915
binaryData = new SharedStream(
_binaryReader
.BaseStream, position, contentSize);
916
_binaryReader
.BaseStream.Seek(position + contentSize, SeekOrigin.Begin);
922
binaryData = new MemoryStream(
_binaryReader
.ReadBytes(contentSize));
942
string value =
_binaryReader
.ReadString();
943
Int16 stringId =
_binaryReader
.ReadInt16();
964
Int16 keyStringId =
_binaryReader
.ReadInt16();
965
Int32 valuePosition =
_binaryReader
.ReadInt32();
966
bool isShared =
_binaryReader
.ReadBoolean();
967
bool isSharedSet =
_binaryReader
.ReadBoolean();
983
Int16 typeId =
_binaryReader
.ReadInt16();
984
byte flags =
_binaryReader
.ReadByte();
985
Int32 valuePosition =
_binaryReader
.ReadInt32();
986
bool isShared =
_binaryReader
.ReadBoolean();
987
bool isSharedSet =
_binaryReader
.ReadBoolean();
1021
string textValue =
_binaryReader
.ReadString();
1029
short textId =
_binaryReader
.ReadInt16();
1082
Int16 typeId =
_binaryReader
.ReadInt16();
1100
int stringLength =
_binaryReader
.ReadInt32();
1104
Stream s =
_binaryReader
.BaseStream;
1126
Int16 typeId =
_binaryReader
.ReadInt16();
1138
SByte flags =
_binaryReader
.ReadSByte();
1300
Int16 typeId =
_binaryReader
.ReadInt16();
1301
byte flags =
_binaryReader
.ReadByte();
1302
Int32 valuePosition =
_binaryReader
.ReadInt32();
1303
bool isShared =
_binaryReader
.ReadBoolean();
1304
bool isSharedSet =
_binaryReader
.ReadBoolean();
1370
XamlMember eventProperty = GetProperty(
_binaryReader
.ReadInt16(), false);
1387
_xamlNodesWriter.WriteValue(
_binaryReader
.ReadString());
1392
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1394
_xamlNodesWriter.WriteValue(
_binaryReader
.ReadString());
1426
BinaryReader reader = new BinaryReader(
_binaryReader
.BaseStream);
1492
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1494
short serializerTypeId =
_binaryReader
.ReadInt16();
1508
_xamlNodesWriter.WriteValue(GetTextFromBinary(
_binaryReader
.ReadBytes(recordSize - 5),
1526
_xamlNodesWriter.WriteValue(converter.ConvertFrom(
_binaryReader
.ReadBytes(dataByteSize)));
1530
_xamlNodesWriter.WriteValue((
_binaryReader
.ReadBytes(1)[0] == 0) ? false : true);
1533
_xamlNodesWriter.WriteValue(
_binaryReader
.ReadString());
1539
property = BamlSchemaContext.GetDependencyProperty(
_binaryReader
.ReadInt16());
1543
Type type = BamlSchemaContext.GetXamlType(
_binaryReader
.ReadInt16()).UnderlyingType;
1544
property = DependencyProperty.FromName(
_binaryReader
.ReadString(), type);
1553
DeferredBinaryDeserializerExtension deserializerME = new DeferredBinaryDeserializerExtension(this,
_binaryReader
, converterId, dataByteSize);
1571
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1574
object value =
_binaryReader
.ReadString();
1575
short typeConverterId =
_binaryReader
.ReadInt16();
1628
short propertyId =
_binaryReader
.ReadInt16();
1629
Int16 extensionId =
_binaryReader
.ReadInt16();
1630
Int16 valueId =
_binaryReader
.ReadInt16();
1848
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1849
XamlType type = BamlSchemaContext.GetXamlType(
_binaryReader
.ReadInt16());
1875
short propertyId =
_binaryReader
.ReadInt16();
1876
Int16 resourceId =
_binaryReader
.ReadInt16();
1968
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1979
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1989
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
2113
string prefix =
_binaryReader
.ReadString();
2114
string xamlNs =
_binaryReader
.ReadString();
2128
short recordSize =
_binaryReader
.ReadInt16();
2138
assemblies[i] =
_binaryReader
.ReadInt16();
2148
_context.LineOffset =
_binaryReader
.ReadInt32();
2160
_context.LineNumber =
_binaryReader
.ReadInt32();
2161
_context.LineOffset =
_binaryReader
.ReadInt32();
2173
string xmlNamespace =
_binaryReader
.ReadString();
2174
string clrNamespace =
_binaryReader
.ReadString();
2175
Int16 assemblyId =
_binaryReader
.ReadInt16();
2181
Int16 assemblyId =
_binaryReader
.ReadInt16();
2182
string assemblyName =
_binaryReader
.ReadString();
2190
Int16 typeId =
_binaryReader
.ReadInt16();
2191
Int16 assemblyId =
_binaryReader
.ReadInt16();
2192
string typeName =
_binaryReader
.ReadString();
2202
Int16 typeId =
_binaryReader
.ReadInt16();
2203
Int16 assemblyId =
_binaryReader
.ReadInt16();
2204
string typeName =
_binaryReader
.ReadString();
2205
Int16 serializerId =
_binaryReader
.ReadInt16(); // currently not used. (found through reflection)
2215
short propertyId =
_binaryReader
.ReadInt16();
2216
Int16 declaringTypeId =
_binaryReader
.ReadInt16();
2217
byte usage =
_binaryReader
.ReadByte();
2218
string propertyName =
_binaryReader
.ReadString();
2226
Int16 id =
_binaryReader
.ReadInt16();
2227
string value =
_binaryReader
.ReadString();
2234
Int16 propertyId =
_binaryReader
.ReadInt16();
2251
int connectionId =
_binaryReader
.ReadInt32();
2284
byte value =
_binaryReader
.ReadByte();
2295
long offset =
_binaryReader
.BaseStream.Position;
2296
int value =
_binaryReader
.Read7BitEncodedInt();
2297
int sizeOfEncoding = (int)(
_binaryReader
.BaseStream.Position - offset);
2310
_binaryReader
.BaseStream.Seek(offset, SeekOrigin.Current);