3 writes to _currentBamlRecord
PresentationFramework (3)
src\Framework\System\Windows\Markup\BamlReader.cs (3)
364
_currentBamlRecord
= null;
501
_currentBamlRecord
= _currentStaticResourceRecords[_currentStaticResourceRecordIndex++];
513
_currentBamlRecord
= _bamlRecordReader.GetNextRecord();
73 references to _currentBamlRecord
PresentationFramework (73)
src\Framework\System\Windows\Markup\BamlReader.cs (73)
557
if (
_currentBamlRecord
== null)
572
switch (
_currentBamlRecord
.RecordType)
584
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
589
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
594
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
676
((int)
_currentBamlRecord
.RecordType).ToString(CultureInfo.CurrentCulture)));
719
switch (
_currentBamlRecord
.RecordType)
730
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
734
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
738
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
831
BamlXmlnsPropertyRecord bamlRecord = (BamlXmlnsPropertyRecord)
_currentBamlRecord
;
861
string value = ((BamlPropertyRecord)
_currentBamlRecord
).Value;
873
BamlContentPropertyRecord bamlRecord = (BamlContentPropertyRecord)
_currentBamlRecord
;
876
cpInfo.RecordType =
_currentBamlRecord
.RecordType;
891
string value = MapTable.GetStringFromStringId(((BamlPropertyStringReferenceRecord)
_currentBamlRecord
).StringId);
910
((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).AttributeId);
912
info.RecordType =
_currentBamlRecord
.RecordType;
913
info.Value = GetTypeValueString(((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).TypeId);
922
SetCommonPropertyInfo(info, ((BamlPropertyWithExtensionRecord)
_currentBamlRecord
).AttributeId);
924
info.RecordType =
_currentBamlRecord
.RecordType;
925
info.Value = GetExtensionValueString((IOptimizedMarkupExtension)
_currentBamlRecord
);
934
(BamlPropertyWithStaticResourceIdRecord)
_currentBamlRecord
;
939
info.RecordType =
_currentBamlRecord
.RecordType;
964
((BamlPropertyRecord)
_currentBamlRecord
).AttributeId);
966
info.RecordType =
_currentBamlRecord
.RecordType;
994
((BamlPropertyCustomRecord)
_currentBamlRecord
).AttributeId);
995
info.RecordType =
_currentBamlRecord
.RecordType;
998
BamlPropertyCustomRecord bamlRecord = (BamlPropertyCustomRecord)
_currentBamlRecord
;
1114
BamlDefAttributeRecord bamlRecord = (BamlDefAttributeRecord)
_currentBamlRecord
;
1141
BamlPresentationOptionsAttributeRecord bamlRecord = (BamlPresentationOptionsAttributeRecord)
_currentBamlRecord
;
1169
BamlDefAttributeKeyTypeRecord bamlRecord = (BamlDefAttributeKeyTypeRecord)
_currentBamlRecord
;
1263
switch (
_currentBamlRecord
.RecordType)
1269
BamlDefAttributeKeyStringRecord stringKeyRecord =
_currentBamlRecord
as BamlDefAttributeKeyStringRecord;
1302
BamlDefAttributeKeyTypeRecord typeKeyRecord =
_currentBamlRecord
as BamlDefAttributeKeyTypeRecord;
1376
_currentBamlRecord
.Pin();
1377
srRecords.Add(
_currentBamlRecord
);
1380
if (
_currentBamlRecord
.RecordType == BamlRecordType.StaticResourceStart)
1401
IBamlDictionaryKey dictKey = (IBamlDictionaryKey)
_currentBamlRecord
;
1432
BamlKeyElementStartRecord keyStartRecord =
_currentBamlRecord
as BamlKeyElementStartRecord;
1483
switch (
_currentBamlRecord
.RecordType)
1494
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
1498
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
1502
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
1523
BamlTextWithIdRecord textWithIdRecord =
_currentBamlRecord
as BamlTextWithIdRecord;
1534
string escapedString = EscapeString(((BamlTextRecord)
_currentBamlRecord
).Value);
1564
BamlElementStartRecord elementStartRecord =
_currentBamlRecord
as BamlElementStartRecord;
1609
BamlConstructorParameterTypeRecord constTypeRecord =
_currentBamlRecord
as BamlConstructorParameterTypeRecord;
1616
string value = ((BamlPropertyRecord)
_currentBamlRecord
).Value;
1641
string value = MapTable.GetStringFromStringId(((BamlPropertyStringReferenceRecord)
_currentBamlRecord
).StringId);
1654
string value = GetTypeValueString(((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).TypeId);
1656
((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).AttributeId);
1668
string value = GetExtensionValueString((BamlPropertyWithExtensionRecord)
_currentBamlRecord
);
1670
((BamlPropertyWithExtensionRecord)
_currentBamlRecord
).AttributeId);
1689
((int)
_currentBamlRecord
.RecordType).ToString(CultureInfo.CurrentCulture)));
1734
_currentBamlRecord
.Pin();
1735
srRecords.Add(
_currentBamlRecord
);
1737
if (
_currentBamlRecord
.RecordType == BamlRecordType.StaticResourceEnd)
1750
BamlStaticResourceIdRecord bamlRecord = (BamlStaticResourceIdRecord)
_currentBamlRecord
;
1836
BamlDocumentStartRecord documentStartRecord = (BamlDocumentStartRecord)
_currentBamlRecord
;
1872
BamlAssemblyInfoRecord asmRecord = (BamlAssemblyInfoRecord)
_currentBamlRecord
;
1894
BamlPIMappingRecord piMappingRecord = (BamlPIMappingRecord)
_currentBamlRecord
;
1949
BamlLiteralContentRecord bamlRecord = (BamlLiteralContentRecord)
_currentBamlRecord
;
1956
BamlConnectionIdRecord bamlRecord = (BamlConnectionIdRecord)
_currentBamlRecord
;
1976
BamlElementStartRecord bamlRecord = (BamlElementStartRecord)
_currentBamlRecord
;
2054
_currentBamlRecord
.RecordType.ToString(),
2094
((BamlPropertyComplexStartRecord)
_currentBamlRecord
).AttributeId);
2114
nodeInfo.RecordType =
_currentBamlRecord
.RecordType;
2159
if (
_currentBamlRecord
.RecordType != expectedType)
2162
_currentBamlRecord
.RecordType.ToString(),
2203
BamlTextWithIdRecord textWithIdRecord =
_currentBamlRecord
as BamlTextWithIdRecord;
2212
BamlTextWithConverterRecord textWithConverter =
_currentBamlRecord
as BamlTextWithConverterRecord;
2223
_value = ((BamlTextRecord)
_currentBamlRecord
).Value;
2270
_currentBamlRecord
.RecordType.ToString(),