525 references to BamlRecordType
PresentationFramework (525)
System\Windows\Markup\BamlReader.cs (111)
408if (info.RecordType == BamlRecordType.XmlnsProperty) 412else if (info.RecordType == BamlRecordType.DefAttribute) 416else if (info.RecordType == BamlRecordType.PresentationOptionsAttribute) 560case BamlRecordType.AssemblyInfo: 565case BamlRecordType.TypeInfo: 566case BamlRecordType.TypeSerializerInfo: 571case BamlRecordType.AttributeInfo: 576case BamlRecordType.StringInfo: 581case BamlRecordType.ContentProperty: 588case BamlRecordType.DocumentStart: 592case BamlRecordType.DocumentEnd: 596case BamlRecordType.PIMapping: 600case BamlRecordType.LiteralContent: 604case BamlRecordType.ElementStart: 605case BamlRecordType.StaticResourceStart: 609case BamlRecordType.ElementEnd: 610case BamlRecordType.StaticResourceEnd: 614case BamlRecordType.PropertyComplexStart: 615case BamlRecordType.PropertyArrayStart: 616case BamlRecordType.PropertyIListStart: 617case BamlRecordType.PropertyIDictionaryStart: 621case BamlRecordType.PropertyComplexEnd: 622case BamlRecordType.PropertyArrayEnd: 623case BamlRecordType.PropertyIListEnd: 624case BamlRecordType.PropertyIDictionaryEnd: 628case BamlRecordType.Text: 629case BamlRecordType.TextWithId: 630case BamlRecordType.TextWithConverter: 634case BamlRecordType.DeferableContentStart: 639case BamlRecordType.ConstructorParametersStart: 643case BamlRecordType.ConstructorParametersEnd: 647case BamlRecordType.ConnectionId: 651case BamlRecordType.StaticResourceId: 704case BamlRecordType.AssemblyInfo: 708case BamlRecordType.TypeInfo: 709case BamlRecordType.TypeSerializerInfo: 713case BamlRecordType.AttributeInfo: 717case BamlRecordType.StringInfo: 722case BamlRecordType.XmlnsProperty: 726case BamlRecordType.ConnectionId: 730case BamlRecordType.Property: 731case BamlRecordType.PropertyWithConverter: 735case BamlRecordType.ContentProperty: 740case BamlRecordType.PropertyStringReference: 744case BamlRecordType.PropertyTypeReference: 748case BamlRecordType.PropertyWithExtension: 752case BamlRecordType.PropertyWithStaticResourceId: 756case BamlRecordType.PropertyCustom: 760case BamlRecordType.DefAttribute: 764case BamlRecordType.PresentationOptionsAttribute: 768case BamlRecordType.DefAttributeKeyType: 772case BamlRecordType.RoutedEvent: 776case BamlRecordType.ClrEvent: 780case BamlRecordType.KeyElementStart: 826RecordType = BamlRecordType.XmlnsProperty 1109info.RecordType = BamlRecordType.DefAttribute; 1138info.RecordType = BamlRecordType.PresentationOptionsAttribute; 1167info.RecordType = BamlRecordType.DefAttribute; 1256case BamlRecordType.DefAttributeKeyString: 1285info.RecordType = BamlRecordType.DefAttribute; 1291case BamlRecordType.DefAttributeKeyType: 1336info.RecordType = BamlRecordType.DefAttribute; 1342case BamlRecordType.KeyElementStart: 1361case BamlRecordType.StaticResourceStart: 1362case BamlRecordType.OptimizedStaticResource: 1372if (_currentBamlRecord.RecordType == BamlRecordType.StaticResourceStart) 1408info.RecordType = BamlRecordType.DefAttribute; 1482case BamlRecordType.AssemblyInfo: 1486case BamlRecordType.TypeInfo: 1487case BamlRecordType.TypeSerializerInfo: 1491case BamlRecordType.AttributeInfo: 1495case BamlRecordType.StringInfo: 1500case BamlRecordType.PropertyComplexStart: 1511case BamlRecordType.PropertyComplexEnd: 1514case BamlRecordType.Text: 1515case BamlRecordType.TextWithId: 1541case BamlRecordType.ElementStart: 1573case BamlRecordType.ElementEnd: 1580case BamlRecordType.ConstructorParametersStart: 1585case BamlRecordType.ConstructorParametersEnd: 1592case BamlRecordType.ConstructorParameterType: 1607case BamlRecordType.Property: 1608case BamlRecordType.PropertyWithConverter: 1621case BamlRecordType.PropertyCustom: 1633case BamlRecordType.PropertyStringReference: 1646case BamlRecordType.PropertyTypeReference: 1660case BamlRecordType.PropertyWithExtension: 1674case BamlRecordType.KeyElementEnd: 1699info.RecordType = BamlRecordType.DefAttribute; 1732if (_currentBamlRecord.RecordType == BamlRecordType.StaticResourceEnd) 1837RecordType = BamlRecordType.DocumentStart 1856if (nodeInfo.RecordType != BamlRecordType.DocumentStart) 1983RecordType = BamlRecordType.ElementStart 2041if (nodeInfo.RecordType != BamlRecordType.ElementStart) 2045BamlRecordType.ElementEnd.ToString())); 2128BamlRecordType expectedType; 2131case BamlRecordType.PropertyComplexStart: 2132expectedType = BamlRecordType.PropertyComplexEnd; 2134case BamlRecordType.PropertyArrayStart: 2135expectedType = BamlRecordType.PropertyArrayEnd; 2137case BamlRecordType.PropertyIListStart: 2138expectedType = BamlRecordType.PropertyIListEnd; 2140case BamlRecordType.PropertyIDictionaryStart: 2141expectedType = BamlRecordType.PropertyIDictionaryEnd; 2144expectedType = BamlRecordType.Unknown; 2233RecordType = BamlRecordType.ConstructorParametersStart 2258if (nodeInfo.RecordType != BamlRecordType.ConstructorParametersStart) 2262BamlRecordType.ConstructorParametersEnd.ToString())); 2303info.RecordType = BamlRecordType.DefAttribute; 2896internal BamlRecordType RecordType 2953private BamlRecordType _recordType;
System\Windows\Markup\BamlRecordHelper.cs (67)
25static internal bool IsMapTableRecordType( BamlRecordType bamlRecordType ) 29case BamlRecordType.PIMapping: 30case BamlRecordType.AssemblyInfo: 31case BamlRecordType.TypeInfo: 32case BamlRecordType.TypeSerializerInfo: 33case BamlRecordType.AttributeInfo: 34case BamlRecordType.StringInfo: 42internal static bool IsDebugBamlRecordType(BamlRecordType recordType) 44if ( recordType == BamlRecordType.LineNumberAndPosition 45|| recordType == BamlRecordType.LinePosition ) 66internal static bool DoesRecordTypeHaveDebugExtension(BamlRecordType recordType) 70case BamlRecordType.ElementStart: 71case BamlRecordType.ElementEnd: 72case BamlRecordType.Property: 73case BamlRecordType.PropertyComplexStart: 74case BamlRecordType.PropertyArrayStart: 75case BamlRecordType.PropertyIListStart: 76case BamlRecordType.PropertyIDictionaryStart: 77case BamlRecordType.XmlnsProperty: 78case BamlRecordType.PIMapping: 79case BamlRecordType.PropertyTypeReference: 80case BamlRecordType.PropertyWithExtension: 81case BamlRecordType.PropertyWithConverter: 82case BamlRecordType.KeyElementStart: 83case BamlRecordType.ConnectionId: 84case BamlRecordType.ContentProperty: 85case BamlRecordType.StaticResourceStart: 86case BamlRecordType.PresentationOptionsAttribute: 89case BamlRecordType.DocumentStart: 90case BamlRecordType.DocumentEnd: // End record 91case BamlRecordType.PropertyCustom: // The "custom" size of this is a problem 92case BamlRecordType.PropertyComplexEnd: // End record 93case BamlRecordType.PropertyArrayEnd: // End record 94case BamlRecordType.PropertyIListEnd: // End record 95case BamlRecordType.PropertyIDictionaryEnd: // End record 96case BamlRecordType.LiteralContent: // Not needed 97case BamlRecordType.Text: // Not needed 98case BamlRecordType.TextWithConverter: // Not common enough 99case BamlRecordType.RoutedEvent: // Not common enough 100case BamlRecordType.ClrEvent: // Not common enough 101case BamlRecordType.XmlAttribute: // Not common enough 102case BamlRecordType.ProcessingInstruction: // Not common enough 103case BamlRecordType.Comment: // Not common enough 104case BamlRecordType.DefTag: // Not common enough 105case BamlRecordType.DefAttribute: // Not common enough 106case BamlRecordType.EndAttributes: // Not common enough 107case BamlRecordType.AssemblyInfo: // Info records (in general) don't advance file position 108case BamlRecordType.TypeInfo: // Info records (in general) don't advance file position 109case BamlRecordType.TypeSerializerInfo: // Not common enough 110case BamlRecordType.AttributeInfo: // Info records (in general) don't advance file position 111case BamlRecordType.StringInfo: // Info records (in general) don't advance file position 112case BamlRecordType.PropertyStringReference: // Not common enough 113case BamlRecordType.DeferableContentStart: // This would complicate Deferable Content Size 114case BamlRecordType.ConstructorParametersStart: // Not Needed 115case BamlRecordType.ConstructorParametersEnd: // End record 116case BamlRecordType.ConstructorParameterType: // Not Needed 117case BamlRecordType.NamedElementStart: // Not common enough 118case BamlRecordType.TextWithId: // Not Needed 119case BamlRecordType.LineNumberAndPosition: // This would become recursive 120case BamlRecordType.LinePosition: // This would become recursive 121case BamlRecordType.DefAttributeKeyString: 122case BamlRecordType.DefAttributeKeyType: 123case BamlRecordType.KeyElementEnd: 124case BamlRecordType.StaticResourceEnd: 125case BamlRecordType.StaticResourceId: 126case BamlRecordType.OptimizedStaticResource: 127case BamlRecordType.PropertyWithStaticResourceId:
System\Windows\Markup\BamlRecordReader.cs (70)
212BamlRecordType recordType = (BamlRecordType)BinaryReader.ReadByte(); 250BamlRecordType recordType = (BamlRecordType)BinaryReader.ReadByte(); 280BamlRecordType recordType) 301BamlRecordType nextRecordType = (BamlRecordType)BinaryReader.ReadByte(); 319if(bamlRecord.RecordType == BamlRecordType.LineNumberAndPosition) 327Debug.Assert(bamlRecord.RecordType == BamlRecordType.LinePosition); 336internal BamlRecordType GetNextRecordType() 338BamlRecordType bamlRecordType; 342bamlRecordType = (BamlRecordType)BinaryReader.PeekChar(); 560case BamlRecordType.DocumentStart: 564case BamlRecordType.DocumentEnd: 569case BamlRecordType.XmlnsProperty: 573case BamlRecordType.PIMapping: 589case BamlRecordType.AssemblyInfo: 593case BamlRecordType.TypeInfo: 594case BamlRecordType.TypeSerializerInfo: 598case BamlRecordType.AttributeInfo: 602case BamlRecordType.StringInfo: 606case BamlRecordType.LiteralContent: 610case BamlRecordType.ElementStart: 611case BamlRecordType.StaticResourceStart: 622case BamlRecordType.NamedElementStart: 628case BamlRecordType.ConnectionId: 632case BamlRecordType.ElementEnd: 633case BamlRecordType.StaticResourceEnd: 644case BamlRecordType.PropertyComplexStart: 648case BamlRecordType.PropertyComplexEnd: 652case BamlRecordType.Property: 656case BamlRecordType.PropertyStringReference: 660case BamlRecordType.PropertyTypeReference: 664case BamlRecordType.PropertyWithExtension: 668case BamlRecordType.PropertyWithConverter: 672case BamlRecordType.PropertyCustom: 676case BamlRecordType.PropertyArrayStart: 680case BamlRecordType.PropertyArrayEnd: 684case BamlRecordType.PropertyIListStart: 688case BamlRecordType.PropertyIListEnd: 692case BamlRecordType.PropertyIDictionaryStart: 696case BamlRecordType.PropertyIDictionaryEnd: 700case BamlRecordType.DefAttribute: 704case BamlRecordType.DefAttributeKeyType: 708case BamlRecordType.PresentationOptionsAttribute: 712case BamlRecordType.RoutedEvent: 722case BamlRecordType.Text: 723case BamlRecordType.TextWithId: 724case BamlRecordType.TextWithConverter: 728case BamlRecordType.DeferableContentStart: 732case BamlRecordType.KeyElementStart: 736case BamlRecordType.KeyElementEnd: 740case BamlRecordType.ConstructorParametersStart: 744case BamlRecordType.ConstructorParametersEnd: 748case BamlRecordType.ConstructorParameterType: 752case BamlRecordType.ContentProperty: 756case BamlRecordType.StaticResourceId: 760case BamlRecordType.PropertyWithStaticResourceId: 764case BamlRecordType.LineNumberAndPosition: // Should be skipped in ReadNextRecordWithDebugExtension. 765case BamlRecordType.LinePosition: // Should be skipped in ReadNextRecordWithDebugExtension. 1740BamlRecordType nextType = GetNextRecordType(); 1741while (nextType == BamlRecordType.DefAttributeKeyString || 1742nextType == BamlRecordType.DefAttributeKeyType || 1743nextType == BamlRecordType.KeyElementStart) 1747if (nextType == BamlRecordType.KeyElementStart) 1827while (nextType == BamlRecordType.StaticResourceStart || 1828nextType == BamlRecordType.OptimizedStaticResource) 1831if (nextType == BamlRecordType.StaticResourceStart) 1841if (nestedBamlRecord.RecordType == BamlRecordType.StaticResourceEnd) 1884while (nextType == BamlRecordType.StaticResourceId)
System\Windows\Markup\BamlRecords.cs (178)
376BamlRecordType recordType) 386case BamlRecordType.AssemblyInfo: 389case BamlRecordType.TypeInfo: 392case BamlRecordType.TypeSerializerInfo: 395case BamlRecordType.AttributeInfo: 398case BamlRecordType.StringInfo: 401case BamlRecordType.DefAttributeKeyString: 404case BamlRecordType.DefAttributeKeyType: 407case BamlRecordType.KeyElementStart: 466static internal BamlRecordType GetPropertyStartRecordType(Type propertyType, bool propertyCanWrite) 468BamlRecordType recordType; 471recordType = BamlRecordType.PropertyArrayStart; 484recordType = BamlRecordType.PropertyIDictionaryStart; 496recordType = BamlRecordType.PropertyIListStart; 500recordType = BamlRecordType.PropertyComplexStart; 513case BamlRecordType.ElementStart: 524case BamlRecordType.PropertyCustom: 547private BamlRecord AllocateWriteRecord(BamlRecordType recordType) 553case BamlRecordType.PropertyCustom: 566private BamlRecord AllocateRecord(BamlRecordType recordType) 572case BamlRecordType.DocumentStart: 575case BamlRecordType.DocumentEnd: 578case BamlRecordType.ConnectionId: 581case BamlRecordType.ElementStart: 584case BamlRecordType.ElementEnd: 587case BamlRecordType.DeferableContentStart: 590case BamlRecordType.DefAttributeKeyString: 593case BamlRecordType.DefAttributeKeyType: 596case BamlRecordType.LiteralContent: 599case BamlRecordType.Property: 602case BamlRecordType.PropertyWithConverter: 605case BamlRecordType.PropertyStringReference: 608case BamlRecordType.PropertyTypeReference: 611case BamlRecordType.PropertyWithExtension: 614case BamlRecordType.PropertyCustom: 617case BamlRecordType.PropertyComplexStart: 620case BamlRecordType.PropertyComplexEnd: 623case BamlRecordType.RoutedEvent: 626case BamlRecordType.PropertyArrayStart: 629case BamlRecordType.PropertyArrayEnd: 632case BamlRecordType.PropertyIListStart: 635case BamlRecordType.PropertyIListEnd: 638case BamlRecordType.PropertyIDictionaryStart: 641case BamlRecordType.PropertyIDictionaryEnd: 644case BamlRecordType.Text: 647case BamlRecordType.TextWithConverter: 650case BamlRecordType.TextWithId: 653case BamlRecordType.XmlnsProperty: 656case BamlRecordType.PIMapping: 659case BamlRecordType.DefAttribute: 662case BamlRecordType.PresentationOptionsAttribute: 665case BamlRecordType.KeyElementStart: 668case BamlRecordType.KeyElementEnd: 671case BamlRecordType.ConstructorParametersStart: 674case BamlRecordType.ConstructorParametersEnd: 677case BamlRecordType.ConstructorParameterType: 680case BamlRecordType.ContentProperty: 683case BamlRecordType.AssemblyInfo: 684case BamlRecordType.TypeInfo: 685case BamlRecordType.TypeSerializerInfo: 686case BamlRecordType.AttributeInfo: 687case BamlRecordType.StringInfo: 691case BamlRecordType.StaticResourceStart: 694case BamlRecordType.StaticResourceEnd: 697case BamlRecordType.StaticResourceId: 700case BamlRecordType.LineNumberAndPosition: 703case BamlRecordType.LinePosition: 706case BamlRecordType.OptimizedStaticResource: 709case BamlRecordType.PropertyWithStaticResourceId: 723internal BamlRecord GetWriteRecord(BamlRecordType recordType) 729_writeCache = new BamlRecord[(int)BamlRecordType.LastRecordType]; 781BamlRecord[] _readCache = new BamlRecord[(int)BamlRecordType.LastRecordType]; 861internal virtual BamlRecordType RecordType 866return BamlRecordType.Unknown; 992internal static bool IsContentRecord( BamlRecordType bamlRecordType ) 994return bamlRecordType == BamlRecordType.PropertyComplexStart 996bamlRecordType == BamlRecordType.PropertyArrayStart 998bamlRecordType == BamlRecordType.PropertyIListStart 1000bamlRecordType == BamlRecordType.PropertyIDictionaryStart 1002bamlRecordType == BamlRecordType.Text; 1222internal override BamlRecordType RecordType 1224get { return BamlRecordType.XmlnsProperty; } 1293internal override BamlRecordType RecordType 1295get { return BamlRecordType.PIMapping; } 1531internal override BamlRecordType RecordType 1533get { return BamlRecordType.DefAttributeKeyType; } 1715internal override BamlRecordType RecordType 1717get { return BamlRecordType.DefAttributeKeyString; } 1874internal override BamlRecordType RecordType 1876get { return BamlRecordType.DefAttribute; } 1962internal override BamlRecordType RecordType 1964get { return BamlRecordType.PresentationOptionsAttribute; } 2035internal override BamlRecordType RecordType 2037get { return BamlRecordType.PropertyComplexStart; } 2103internal override BamlRecordType RecordType 2105get { return BamlRecordType.PropertyStringReference; } 2166internal override BamlRecordType RecordType 2168get { return BamlRecordType.PropertyTypeReference; } 2237internal override BamlRecordType RecordType 2239get { return BamlRecordType.PropertyWithConverter; } 2287internal override BamlRecordType RecordType 2289get { return BamlRecordType.Property; } 2368internal override BamlRecordType RecordType 2370get { return BamlRecordType.PropertyWithExtension; } 2820internal override BamlRecordType RecordType 2822get { return BamlRecordType.PropertyCustom; } 2908internal override BamlRecordType RecordType 2910get { return BamlRecordType.PropertyArrayEnd; } 2920internal override BamlRecordType RecordType 2922get { return BamlRecordType.ConstructorParametersStart; } 2932internal override BamlRecordType RecordType 2934get { return BamlRecordType.ConstructorParametersEnd; } 2970internal override BamlRecordType RecordType 2972get { return BamlRecordType.ConstructorParameterType; } 2998internal override BamlRecordType RecordType 3000get { return BamlRecordType.PropertyIListEnd; } 3010internal override BamlRecordType RecordType 3012get { return BamlRecordType.PropertyIDictionaryEnd; } 3022internal override BamlRecordType RecordType 3024get { return BamlRecordType.PropertyComplexEnd; } 3035internal override BamlRecordType RecordType 3037get { return BamlRecordType.PropertyArrayStart; } 3047internal override BamlRecordType RecordType 3049get { return BamlRecordType.PropertyIListStart; } 3059internal override BamlRecordType RecordType 3061get { return BamlRecordType.PropertyIDictionaryStart; } 3099internal override BamlRecordType RecordType 3101get { return BamlRecordType.RoutedEvent; } 3149internal override BamlRecordType RecordType 3151get { return BamlRecordType.LiteralContent; } 3183internal override BamlRecordType RecordType 3185get { return BamlRecordType.ConnectionId; } 3231internal override BamlRecordType RecordType 3233get { return BamlRecordType.ElementStart; } 3463internal override BamlRecordType RecordType 3465get { return BamlRecordType.DeferableContentStart; } 3537internal override BamlRecordType RecordType 3539get { return BamlRecordType.StaticResourceStart; } 3557internal override BamlRecordType RecordType 3559get { return BamlRecordType.StaticResourceEnd; } 3617internal override BamlRecordType RecordType 3619get { return BamlRecordType.OptimizedStaticResource; } 3729internal override BamlRecordType RecordType 3731get { return BamlRecordType.StaticResourceId; } 3807internal override BamlRecordType RecordType 3809get { return BamlRecordType.PropertyWithStaticResourceId; } 3849internal override BamlRecordType RecordType 3851get { return BamlRecordType.Text; } 3888internal override BamlRecordType RecordType 3890get { return BamlRecordType.TextWithId; } 3951internal override BamlRecordType RecordType 3953get { return BamlRecordType.TextWithConverter; } 4043internal override BamlRecordType RecordType 4045get { return BamlRecordType.DocumentStart; } 4091internal override BamlRecordType RecordType 4093get { return BamlRecordType.ElementEnd; } 4109internal override BamlRecordType RecordType 4111get { return BamlRecordType.KeyElementStart; } 4122internal override BamlRecordType RecordType 4124get { return BamlRecordType.KeyElementEnd; } 4135internal override BamlRecordType RecordType 4137get { return BamlRecordType.DocumentEnd; } 4242internal override BamlRecordType RecordType 4244get { return BamlRecordType.AssemblyInfo; } 4365internal override BamlRecordType RecordType 4367get { return BamlRecordType.TypeInfo; } 4519internal override BamlRecordType RecordType 4521get { return BamlRecordType.TypeSerializerInfo; } 4645internal override BamlRecordType RecordType 4647get { return BamlRecordType.AttributeInfo; } 5021internal override BamlRecordType RecordType 5023get { return BamlRecordType.StringInfo; } 5107internal override BamlRecordType RecordType 5109get { return BamlRecordType.ContentProperty; } 5159internal override BamlRecordType RecordType 5161get { return BamlRecordType.LineNumberAndPosition; } 5228internal override BamlRecordType RecordType 5230get { return BamlRecordType.LinePosition; }
System\Windows\Markup\BamlRecordWriter.cs (44)
216DocumentStartRecord = (BamlDocumentStartRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.DocumentStart); 232(BamlDocumentEndRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.DocumentEnd); 245(BamlConnectionIdRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.ConnectionId); 257(BamlElementStartRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.ElementStart); 394(BamlElementEndRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.ElementEnd); 454(BamlLiteralContentRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.LiteralContent); 484BamlRecordType.DefAttributeKeyType) 572(BamlDefAttributeKeyStringRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.DefAttributeKeyString); 608(BamlDefAttributeKeyStringRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.DefAttributeKeyString); 631(BamlDefAttributeRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.DefAttribute); 656BamlRecordType.PresentationOptionsAttribute); 671(BamlXmlnsPropertyRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.XmlnsProperty); 731(BamlPIMappingRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PIMapping); 753BamlRecordType.PropertyComplexStart); 773BamlRecordType.PropertyComplexEnd); 802BamlRecordType.KeyElementStart); 868(BamlKeyElementEndRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.KeyElementEnd); 922BamlRecordType.ConstructorParametersStart); 936BamlRecordType.ConstructorParametersEnd); 944(BamlContentPropertyRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.ContentProperty); 993(BamlPropertyCustomWriteInfoRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyCustom); 1045BamlRecordType.PropertyWithConverter); 1155(BamlOptimizedStaticResourceRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.OptimizedStaticResource); 1173(BamlPropertyWithStaticResourceIdRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyWithStaticResourceId); 1188(BamlPropertyWithExtensionRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyWithExtension); 1231BamlRecordType.PropertyTypeReference) as BamlPropertyTypeReferenceRecord; 1254(BamlPropertyRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.Property); 1274(BamlPropertyArrayStartRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyArrayStart); 1294(BamlPropertyArrayEndRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyArrayEnd); 1305(BamlPropertyIListStartRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyIListStart); 1325(BamlPropertyIListEndRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyIListEnd); 1336(BamlPropertyIDictionaryStartRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyIDictionaryStart); 1356(BamlPropertyIDictionaryEndRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyIDictionaryEnd); 1367(BamlRoutedEventRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.RoutedEvent); 1397bamlText = (BamlTextRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.Text); 1401bamlText = (BamlTextWithIdRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.TextWithId); 1418bamlText = (BamlTextWithConverterRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.TextWithConverter); 1538(BamlDeferableContentStartRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.DeferableContentStart); 1647(BamlElementEndRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.ElementEnd); 1670valueDeferRecord.Record.RecordType == BamlRecordType.ElementStart && 1675(BamlStaticResourceStartRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.StaticResourceStart); 1681Debug.Assert(valueDeferRecord.Record != null && valueDeferRecord.Record.RecordType == BamlRecordType.ElementEnd, 1685(BamlStaticResourceEndRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.StaticResourceEnd); 1694(BamlStaticResourceIdRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.StaticResourceId);
System\Windows\Markup\BamlWriter.cs (42)
156Push(BamlRecordType.DocumentStart); 167VerifyEndTagState(BamlRecordType.DocumentStart, 168BamlRecordType.DocumentEnd); 210Push(BamlRecordType.ElementStart, elementType); 237VerifyEndTagState(BamlRecordType.ElementStart, 238BamlRecordType.ElementEnd); 255Push(BamlRecordType.ConstructorParametersStart); 269VerifyEndTagState(BamlRecordType.ConstructorParametersStart, 270BamlRecordType.ConstructorParametersEnd); 301BamlRecordType parentType = PeekRecordType(); 302if (parentType != BamlRecordType.ElementStart) 464BamlRecordType parentType = PeekRecordType(); 465if (parentType != BamlRecordType.ElementStart && 466parentType != BamlRecordType.PropertyComplexStart && 467parentType != BamlRecordType.PropertyArrayStart && 468parentType != BamlRecordType.PropertyIListStart && 469parentType != BamlRecordType.PropertyIDictionaryStart) 501BamlRecordType parentType = PeekRecordType(); 502if (parentType != BamlRecordType.ElementStart && 669Push(BamlRecordType.PropertyComplexStart); 682BamlRecordType recordType = BamlRecordManager.GetPropertyStartRecordType(propertyType, propertyCanWrite); 687case BamlRecordType.PropertyArrayStart: 700case BamlRecordType.PropertyIDictionaryStart: 714case BamlRecordType.PropertyIListStart: 754BamlRecordType startTagType = Pop(); 758case BamlRecordType.PropertyArrayStart: 767case BamlRecordType.PropertyIListStart: 776case BamlRecordType.PropertyIDictionaryStart: 785case BamlRecordType.PropertyComplexStart: 798BamlRecordType.PropertyComplexEnd.ToString())); 1036BamlRecordType expectedStartTag, 1037BamlRecordType endTagBeingWritten) 1041BamlRecordType startTagState = Pop(); 1258private void Push(BamlRecordType recordType) 1264private void Push(BamlRecordType recordType, Type elementType) 1271private BamlRecordType Pop() 1279private BamlRecordType PeekRecordType() 1302parentNode.RecordType == BamlRecordType.ElementStart) 1326BamlRecordType recordType) 1333BamlRecordType recordType, 1339public BamlRecordType RecordType 1356BamlRecordType _recordType;
System\Windows\Markup\MarkupExtensionParser.cs (4)
642BamlRecordType propertyRecordType = BamlRecordManager.GetPropertyStartRecordType(propertyType, propertyCanWrite); 651case BamlRecordType.PropertyArrayStart: 668case BamlRecordType.PropertyIDictionaryStart: 684case BamlRecordType.PropertyIListStart:
System\Windows\Markup\XamlStyleSerializer.cs (4)
91if (record.RecordType == BamlRecordType.ElementStart) 106else if (record.RecordType == BamlRecordType.Property && numberOfElements == 1) 115else if (record.RecordType == BamlRecordType.PropertyComplexStart || 116record.RecordType == BamlRecordType.PropertyIListStart)
System\Windows\Markup\XamlTemplateSerializer.cs (5)
88if (record.RecordType == BamlRecordType.ElementStart) 103else if (record.RecordType == BamlRecordType.Property && numberOfElements == 1) 133else if (record.RecordType == BamlRecordType.PropertyComplexStart || 134record.RecordType == BamlRecordType.PropertyIListStart || 135record.RecordType == BamlRecordType.ElementEnd)