3 writes to _currentBamlRecord
PresentationFramework (3)
System\Windows\Markup\BamlReader.cs (3)
346
_currentBamlRecord
= null;
483
_currentBamlRecord
= _currentStaticResourceRecords[_currentStaticResourceRecordIndex++];
495
_currentBamlRecord
= _bamlRecordReader.GetNextRecord();
73 references to _currentBamlRecord
PresentationFramework (73)
System\Windows\Markup\BamlReader.cs (73)
539
if (
_currentBamlRecord
== null)
554
switch (
_currentBamlRecord
.RecordType)
566
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
571
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
576
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
658
((int)
_currentBamlRecord
.RecordType).ToString(CultureInfo.CurrentCulture)));
698
switch (
_currentBamlRecord
.RecordType)
709
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
713
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
717
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
810
BamlXmlnsPropertyRecord bamlRecord = (BamlXmlnsPropertyRecord)
_currentBamlRecord
;
842
string value = ((BamlPropertyRecord)
_currentBamlRecord
).Value;
854
BamlContentPropertyRecord bamlRecord = (BamlContentPropertyRecord)
_currentBamlRecord
;
857
cpInfo.RecordType =
_currentBamlRecord
.RecordType;
872
string value = MapTable.GetStringFromStringId(((BamlPropertyStringReferenceRecord)
_currentBamlRecord
).StringId);
891
((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).AttributeId);
893
info.RecordType =
_currentBamlRecord
.RecordType;
894
info.Value = GetTypeValueString(((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).TypeId);
903
SetCommonPropertyInfo(info, ((BamlPropertyWithExtensionRecord)
_currentBamlRecord
).AttributeId);
905
info.RecordType =
_currentBamlRecord
.RecordType;
906
info.Value = GetExtensionValueString((IOptimizedMarkupExtension)
_currentBamlRecord
);
915
(BamlPropertyWithStaticResourceIdRecord)
_currentBamlRecord
;
920
info.RecordType =
_currentBamlRecord
.RecordType;
945
((BamlPropertyRecord)
_currentBamlRecord
).AttributeId);
947
info.RecordType =
_currentBamlRecord
.RecordType;
975
((BamlPropertyCustomRecord)
_currentBamlRecord
).AttributeId);
976
info.RecordType =
_currentBamlRecord
.RecordType;
979
BamlPropertyCustomRecord bamlRecord = (BamlPropertyCustomRecord)
_currentBamlRecord
;
1095
BamlDefAttributeRecord bamlRecord = (BamlDefAttributeRecord)
_currentBamlRecord
;
1124
BamlPresentationOptionsAttributeRecord bamlRecord = (BamlPresentationOptionsAttributeRecord)
_currentBamlRecord
;
1154
BamlDefAttributeKeyTypeRecord bamlRecord = (BamlDefAttributeKeyTypeRecord)
_currentBamlRecord
;
1250
switch (
_currentBamlRecord
.RecordType)
1256
BamlDefAttributeKeyStringRecord stringKeyRecord =
_currentBamlRecord
as BamlDefAttributeKeyStringRecord;
1291
BamlDefAttributeKeyTypeRecord typeKeyRecord =
_currentBamlRecord
as BamlDefAttributeKeyTypeRecord;
1367
_currentBamlRecord
.Pin();
1368
srRecords.Add(
_currentBamlRecord
);
1371
if (
_currentBamlRecord
.RecordType == BamlRecordType.StaticResourceStart)
1392
IBamlDictionaryKey dictKey = (IBamlDictionaryKey)
_currentBamlRecord
;
1425
BamlKeyElementStartRecord keyStartRecord =
_currentBamlRecord
as BamlKeyElementStartRecord;
1476
switch (
_currentBamlRecord
.RecordType)
1487
MapTable.LoadTypeInfoRecord((BamlTypeInfoRecord)
_currentBamlRecord
);
1491
MapTable.LoadAttributeInfoRecord((BamlAttributeInfoRecord)
_currentBamlRecord
);
1495
MapTable.LoadStringInfoRecord((BamlStringInfoRecord)
_currentBamlRecord
);
1516
BamlTextWithIdRecord textWithIdRecord =
_currentBamlRecord
as BamlTextWithIdRecord;
1527
string escapedString = EscapeString(((BamlTextRecord)
_currentBamlRecord
).Value);
1557
BamlElementStartRecord elementStartRecord =
_currentBamlRecord
as BamlElementStartRecord;
1602
BamlConstructorParameterTypeRecord constTypeRecord =
_currentBamlRecord
as BamlConstructorParameterTypeRecord;
1609
string value = ((BamlPropertyRecord)
_currentBamlRecord
).Value;
1634
string value = MapTable.GetStringFromStringId(((BamlPropertyStringReferenceRecord)
_currentBamlRecord
).StringId);
1647
string value = GetTypeValueString(((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).TypeId);
1649
((BamlPropertyTypeReferenceRecord)
_currentBamlRecord
).AttributeId);
1661
string value = GetExtensionValueString((BamlPropertyWithExtensionRecord)
_currentBamlRecord
);
1663
((BamlPropertyWithExtensionRecord)
_currentBamlRecord
).AttributeId);
1682
((int)
_currentBamlRecord
.RecordType).ToString(CultureInfo.CurrentCulture)));
1728
_currentBamlRecord
.Pin();
1729
srRecords.Add(
_currentBamlRecord
);
1731
if (
_currentBamlRecord
.RecordType == BamlRecordType.StaticResourceEnd)
1744
BamlStaticResourceIdRecord bamlRecord = (BamlStaticResourceIdRecord)
_currentBamlRecord
;
1827
BamlDocumentStartRecord documentStartRecord = (BamlDocumentStartRecord)
_currentBamlRecord
;
1865
BamlAssemblyInfoRecord asmRecord = (BamlAssemblyInfoRecord)
_currentBamlRecord
;
1887
BamlPIMappingRecord piMappingRecord = (BamlPIMappingRecord)
_currentBamlRecord
;
1933
BamlLiteralContentRecord bamlRecord = (BamlLiteralContentRecord)
_currentBamlRecord
;
1940
BamlConnectionIdRecord bamlRecord = (BamlConnectionIdRecord)
_currentBamlRecord
;
1960
BamlElementStartRecord bamlRecord = (BamlElementStartRecord)
_currentBamlRecord
;
2040
_currentBamlRecord
.RecordType.ToString(),
2079
((BamlPropertyComplexStartRecord)
_currentBamlRecord
).AttributeId);
2099
nodeInfo.RecordType =
_currentBamlRecord
.RecordType;
2144
if (
_currentBamlRecord
.RecordType != expectedType)
2147
_currentBamlRecord
.RecordType.ToString(),
2188
BamlTextWithIdRecord textWithIdRecord =
_currentBamlRecord
as BamlTextWithIdRecord;
2197
BamlTextWithConverterRecord textWithConverter =
_currentBamlRecord
as BamlTextWithConverterRecord;
2208
_value = ((BamlTextRecord)
_currentBamlRecord
).Value;
2257
_currentBamlRecord
.RecordType.ToString(),