2 writes to _binaryReader
PresentationFramework (2)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
133
_binaryReader
= new BamlBinaryReader(stream);
223
_binaryReader
= null;
119 references to _binaryReader
PresentationFramework (119)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (119)
164
if (
_binaryReader
.BaseStream.Length ==
_binaryReader
.BaseStream.Position &&
211
if (
_binaryReader
!= null)
215
SharedStream sharedStream =
_binaryReader
.BaseStream as SharedStream;
219
_binaryReader
.Close();
275
_binaryReader
.BaseStream.Seek(-1, SeekOrigin.Current);
292
_binaryReader
.BaseStream.Seek(-1, SeekOrigin.Current);
308
_binaryReader
.BaseStream.Seek(-1, SeekOrigin.Current);
313
if (
_binaryReader
.BaseStream.Length ==
_binaryReader
.BaseStream.Position)
324
long endOfKeysStartOfObjects =
_binaryReader
.BaseStream.Position;
334
previousKeyRecord.ValueSize = (int)(
_binaryReader
.BaseStream.Length - previousKeyRecord.ValuePosition);
345
if (record.ValuePosition ==
_binaryReader
.BaseStream.Length)
350
_binaryReader
.BaseStream.Seek(record.ValuePosition, SeekOrigin.Begin);
398
if (record.ValuePosition ==
_binaryReader
.BaseStream.Length)
403
_binaryReader
.BaseStream.Seek(record.ValuePosition, SeekOrigin.Begin);
410
return BamlSchemaContext.GetClrType(
_binaryReader
.ReadInt16());
436
if (
_binaryReader
.BaseStream.Position ==
_binaryReader
.BaseStream.Length)
716
string value =
_binaryReader
.ReadString();
717
string name = _context.SchemaContext.GetString(
_binaryReader
.ReadInt16());
737
string value =
_binaryReader
.ReadString();
738
int lineNumber =
_binaryReader
.ReadInt32();
739
int lineOffset =
_binaryReader
.ReadInt32();
782
string value =
_binaryReader
.ReadString();
783
short converterId =
_binaryReader
.ReadInt16();
817
XamlType type = BamlSchemaContext.GetXamlType(
_binaryReader
.ReadInt16());
818
byte flags =
_binaryReader
.ReadByte();
835
short resourceId =
_binaryReader
.ReadInt16();
870
byte flags =
_binaryReader
.ReadByte();
871
short keyId =
_binaryReader
.ReadInt16();
911
Int32 contentSize =
_binaryReader
.ReadInt32();
919
long position =
_binaryReader
.BaseStream.Position;
920
binaryData = new SharedStream(
_binaryReader
.BaseStream, position, contentSize);
921
_binaryReader
.BaseStream.Seek(position + contentSize, SeekOrigin.Begin);
927
binaryData = new MemoryStream(
_binaryReader
.ReadBytes(contentSize));
947
string value =
_binaryReader
.ReadString();
948
Int16 stringId =
_binaryReader
.ReadInt16();
969
Int16 keyStringId =
_binaryReader
.ReadInt16();
970
Int32 valuePosition =
_binaryReader
.ReadInt32();
971
bool isShared =
_binaryReader
.ReadBoolean();
972
bool isSharedSet =
_binaryReader
.ReadBoolean();
988
Int16 typeId =
_binaryReader
.ReadInt16();
989
byte flags =
_binaryReader
.ReadByte();
990
Int32 valuePosition =
_binaryReader
.ReadInt32();
991
bool isShared =
_binaryReader
.ReadBoolean();
992
bool isSharedSet =
_binaryReader
.ReadBoolean();
1026
string textValue =
_binaryReader
.ReadString();
1034
short textId =
_binaryReader
.ReadInt16();
1087
Int16 typeId =
_binaryReader
.ReadInt16();
1105
int stringLength =
_binaryReader
.ReadInt32();
1109
Stream s =
_binaryReader
.BaseStream;
1131
Int16 typeId =
_binaryReader
.ReadInt16();
1143
SByte flags =
_binaryReader
.ReadSByte();
1305
Int16 typeId =
_binaryReader
.ReadInt16();
1306
byte flags =
_binaryReader
.ReadByte();
1307
Int32 valuePosition =
_binaryReader
.ReadInt32();
1308
bool isShared =
_binaryReader
.ReadBoolean();
1309
bool isSharedSet =
_binaryReader
.ReadBoolean();
1375
XamlMember eventProperty = GetProperty(
_binaryReader
.ReadInt16(), false);
1392
_xamlNodesWriter.WriteValue(
_binaryReader
.ReadString());
1397
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1399
_xamlNodesWriter.WriteValue(
_binaryReader
.ReadString());
1431
BinaryReader reader = new BinaryReader(
_binaryReader
.BaseStream);
1497
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1499
short serializerTypeId =
_binaryReader
.ReadInt16();
1513
_xamlNodesWriter.WriteValue(GetTextFromBinary(
_binaryReader
.ReadBytes(recordSize - 5),
1531
_xamlNodesWriter.WriteValue(converter.ConvertFrom(
_binaryReader
.ReadBytes(dataByteSize)));
1535
_xamlNodesWriter.WriteValue((
_binaryReader
.ReadBytes(1)[0] == 0) ? false : true);
1538
_xamlNodesWriter.WriteValue(
_binaryReader
.ReadString());
1544
property = BamlSchemaContext.GetDependencyProperty(
_binaryReader
.ReadInt16());
1548
Type type = BamlSchemaContext.GetXamlType(
_binaryReader
.ReadInt16()).UnderlyingType;
1549
property = DependencyProperty.FromName(
_binaryReader
.ReadString(), type);
1558
DeferredBinaryDeserializerExtension deserializerME = new DeferredBinaryDeserializerExtension(this,
_binaryReader
, converterId, dataByteSize);
1576
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1579
object value =
_binaryReader
.ReadString();
1580
short typeConverterId =
_binaryReader
.ReadInt16();
1633
short propertyId =
_binaryReader
.ReadInt16();
1634
Int16 extensionId =
_binaryReader
.ReadInt16();
1635
Int16 valueId =
_binaryReader
.ReadInt16();
1853
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1854
XamlType type = BamlSchemaContext.GetXamlType(
_binaryReader
.ReadInt16());
1880
short propertyId =
_binaryReader
.ReadInt16();
1881
Int16 resourceId =
_binaryReader
.ReadInt16();
1973
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1984
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
1994
XamlMember property = GetProperty(
_binaryReader
.ReadInt16(), _context.CurrentFrame.XamlType);
2118
string prefix =
_binaryReader
.ReadString();
2119
string xamlNs =
_binaryReader
.ReadString();
2133
short recordSize =
_binaryReader
.ReadInt16();
2143
assemblies[i] =
_binaryReader
.ReadInt16();
2153
_context.LineOffset =
_binaryReader
.ReadInt32();
2165
_context.LineNumber =
_binaryReader
.ReadInt32();
2166
_context.LineOffset =
_binaryReader
.ReadInt32();
2178
string xmlNamespace =
_binaryReader
.ReadString();
2179
string clrNamespace =
_binaryReader
.ReadString();
2180
Int16 assemblyId =
_binaryReader
.ReadInt16();
2186
Int16 assemblyId =
_binaryReader
.ReadInt16();
2187
string assemblyName =
_binaryReader
.ReadString();
2195
Int16 typeId =
_binaryReader
.ReadInt16();
2196
Int16 assemblyId =
_binaryReader
.ReadInt16();
2197
string typeName =
_binaryReader
.ReadString();
2207
Int16 typeId =
_binaryReader
.ReadInt16();
2208
Int16 assemblyId =
_binaryReader
.ReadInt16();
2209
string typeName =
_binaryReader
.ReadString();
2210
Int16 serializerId =
_binaryReader
.ReadInt16(); // currently not used. (found through reflection)
2220
short propertyId =
_binaryReader
.ReadInt16();
2221
Int16 declaringTypeId =
_binaryReader
.ReadInt16();
2222
byte usage =
_binaryReader
.ReadByte();
2223
string propertyName =
_binaryReader
.ReadString();
2231
Int16 id =
_binaryReader
.ReadInt16();
2232
string value =
_binaryReader
.ReadString();
2239
Int16 propertyId =
_binaryReader
.ReadInt16();
2256
int connectionId =
_binaryReader
.ReadInt32();
2289
byte value =
_binaryReader
.ReadByte();
2300
long offset =
_binaryReader
.BaseStream.Position;
2301
int value =
_binaryReader
.Read7BitEncodedInt();
2302
int sizeOfEncoding = (int)(
_binaryReader
.BaseStream.Position - offset);
2315
_binaryReader
.BaseStream.Seek(offset, SeekOrigin.Current);