525 references to BamlRecordType
PresentationFramework (525)
System\Windows\Markup\BamlReader.cs (111)
406if (info.RecordType == BamlRecordType.XmlnsProperty) 410else if (info.RecordType == BamlRecordType.DefAttribute) 414else if (info.RecordType == BamlRecordType.PresentationOptionsAttribute) 558case BamlRecordType.AssemblyInfo: 563case BamlRecordType.TypeInfo: 564case BamlRecordType.TypeSerializerInfo: 569case BamlRecordType.AttributeInfo: 574case BamlRecordType.StringInfo: 579case BamlRecordType.ContentProperty: 586case BamlRecordType.DocumentStart: 590case BamlRecordType.DocumentEnd: 594case BamlRecordType.PIMapping: 598case BamlRecordType.LiteralContent: 602case BamlRecordType.ElementStart: 603case BamlRecordType.StaticResourceStart: 607case BamlRecordType.ElementEnd: 608case BamlRecordType.StaticResourceEnd: 612case BamlRecordType.PropertyComplexStart: 613case BamlRecordType.PropertyArrayStart: 614case BamlRecordType.PropertyIListStart: 615case BamlRecordType.PropertyIDictionaryStart: 619case BamlRecordType.PropertyComplexEnd: 620case BamlRecordType.PropertyArrayEnd: 621case BamlRecordType.PropertyIListEnd: 622case BamlRecordType.PropertyIDictionaryEnd: 626case BamlRecordType.Text: 627case BamlRecordType.TextWithId: 628case BamlRecordType.TextWithConverter: 632case BamlRecordType.DeferableContentStart: 637case BamlRecordType.ConstructorParametersStart: 641case BamlRecordType.ConstructorParametersEnd: 645case BamlRecordType.ConnectionId: 649case BamlRecordType.StaticResourceId: 702case BamlRecordType.AssemblyInfo: 706case BamlRecordType.TypeInfo: 707case BamlRecordType.TypeSerializerInfo: 711case BamlRecordType.AttributeInfo: 715case BamlRecordType.StringInfo: 720case BamlRecordType.XmlnsProperty: 724case BamlRecordType.ConnectionId: 728case BamlRecordType.Property: 729case BamlRecordType.PropertyWithConverter: 733case BamlRecordType.ContentProperty: 738case BamlRecordType.PropertyStringReference: 742case BamlRecordType.PropertyTypeReference: 746case BamlRecordType.PropertyWithExtension: 750case BamlRecordType.PropertyWithStaticResourceId: 754case BamlRecordType.PropertyCustom: 758case BamlRecordType.DefAttribute: 762case BamlRecordType.PresentationOptionsAttribute: 766case BamlRecordType.DefAttributeKeyType: 770case BamlRecordType.RoutedEvent: 774case BamlRecordType.ClrEvent: 778case BamlRecordType.KeyElementStart: 823info.RecordType = BamlRecordType.XmlnsProperty; 1103info.RecordType = BamlRecordType.DefAttribute; 1130info.RecordType = BamlRecordType.PresentationOptionsAttribute; 1157info.RecordType = BamlRecordType.DefAttribute; 1246case BamlRecordType.DefAttributeKeyString: 1273info.RecordType = BamlRecordType.DefAttribute; 1279case BamlRecordType.DefAttributeKeyType: 1322info.RecordType = BamlRecordType.DefAttribute; 1328case BamlRecordType.KeyElementStart: 1347case BamlRecordType.StaticResourceStart: 1348case BamlRecordType.OptimizedStaticResource: 1358if (_currentBamlRecord.RecordType == BamlRecordType.StaticResourceStart) 1392info.RecordType = BamlRecordType.DefAttribute; 1466case BamlRecordType.AssemblyInfo: 1470case BamlRecordType.TypeInfo: 1471case BamlRecordType.TypeSerializerInfo: 1475case BamlRecordType.AttributeInfo: 1479case BamlRecordType.StringInfo: 1484case BamlRecordType.PropertyComplexStart: 1495case BamlRecordType.PropertyComplexEnd: 1498case BamlRecordType.Text: 1499case BamlRecordType.TextWithId: 1525case BamlRecordType.ElementStart: 1557case BamlRecordType.ElementEnd: 1564case BamlRecordType.ConstructorParametersStart: 1569case BamlRecordType.ConstructorParametersEnd: 1576case BamlRecordType.ConstructorParameterType: 1591case BamlRecordType.Property: 1592case BamlRecordType.PropertyWithConverter: 1605case BamlRecordType.PropertyCustom: 1617case BamlRecordType.PropertyStringReference: 1630case BamlRecordType.PropertyTypeReference: 1644case BamlRecordType.PropertyWithExtension: 1658case BamlRecordType.KeyElementEnd: 1681info.RecordType = BamlRecordType.DefAttribute; 1714if (_currentBamlRecord.RecordType == BamlRecordType.StaticResourceEnd) 1818nodeInfo.RecordType = BamlRecordType.DocumentStart; 1836if (nodeInfo.RecordType != BamlRecordType.DocumentStart) 1962nodeInfo.RecordType = BamlRecordType.ElementStart; 2019if (nodeInfo.RecordType != BamlRecordType.ElementStart) 2023BamlRecordType.ElementEnd.ToString())); 2106BamlRecordType expectedType; 2109case BamlRecordType.PropertyComplexStart: 2110expectedType = BamlRecordType.PropertyComplexEnd; 2112case BamlRecordType.PropertyArrayStart: 2113expectedType = BamlRecordType.PropertyArrayEnd; 2115case BamlRecordType.PropertyIListStart: 2116expectedType = BamlRecordType.PropertyIListEnd; 2118case BamlRecordType.PropertyIDictionaryStart: 2119expectedType = BamlRecordType.PropertyIDictionaryEnd; 2122expectedType = BamlRecordType.Unknown; 2210nodeInfo.RecordType = BamlRecordType.ConstructorParametersStart; 2234if (nodeInfo.RecordType != BamlRecordType.ConstructorParametersStart) 2238BamlRecordType.ConstructorParametersEnd.ToString())); 2277info.RecordType = BamlRecordType.DefAttribute; 2870internal BamlRecordType RecordType 2927private 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)
218BamlRecordType recordType = (BamlRecordType)BinaryReader.ReadByte(); 256BamlRecordType recordType = (BamlRecordType)BinaryReader.ReadByte(); 286BamlRecordType recordType) 307BamlRecordType nextRecordType = (BamlRecordType)BinaryReader.ReadByte(); 325if(bamlRecord.RecordType == BamlRecordType.LineNumberAndPosition) 333Debug.Assert(bamlRecord.RecordType == BamlRecordType.LinePosition); 342internal BamlRecordType GetNextRecordType() 344BamlRecordType bamlRecordType; 348bamlRecordType = (BamlRecordType)BinaryReader.PeekChar(); 566case BamlRecordType.DocumentStart: 570case BamlRecordType.DocumentEnd: 575case BamlRecordType.XmlnsProperty: 579case BamlRecordType.PIMapping: 595case BamlRecordType.AssemblyInfo: 599case BamlRecordType.TypeInfo: 600case BamlRecordType.TypeSerializerInfo: 604case BamlRecordType.AttributeInfo: 608case BamlRecordType.StringInfo: 612case BamlRecordType.LiteralContent: 616case BamlRecordType.ElementStart: 617case BamlRecordType.StaticResourceStart: 628case BamlRecordType.NamedElementStart: 634case BamlRecordType.ConnectionId: 638case BamlRecordType.ElementEnd: 639case BamlRecordType.StaticResourceEnd: 650case BamlRecordType.PropertyComplexStart: 654case BamlRecordType.PropertyComplexEnd: 658case BamlRecordType.Property: 662case BamlRecordType.PropertyStringReference: 666case BamlRecordType.PropertyTypeReference: 670case BamlRecordType.PropertyWithExtension: 674case BamlRecordType.PropertyWithConverter: 678case BamlRecordType.PropertyCustom: 682case BamlRecordType.PropertyArrayStart: 686case BamlRecordType.PropertyArrayEnd: 690case BamlRecordType.PropertyIListStart: 694case BamlRecordType.PropertyIListEnd: 698case BamlRecordType.PropertyIDictionaryStart: 702case BamlRecordType.PropertyIDictionaryEnd: 706case BamlRecordType.DefAttribute: 710case BamlRecordType.DefAttributeKeyType: 714case BamlRecordType.PresentationOptionsAttribute: 718case BamlRecordType.RoutedEvent: 728case BamlRecordType.Text: 729case BamlRecordType.TextWithId: 730case BamlRecordType.TextWithConverter: 734case BamlRecordType.DeferableContentStart: 738case BamlRecordType.KeyElementStart: 742case BamlRecordType.KeyElementEnd: 746case BamlRecordType.ConstructorParametersStart: 750case BamlRecordType.ConstructorParametersEnd: 754case BamlRecordType.ConstructorParameterType: 758case BamlRecordType.ContentProperty: 762case BamlRecordType.StaticResourceId: 766case BamlRecordType.PropertyWithStaticResourceId: 770case BamlRecordType.LineNumberAndPosition: // Should be skipped in ReadNextRecordWithDebugExtension. 771case BamlRecordType.LinePosition: // Should be skipped in ReadNextRecordWithDebugExtension. 1746BamlRecordType nextType = GetNextRecordType(); 1747while (nextType == BamlRecordType.DefAttributeKeyString || 1748nextType == BamlRecordType.DefAttributeKeyType || 1749nextType == BamlRecordType.KeyElementStart) 1753if (nextType == BamlRecordType.KeyElementStart) 1833while (nextType == BamlRecordType.StaticResourceStart || 1834nextType == BamlRecordType.OptimizedStaticResource) 1837if (nextType == BamlRecordType.StaticResourceStart) 1847if (nestedBamlRecord.RecordType == BamlRecordType.StaticResourceEnd) 1890while (nextType == BamlRecordType.StaticResourceId)
System\Windows\Markup\BamlRecords.cs (178)
382BamlRecordType recordType) 392case BamlRecordType.AssemblyInfo: 395case BamlRecordType.TypeInfo: 398case BamlRecordType.TypeSerializerInfo: 401case BamlRecordType.AttributeInfo: 404case BamlRecordType.StringInfo: 407case BamlRecordType.DefAttributeKeyString: 410case BamlRecordType.DefAttributeKeyType: 413case BamlRecordType.KeyElementStart: 472static internal BamlRecordType GetPropertyStartRecordType(Type propertyType, bool propertyCanWrite) 474BamlRecordType recordType; 477recordType = BamlRecordType.PropertyArrayStart; 490recordType = BamlRecordType.PropertyIDictionaryStart; 502recordType = BamlRecordType.PropertyIListStart; 506recordType = BamlRecordType.PropertyComplexStart; 519case BamlRecordType.ElementStart: 530case BamlRecordType.PropertyCustom: 553private BamlRecord AllocateWriteRecord(BamlRecordType recordType) 559case BamlRecordType.PropertyCustom: 572private BamlRecord AllocateRecord(BamlRecordType recordType) 578case BamlRecordType.DocumentStart: 581case BamlRecordType.DocumentEnd: 584case BamlRecordType.ConnectionId: 587case BamlRecordType.ElementStart: 590case BamlRecordType.ElementEnd: 593case BamlRecordType.DeferableContentStart: 596case BamlRecordType.DefAttributeKeyString: 599case BamlRecordType.DefAttributeKeyType: 602case BamlRecordType.LiteralContent: 605case BamlRecordType.Property: 608case BamlRecordType.PropertyWithConverter: 611case BamlRecordType.PropertyStringReference: 614case BamlRecordType.PropertyTypeReference: 617case BamlRecordType.PropertyWithExtension: 620case BamlRecordType.PropertyCustom: 623case BamlRecordType.PropertyComplexStart: 626case BamlRecordType.PropertyComplexEnd: 629case BamlRecordType.RoutedEvent: 632case BamlRecordType.PropertyArrayStart: 635case BamlRecordType.PropertyArrayEnd: 638case BamlRecordType.PropertyIListStart: 641case BamlRecordType.PropertyIListEnd: 644case BamlRecordType.PropertyIDictionaryStart: 647case BamlRecordType.PropertyIDictionaryEnd: 650case BamlRecordType.Text: 653case BamlRecordType.TextWithConverter: 656case BamlRecordType.TextWithId: 659case BamlRecordType.XmlnsProperty: 662case BamlRecordType.PIMapping: 665case BamlRecordType.DefAttribute: 668case BamlRecordType.PresentationOptionsAttribute: 671case BamlRecordType.KeyElementStart: 674case BamlRecordType.KeyElementEnd: 677case BamlRecordType.ConstructorParametersStart: 680case BamlRecordType.ConstructorParametersEnd: 683case BamlRecordType.ConstructorParameterType: 686case BamlRecordType.ContentProperty: 689case BamlRecordType.AssemblyInfo: 690case BamlRecordType.TypeInfo: 691case BamlRecordType.TypeSerializerInfo: 692case BamlRecordType.AttributeInfo: 693case BamlRecordType.StringInfo: 697case BamlRecordType.StaticResourceStart: 700case BamlRecordType.StaticResourceEnd: 703case BamlRecordType.StaticResourceId: 706case BamlRecordType.LineNumberAndPosition: 709case BamlRecordType.LinePosition: 712case BamlRecordType.OptimizedStaticResource: 715case BamlRecordType.PropertyWithStaticResourceId: 729internal BamlRecord GetWriteRecord(BamlRecordType recordType) 735_writeCache = new BamlRecord[(int)BamlRecordType.LastRecordType]; 787BamlRecord[] _readCache = new BamlRecord[(int)BamlRecordType.LastRecordType]; 867internal virtual BamlRecordType RecordType 872return BamlRecordType.Unknown; 998internal static bool IsContentRecord( BamlRecordType bamlRecordType ) 1000return bamlRecordType == BamlRecordType.PropertyComplexStart 1002bamlRecordType == BamlRecordType.PropertyArrayStart 1004bamlRecordType == BamlRecordType.PropertyIListStart 1006bamlRecordType == BamlRecordType.PropertyIDictionaryStart 1008bamlRecordType == BamlRecordType.Text; 1228internal override BamlRecordType RecordType 1230get { return BamlRecordType.XmlnsProperty; } 1299internal override BamlRecordType RecordType 1301get { return BamlRecordType.PIMapping; } 1537internal override BamlRecordType RecordType 1539get { return BamlRecordType.DefAttributeKeyType; } 1721internal override BamlRecordType RecordType 1723get { return BamlRecordType.DefAttributeKeyString; } 1880internal override BamlRecordType RecordType 1882get { return BamlRecordType.DefAttribute; } 1968internal override BamlRecordType RecordType 1970get { return BamlRecordType.PresentationOptionsAttribute; } 2041internal override BamlRecordType RecordType 2043get { return BamlRecordType.PropertyComplexStart; } 2109internal override BamlRecordType RecordType 2111get { return BamlRecordType.PropertyStringReference; } 2172internal override BamlRecordType RecordType 2174get { return BamlRecordType.PropertyTypeReference; } 2243internal override BamlRecordType RecordType 2245get { return BamlRecordType.PropertyWithConverter; } 2293internal override BamlRecordType RecordType 2295get { return BamlRecordType.Property; } 2374internal override BamlRecordType RecordType 2376get { return BamlRecordType.PropertyWithExtension; } 2826internal override BamlRecordType RecordType 2828get { return BamlRecordType.PropertyCustom; } 2914internal override BamlRecordType RecordType 2916get { return BamlRecordType.PropertyArrayEnd; } 2926internal override BamlRecordType RecordType 2928get { return BamlRecordType.ConstructorParametersStart; } 2938internal override BamlRecordType RecordType 2940get { return BamlRecordType.ConstructorParametersEnd; } 2976internal override BamlRecordType RecordType 2978get { return BamlRecordType.ConstructorParameterType; } 3004internal override BamlRecordType RecordType 3006get { return BamlRecordType.PropertyIListEnd; } 3016internal override BamlRecordType RecordType 3018get { return BamlRecordType.PropertyIDictionaryEnd; } 3028internal override BamlRecordType RecordType 3030get { return BamlRecordType.PropertyComplexEnd; } 3041internal override BamlRecordType RecordType 3043get { return BamlRecordType.PropertyArrayStart; } 3053internal override BamlRecordType RecordType 3055get { return BamlRecordType.PropertyIListStart; } 3065internal override BamlRecordType RecordType 3067get { return BamlRecordType.PropertyIDictionaryStart; } 3105internal override BamlRecordType RecordType 3107get { return BamlRecordType.RoutedEvent; } 3155internal override BamlRecordType RecordType 3157get { return BamlRecordType.LiteralContent; } 3189internal override BamlRecordType RecordType 3191get { return BamlRecordType.ConnectionId; } 3237internal override BamlRecordType RecordType 3239get { return BamlRecordType.ElementStart; } 3469internal override BamlRecordType RecordType 3471get { return BamlRecordType.DeferableContentStart; } 3543internal override BamlRecordType RecordType 3545get { return BamlRecordType.StaticResourceStart; } 3563internal override BamlRecordType RecordType 3565get { return BamlRecordType.StaticResourceEnd; } 3623internal override BamlRecordType RecordType 3625get { return BamlRecordType.OptimizedStaticResource; } 3735internal override BamlRecordType RecordType 3737get { return BamlRecordType.StaticResourceId; } 3813internal override BamlRecordType RecordType 3815get { return BamlRecordType.PropertyWithStaticResourceId; } 3855internal override BamlRecordType RecordType 3857get { return BamlRecordType.Text; } 3894internal override BamlRecordType RecordType 3896get { return BamlRecordType.TextWithId; } 3957internal override BamlRecordType RecordType 3959get { return BamlRecordType.TextWithConverter; } 4049internal override BamlRecordType RecordType 4051get { return BamlRecordType.DocumentStart; } 4097internal override BamlRecordType RecordType 4099get { return BamlRecordType.ElementEnd; } 4115internal override BamlRecordType RecordType 4117get { return BamlRecordType.KeyElementStart; } 4128internal override BamlRecordType RecordType 4130get { return BamlRecordType.KeyElementEnd; } 4141internal override BamlRecordType RecordType 4143get { return BamlRecordType.DocumentEnd; } 4248internal override BamlRecordType RecordType 4250get { return BamlRecordType.AssemblyInfo; } 4371internal override BamlRecordType RecordType 4373get { return BamlRecordType.TypeInfo; } 4525internal override BamlRecordType RecordType 4527get { return BamlRecordType.TypeSerializerInfo; } 4651internal override BamlRecordType RecordType 4653get { return BamlRecordType.AttributeInfo; } 5028internal override BamlRecordType RecordType 5030get { return BamlRecordType.StringInfo; } 5114internal override BamlRecordType RecordType 5116get { return BamlRecordType.ContentProperty; } 5166internal override BamlRecordType RecordType 5168get { return BamlRecordType.LineNumberAndPosition; } 5235internal override BamlRecordType RecordType 5237get { 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) 574(BamlDefAttributeKeyStringRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.DefAttributeKeyString); 610(BamlDefAttributeKeyStringRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.DefAttributeKeyString); 633(BamlDefAttributeRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.DefAttribute); 658BamlRecordType.PresentationOptionsAttribute); 673(BamlXmlnsPropertyRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.XmlnsProperty); 733(BamlPIMappingRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PIMapping); 755BamlRecordType.PropertyComplexStart); 775BamlRecordType.PropertyComplexEnd); 804BamlRecordType.KeyElementStart); 870(BamlKeyElementEndRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.KeyElementEnd); 924BamlRecordType.ConstructorParametersStart); 938BamlRecordType.ConstructorParametersEnd); 946(BamlContentPropertyRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.ContentProperty); 995(BamlPropertyCustomWriteInfoRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyCustom); 1047BamlRecordType.PropertyWithConverter); 1157(BamlOptimizedStaticResourceRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.OptimizedStaticResource); 1175(BamlPropertyWithStaticResourceIdRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyWithStaticResourceId); 1190(BamlPropertyWithExtensionRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyWithExtension); 1233BamlRecordType.PropertyTypeReference) as BamlPropertyTypeReferenceRecord; 1256(BamlPropertyRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.Property); 1276(BamlPropertyArrayStartRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyArrayStart); 1296(BamlPropertyArrayEndRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyArrayEnd); 1307(BamlPropertyIListStartRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyIListStart); 1327(BamlPropertyIListEndRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyIListEnd); 1338(BamlPropertyIDictionaryStartRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyIDictionaryStart); 1358(BamlPropertyIDictionaryEndRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.PropertyIDictionaryEnd); 1369(BamlRoutedEventRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.RoutedEvent); 1399bamlText = (BamlTextRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.Text); 1403bamlText = (BamlTextWithIdRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.TextWithId); 1420bamlText = (BamlTextWithConverterRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.TextWithConverter); 1540(BamlDeferableContentStartRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.DeferableContentStart); 1649(BamlElementEndRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.ElementEnd); 1672valueDeferRecord.Record.RecordType == BamlRecordType.ElementStart && 1677(BamlStaticResourceStartRecord)BamlRecordManager.GetWriteRecord(BamlRecordType.StaticResourceStart); 1683Debug.Assert(valueDeferRecord.Record != null && valueDeferRecord.Record.RecordType == BamlRecordType.ElementEnd, 1687(BamlStaticResourceEndRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.StaticResourceEnd); 1696(BamlStaticResourceIdRecord) BamlRecordManager.GetWriteRecord(BamlRecordType.StaticResourceId);
System\Windows\Markup\BamlWriter.cs (42)
156Push(BamlRecordType.DocumentStart); 167VerifyEndTagState(BamlRecordType.DocumentStart, 168BamlRecordType.DocumentEnd); 210Push(BamlRecordType.ElementStart, elementType); 235VerifyEndTagState(BamlRecordType.ElementStart, 236BamlRecordType.ElementEnd); 253Push(BamlRecordType.ConstructorParametersStart); 267VerifyEndTagState(BamlRecordType.ConstructorParametersStart, 268BamlRecordType.ConstructorParametersEnd); 299BamlRecordType parentType = PeekRecordType(); 300if (parentType != BamlRecordType.ElementStart) 462BamlRecordType parentType = PeekRecordType(); 463if (parentType != BamlRecordType.ElementStart && 464parentType != BamlRecordType.PropertyComplexStart && 465parentType != BamlRecordType.PropertyArrayStart && 466parentType != BamlRecordType.PropertyIListStart && 467parentType != BamlRecordType.PropertyIDictionaryStart) 499BamlRecordType parentType = PeekRecordType(); 500if (parentType != BamlRecordType.ElementStart && 667Push(BamlRecordType.PropertyComplexStart); 680BamlRecordType recordType = BamlRecordManager.GetPropertyStartRecordType(propertyType, propertyCanWrite); 685case BamlRecordType.PropertyArrayStart: 698case BamlRecordType.PropertyIDictionaryStart: 712case BamlRecordType.PropertyIListStart: 752BamlRecordType startTagType = Pop(); 756case BamlRecordType.PropertyArrayStart: 765case BamlRecordType.PropertyIListStart: 774case BamlRecordType.PropertyIDictionaryStart: 783case BamlRecordType.PropertyComplexStart: 796BamlRecordType.PropertyComplexEnd.ToString())); 1034BamlRecordType expectedStartTag, 1035BamlRecordType endTagBeingWritten) 1039BamlRecordType startTagState = Pop(); 1256private void Push(BamlRecordType recordType) 1262private void Push(BamlRecordType recordType, Type elementType) 1269private BamlRecordType Pop() 1277private BamlRecordType PeekRecordType() 1300parentNode.RecordType == BamlRecordType.ElementStart) 1324BamlRecordType recordType) 1331BamlRecordType recordType, 1337public BamlRecordType RecordType 1354BamlRecordType _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)
89if (record.RecordType == BamlRecordType.ElementStart) 104else if (record.RecordType == BamlRecordType.Property && numberOfElements == 1) 113else if (record.RecordType == BamlRecordType.PropertyComplexStart || 114record.RecordType == BamlRecordType.PropertyIListStart)
System\Windows\Markup\XamlTemplateSerializer.cs (5)
86if (record.RecordType == BamlRecordType.ElementStart) 101else if (record.RecordType == BamlRecordType.Property && numberOfElements == 1) 131else if (record.RecordType == BamlRecordType.PropertyComplexStart || 132record.RecordType == BamlRecordType.PropertyIListStart || 133record.RecordType == BamlRecordType.ElementEnd)