3 writes to _currentBamlRecord
PresentationFramework (3)
System\Windows\Markup\BamlReader.cs (3)
345
_currentBamlRecord
= null;
482
_currentBamlRecord
= _currentStaticResourceRecords[_currentStaticResourceRecordIndex++];
494
_currentBamlRecord
= _bamlRecordReader.GetNextRecord();
73 references to _currentBamlRecord
PresentationFramework (73)
System\Windows\Markup\BamlReader.cs (73)
538
if (
_currentBamlRecord
== null)
553
switch (
_currentBamlRecord
.RecordType)
565
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
570
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
575
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
657
((int)
_currentBamlRecord
.RecordType).ToString(CultureInfo.CurrentCulture)));
697
switch (
_currentBamlRecord
.RecordType)
708
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
712
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
716
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
809
BamlXmlnsPropertyRecord bamlRecord = (BamlXmlnsPropertyRecord)
_currentBamlRecord
;
839
string value = ((BamlPropertyRecord)
_currentBamlRecord
).Value;
851
BamlContentPropertyRecord bamlRecord = (BamlContentPropertyRecord)
_currentBamlRecord
;
854
cpInfo.RecordType =
_currentBamlRecord
.RecordType;
869
string value = MapTable.GetStringFromStringId(((BamlPropertyStringReferenceRecord)
_currentBamlRecord
).StringId);
888
((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).AttributeId);
890
info.RecordType =
_currentBamlRecord
.RecordType;
891
info.Value = GetTypeValueString(((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).TypeId);
900
SetCommonPropertyInfo(info, ((BamlPropertyWithExtensionRecord)
_currentBamlRecord
).AttributeId);
902
info.RecordType =
_currentBamlRecord
.RecordType;
903
info.Value = GetExtensionValueString((IOptimizedMarkupExtension)
_currentBamlRecord
);
912
(BamlPropertyWithStaticResourceIdRecord)
_currentBamlRecord
;
917
info.RecordType =
_currentBamlRecord
.RecordType;
942
((BamlPropertyRecord)
_currentBamlRecord
).AttributeId);
944
info.RecordType =
_currentBamlRecord
.RecordType;
972
((BamlPropertyCustomRecord)
_currentBamlRecord
).AttributeId);
973
info.RecordType =
_currentBamlRecord
.RecordType;
976
BamlPropertyCustomRecord bamlRecord = (BamlPropertyCustomRecord)
_currentBamlRecord
;
1092
BamlDefAttributeRecord bamlRecord = (BamlDefAttributeRecord)
_currentBamlRecord
;
1119
BamlPresentationOptionsAttributeRecord bamlRecord = (BamlPresentationOptionsAttributeRecord)
_currentBamlRecord
;
1147
BamlDefAttributeKeyTypeRecord bamlRecord = (BamlDefAttributeKeyTypeRecord)
_currentBamlRecord
;
1241
switch (
_currentBamlRecord
.RecordType)
1247
BamlDefAttributeKeyStringRecord stringKeyRecord =
_currentBamlRecord
as BamlDefAttributeKeyStringRecord;
1280
BamlDefAttributeKeyTypeRecord typeKeyRecord =
_currentBamlRecord
as BamlDefAttributeKeyTypeRecord;
1354
_currentBamlRecord
.Pin();
1355
srRecords.Add(
_currentBamlRecord
);
1358
if (
_currentBamlRecord
.RecordType == BamlRecordType.StaticResourceStart)
1379
IBamlDictionaryKey dictKey = (IBamlDictionaryKey)
_currentBamlRecord
;
1410
BamlKeyElementStartRecord keyStartRecord =
_currentBamlRecord
as BamlKeyElementStartRecord;
1461
switch (
_currentBamlRecord
.RecordType)
1472
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
1476
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
1480
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
1501
BamlTextWithIdRecord textWithIdRecord =
_currentBamlRecord
as BamlTextWithIdRecord;
1512
string escapedString = EscapeString(((BamlTextRecord)
_currentBamlRecord
).Value);
1542
BamlElementStartRecord elementStartRecord =
_currentBamlRecord
as BamlElementStartRecord;
1587
BamlConstructorParameterTypeRecord constTypeRecord =
_currentBamlRecord
as BamlConstructorParameterTypeRecord;
1594
string value = ((BamlPropertyRecord)
_currentBamlRecord
).Value;
1619
string value = MapTable.GetStringFromStringId(((BamlPropertyStringReferenceRecord)
_currentBamlRecord
).StringId);
1632
string value = GetTypeValueString(((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).TypeId);
1634
((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).AttributeId);
1646
string value = GetExtensionValueString((BamlPropertyWithExtensionRecord)
_currentBamlRecord
);
1648
((BamlPropertyWithExtensionRecord)
_currentBamlRecord
).AttributeId);
1667
((int)
_currentBamlRecord
.RecordType).ToString(CultureInfo.CurrentCulture)));
1711
_currentBamlRecord
.Pin();
1712
srRecords.Add(
_currentBamlRecord
);
1714
if (
_currentBamlRecord
.RecordType == BamlRecordType.StaticResourceEnd)
1727
BamlStaticResourceIdRecord bamlRecord = (BamlStaticResourceIdRecord)
_currentBamlRecord
;
1813
BamlDocumentStartRecord documentStartRecord = (BamlDocumentStartRecord)
_currentBamlRecord
;
1849
BamlAssemblyInfoRecord asmRecord = (BamlAssemblyInfoRecord)
_currentBamlRecord
;
1871
BamlPIMappingRecord piMappingRecord = (BamlPIMappingRecord)
_currentBamlRecord
;
1917
BamlLiteralContentRecord bamlRecord = (BamlLiteralContentRecord)
_currentBamlRecord
;
1924
BamlConnectionIdRecord bamlRecord = (BamlConnectionIdRecord)
_currentBamlRecord
;
1944
BamlElementStartRecord bamlRecord = (BamlElementStartRecord)
_currentBamlRecord
;
2022
_currentBamlRecord
.RecordType.ToString(),
2061
((BamlPropertyComplexStartRecord)
_currentBamlRecord
).AttributeId);
2081
nodeInfo.RecordType =
_currentBamlRecord
.RecordType;
2126
if (
_currentBamlRecord
.RecordType != expectedType)
2129
_currentBamlRecord
.RecordType.ToString(),
2170
BamlTextWithIdRecord textWithIdRecord =
_currentBamlRecord
as BamlTextWithIdRecord;
2179
BamlTextWithConverterRecord textWithConverter =
_currentBamlRecord
as BamlTextWithConverterRecord;
2190
_value = ((BamlTextRecord)
_currentBamlRecord
).Value;
2237
_currentBamlRecord
.RecordType.ToString(),