3 writes to _currentBamlRecord
PresentationFramework (3)
System\Windows\Markup\BamlReader.cs (3)
347
_currentBamlRecord
= null;
484
_currentBamlRecord
= _currentStaticResourceRecords[_currentStaticResourceRecordIndex++];
496
_currentBamlRecord
= _bamlRecordReader.GetNextRecord();
73 references to _currentBamlRecord
PresentationFramework (73)
System\Windows\Markup\BamlReader.cs (73)
540
if (
_currentBamlRecord
== null)
555
switch (
_currentBamlRecord
.RecordType)
567
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
572
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
577
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
659
((int)
_currentBamlRecord
.RecordType).ToString(CultureInfo.CurrentCulture)));
699
switch (
_currentBamlRecord
.RecordType)
710
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
714
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
718
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
811
BamlXmlnsPropertyRecord bamlRecord = (BamlXmlnsPropertyRecord)
_currentBamlRecord
;
843
string value = ((BamlPropertyRecord)
_currentBamlRecord
).Value;
855
BamlContentPropertyRecord bamlRecord = (BamlContentPropertyRecord)
_currentBamlRecord
;
858
cpInfo.RecordType =
_currentBamlRecord
.RecordType;
873
string value = MapTable.GetStringFromStringId(((BamlPropertyStringReferenceRecord)
_currentBamlRecord
).StringId);
892
((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).AttributeId);
894
info.RecordType =
_currentBamlRecord
.RecordType;
895
info.Value = GetTypeValueString(((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).TypeId);
904
SetCommonPropertyInfo(info, ((BamlPropertyWithExtensionRecord)
_currentBamlRecord
).AttributeId);
906
info.RecordType =
_currentBamlRecord
.RecordType;
907
info.Value = GetExtensionValueString((IOptimizedMarkupExtension)
_currentBamlRecord
);
916
(BamlPropertyWithStaticResourceIdRecord)
_currentBamlRecord
;
921
info.RecordType =
_currentBamlRecord
.RecordType;
946
((BamlPropertyRecord)
_currentBamlRecord
).AttributeId);
948
info.RecordType =
_currentBamlRecord
.RecordType;
976
((BamlPropertyCustomRecord)
_currentBamlRecord
).AttributeId);
977
info.RecordType =
_currentBamlRecord
.RecordType;
980
BamlPropertyCustomRecord bamlRecord = (BamlPropertyCustomRecord)
_currentBamlRecord
;
1096
BamlDefAttributeRecord bamlRecord = (BamlDefAttributeRecord)
_currentBamlRecord
;
1125
BamlPresentationOptionsAttributeRecord bamlRecord = (BamlPresentationOptionsAttributeRecord)
_currentBamlRecord
;
1155
BamlDefAttributeKeyTypeRecord bamlRecord = (BamlDefAttributeKeyTypeRecord)
_currentBamlRecord
;
1251
switch (
_currentBamlRecord
.RecordType)
1257
BamlDefAttributeKeyStringRecord stringKeyRecord =
_currentBamlRecord
as BamlDefAttributeKeyStringRecord;
1292
BamlDefAttributeKeyTypeRecord typeKeyRecord =
_currentBamlRecord
as BamlDefAttributeKeyTypeRecord;
1368
_currentBamlRecord
.Pin();
1369
srRecords.Add(
_currentBamlRecord
);
1372
if (
_currentBamlRecord
.RecordType == BamlRecordType.StaticResourceStart)
1393
IBamlDictionaryKey dictKey = (IBamlDictionaryKey)
_currentBamlRecord
;
1426
BamlKeyElementStartRecord keyStartRecord =
_currentBamlRecord
as BamlKeyElementStartRecord;
1477
switch (
_currentBamlRecord
.RecordType)
1488
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
1492
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
1496
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
1517
BamlTextWithIdRecord textWithIdRecord =
_currentBamlRecord
as BamlTextWithIdRecord;
1528
string escapedString = EscapeString(((BamlTextRecord)
_currentBamlRecord
).Value);
1558
BamlElementStartRecord elementStartRecord =
_currentBamlRecord
as BamlElementStartRecord;
1603
BamlConstructorParameterTypeRecord constTypeRecord =
_currentBamlRecord
as BamlConstructorParameterTypeRecord;
1610
string value = ((BamlPropertyRecord)
_currentBamlRecord
).Value;
1635
string value = MapTable.GetStringFromStringId(((BamlPropertyStringReferenceRecord)
_currentBamlRecord
).StringId);
1648
string value = GetTypeValueString(((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).TypeId);
1650
((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).AttributeId);
1662
string value = GetExtensionValueString((BamlPropertyWithExtensionRecord)
_currentBamlRecord
);
1664
((BamlPropertyWithExtensionRecord)
_currentBamlRecord
).AttributeId);
1683
((int)
_currentBamlRecord
.RecordType).ToString(CultureInfo.CurrentCulture)));
1729
_currentBamlRecord
.Pin();
1730
srRecords.Add(
_currentBamlRecord
);
1732
if (
_currentBamlRecord
.RecordType == BamlRecordType.StaticResourceEnd)
1745
BamlStaticResourceIdRecord bamlRecord = (BamlStaticResourceIdRecord)
_currentBamlRecord
;
1828
BamlDocumentStartRecord documentStartRecord = (BamlDocumentStartRecord)
_currentBamlRecord
;
1866
BamlAssemblyInfoRecord asmRecord = (BamlAssemblyInfoRecord)
_currentBamlRecord
;
1888
BamlPIMappingRecord piMappingRecord = (BamlPIMappingRecord)
_currentBamlRecord
;
1934
BamlLiteralContentRecord bamlRecord = (BamlLiteralContentRecord)
_currentBamlRecord
;
1941
BamlConnectionIdRecord bamlRecord = (BamlConnectionIdRecord)
_currentBamlRecord
;
1961
BamlElementStartRecord bamlRecord = (BamlElementStartRecord)
_currentBamlRecord
;
2041
_currentBamlRecord
.RecordType.ToString(),
2080
((BamlPropertyComplexStartRecord)
_currentBamlRecord
).AttributeId);
2100
nodeInfo.RecordType =
_currentBamlRecord
.RecordType;
2145
if (
_currentBamlRecord
.RecordType != expectedType)
2148
_currentBamlRecord
.RecordType.ToString(),
2189
BamlTextWithIdRecord textWithIdRecord =
_currentBamlRecord
as BamlTextWithIdRecord;
2198
BamlTextWithConverterRecord textWithConverter =
_currentBamlRecord
as BamlTextWithConverterRecord;
2209
_value = ((BamlTextRecord)
_currentBamlRecord
).Value;
2258
_currentBamlRecord
.RecordType.ToString(),