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