3 writes to _currentBamlRecord
PresentationFramework (3)
System\Windows\Markup\BamlReader.cs (3)
355
_currentBamlRecord
= null;
492
_currentBamlRecord
= _currentStaticResourceRecords[_currentStaticResourceRecordIndex++];
504
_currentBamlRecord
= _bamlRecordReader.GetNextRecord();
73 references to _currentBamlRecord
PresentationFramework (73)
System\Windows\Markup\BamlReader.cs (73)
548
if (
_currentBamlRecord
== null)
563
switch (
_currentBamlRecord
.RecordType)
575
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
580
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
585
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
667
((int)
_currentBamlRecord
.RecordType).ToString(CultureInfo.CurrentCulture)));
707
switch (
_currentBamlRecord
.RecordType)
718
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
722
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
726
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
819
BamlXmlnsPropertyRecord bamlRecord = (BamlXmlnsPropertyRecord)
_currentBamlRecord
;
849
string value = ((BamlPropertyRecord)
_currentBamlRecord
).Value;
861
BamlContentPropertyRecord bamlRecord = (BamlContentPropertyRecord)
_currentBamlRecord
;
864
cpInfo.RecordType =
_currentBamlRecord
.RecordType;
879
string value = MapTable.GetStringFromStringId(((BamlPropertyStringReferenceRecord)
_currentBamlRecord
).StringId);
898
((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).AttributeId);
900
info.RecordType =
_currentBamlRecord
.RecordType;
901
info.Value = GetTypeValueString(((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).TypeId);
910
SetCommonPropertyInfo(info, ((BamlPropertyWithExtensionRecord)
_currentBamlRecord
).AttributeId);
912
info.RecordType =
_currentBamlRecord
.RecordType;
913
info.Value = GetExtensionValueString((IOptimizedMarkupExtension)
_currentBamlRecord
);
922
(BamlPropertyWithStaticResourceIdRecord)
_currentBamlRecord
;
927
info.RecordType =
_currentBamlRecord
.RecordType;
952
((BamlPropertyRecord)
_currentBamlRecord
).AttributeId);
954
info.RecordType =
_currentBamlRecord
.RecordType;
982
((BamlPropertyCustomRecord)
_currentBamlRecord
).AttributeId);
983
info.RecordType =
_currentBamlRecord
.RecordType;
986
BamlPropertyCustomRecord bamlRecord = (BamlPropertyCustomRecord)
_currentBamlRecord
;
1102
BamlDefAttributeRecord bamlRecord = (BamlDefAttributeRecord)
_currentBamlRecord
;
1129
BamlPresentationOptionsAttributeRecord bamlRecord = (BamlPresentationOptionsAttributeRecord)
_currentBamlRecord
;
1157
BamlDefAttributeKeyTypeRecord bamlRecord = (BamlDefAttributeKeyTypeRecord)
_currentBamlRecord
;
1251
switch (
_currentBamlRecord
.RecordType)
1257
BamlDefAttributeKeyStringRecord stringKeyRecord =
_currentBamlRecord
as BamlDefAttributeKeyStringRecord;
1290
BamlDefAttributeKeyTypeRecord typeKeyRecord =
_currentBamlRecord
as BamlDefAttributeKeyTypeRecord;
1364
_currentBamlRecord
.Pin();
1365
srRecords.Add(
_currentBamlRecord
);
1368
if (
_currentBamlRecord
.RecordType == BamlRecordType.StaticResourceStart)
1389
IBamlDictionaryKey dictKey = (IBamlDictionaryKey)
_currentBamlRecord
;
1420
BamlKeyElementStartRecord keyStartRecord =
_currentBamlRecord
as BamlKeyElementStartRecord;
1471
switch (
_currentBamlRecord
.RecordType)
1482
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
1486
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
1490
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
1511
BamlTextWithIdRecord textWithIdRecord =
_currentBamlRecord
as BamlTextWithIdRecord;
1522
string escapedString = EscapeString(((BamlTextRecord)
_currentBamlRecord
).Value);
1552
BamlElementStartRecord elementStartRecord =
_currentBamlRecord
as BamlElementStartRecord;
1597
BamlConstructorParameterTypeRecord constTypeRecord =
_currentBamlRecord
as BamlConstructorParameterTypeRecord;
1604
string value = ((BamlPropertyRecord)
_currentBamlRecord
).Value;
1629
string value = MapTable.GetStringFromStringId(((BamlPropertyStringReferenceRecord)
_currentBamlRecord
).StringId);
1642
string value = GetTypeValueString(((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).TypeId);
1644
((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).AttributeId);
1656
string value = GetExtensionValueString((BamlPropertyWithExtensionRecord)
_currentBamlRecord
);
1658
((BamlPropertyWithExtensionRecord)
_currentBamlRecord
).AttributeId);
1677
((int)
_currentBamlRecord
.RecordType).ToString(CultureInfo.CurrentCulture)));
1721
_currentBamlRecord
.Pin();
1722
srRecords.Add(
_currentBamlRecord
);
1724
if (
_currentBamlRecord
.RecordType == BamlRecordType.StaticResourceEnd)
1737
BamlStaticResourceIdRecord bamlRecord = (BamlStaticResourceIdRecord)
_currentBamlRecord
;
1823
BamlDocumentStartRecord documentStartRecord = (BamlDocumentStartRecord)
_currentBamlRecord
;
1859
BamlAssemblyInfoRecord asmRecord = (BamlAssemblyInfoRecord)
_currentBamlRecord
;
1881
BamlPIMappingRecord piMappingRecord = (BamlPIMappingRecord)
_currentBamlRecord
;
1927
BamlLiteralContentRecord bamlRecord = (BamlLiteralContentRecord)
_currentBamlRecord
;
1934
BamlConnectionIdRecord bamlRecord = (BamlConnectionIdRecord)
_currentBamlRecord
;
1954
BamlElementStartRecord bamlRecord = (BamlElementStartRecord)
_currentBamlRecord
;
2032
_currentBamlRecord
.RecordType.ToString(),
2071
((BamlPropertyComplexStartRecord)
_currentBamlRecord
).AttributeId);
2091
nodeInfo.RecordType =
_currentBamlRecord
.RecordType;
2136
if (
_currentBamlRecord
.RecordType != expectedType)
2139
_currentBamlRecord
.RecordType.ToString(),
2180
BamlTextWithIdRecord textWithIdRecord =
_currentBamlRecord
as BamlTextWithIdRecord;
2189
BamlTextWithConverterRecord textWithConverter =
_currentBamlRecord
as BamlTextWithConverterRecord;
2200
_value = ((BamlTextRecord)
_currentBamlRecord
).Value;
2247
_currentBamlRecord
.RecordType.ToString(),