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