269 references to BamlRecordType
PresentationBuildTasks (269)
Framework\System\Windows\Markup\BamlRecordHelper.cs (57)
70
internal static bool DoesRecordTypeHaveDebugExtension(
BamlRecordType
recordType)
74
case
BamlRecordType
.ElementStart:
75
case
BamlRecordType
.ElementEnd:
76
case
BamlRecordType
.Property:
77
case
BamlRecordType
.PropertyComplexStart:
78
case
BamlRecordType
.PropertyArrayStart:
79
case
BamlRecordType
.PropertyIListStart:
80
case
BamlRecordType
.PropertyIDictionaryStart:
81
case
BamlRecordType
.XmlnsProperty:
82
case
BamlRecordType
.PIMapping:
83
case
BamlRecordType
.PropertyTypeReference:
84
case
BamlRecordType
.PropertyWithExtension:
85
case
BamlRecordType
.PropertyWithConverter:
86
case
BamlRecordType
.KeyElementStart:
87
case
BamlRecordType
.ConnectionId:
88
case
BamlRecordType
.ContentProperty:
89
case
BamlRecordType
.StaticResourceStart:
90
case
BamlRecordType
.PresentationOptionsAttribute:
93
case
BamlRecordType
.DocumentStart:
94
case
BamlRecordType
.DocumentEnd: // End record
95
case
BamlRecordType
.PropertyCustom: // The "custom" size of this is a problem
96
case
BamlRecordType
.PropertyComplexEnd: // End record
97
case
BamlRecordType
.PropertyArrayEnd: // End record
98
case
BamlRecordType
.PropertyIListEnd: // End record
99
case
BamlRecordType
.PropertyIDictionaryEnd: // End record
100
case
BamlRecordType
.LiteralContent: // Not needed
101
case
BamlRecordType
.Text: // Not needed
102
case
BamlRecordType
.TextWithConverter: // Not common enough
103
case
BamlRecordType
.RoutedEvent: // Not common enough
104
case
BamlRecordType
.ClrEvent: // Not common enough
105
case
BamlRecordType
.XmlAttribute: // Not common enough
106
case
BamlRecordType
.ProcessingInstruction: // Not common enough
107
case
BamlRecordType
.Comment: // Not common enough
108
case
BamlRecordType
.DefTag: // Not common enough
109
case
BamlRecordType
.DefAttribute: // Not common enough
110
case
BamlRecordType
.EndAttributes: // Not common enough
111
case
BamlRecordType
.AssemblyInfo: // Info records (in general) don't advance file position
112
case
BamlRecordType
.TypeInfo: // Info records (in general) don't advance file position
113
case
BamlRecordType
.TypeSerializerInfo: // Not common enough
114
case
BamlRecordType
.AttributeInfo: // Info records (in general) don't advance file position
115
case
BamlRecordType
.StringInfo: // Info records (in general) don't advance file position
116
case
BamlRecordType
.PropertyStringReference: // Not common enough
117
case
BamlRecordType
.DeferableContentStart: // This would complicate Deferable Content Size
118
case
BamlRecordType
.ConstructorParametersStart: // Not Needed
119
case
BamlRecordType
.ConstructorParametersEnd: // End record
120
case
BamlRecordType
.ConstructorParameterType: // Not Needed
121
case
BamlRecordType
.NamedElementStart: // Not common enough
122
case
BamlRecordType
.TextWithId: // Not Needed
123
case
BamlRecordType
.LineNumberAndPosition: // This would become recursive
124
case
BamlRecordType
.LinePosition: // This would become recursive
125
case
BamlRecordType
.DefAttributeKeyString:
126
case
BamlRecordType
.DefAttributeKeyType:
127
case
BamlRecordType
.KeyElementEnd:
128
case
BamlRecordType
.StaticResourceEnd:
129
case
BamlRecordType
.StaticResourceId:
130
case
BamlRecordType
.OptimizedStaticResource:
131
case
BamlRecordType
.PropertyWithStaticResourceId:
Framework\System\Windows\Markup\BamlRecords.cs (160)
487
static internal
BamlRecordType
GetPropertyStartRecordType(Type propertyType, bool propertyCanWrite)
489
BamlRecordType
recordType;
492
recordType =
BamlRecordType
.PropertyArrayStart;
496
recordType =
BamlRecordType
.PropertyIDictionaryStart;
507
recordType =
BamlRecordType
.PropertyIListStart;
511
recordType =
BamlRecordType
.PropertyComplexStart;
558
private BamlRecord AllocateWriteRecord(
BamlRecordType
recordType)
564
case
BamlRecordType
.PropertyCustom:
577
private BamlRecord AllocateRecord(
BamlRecordType
recordType)
583
case
BamlRecordType
.DocumentStart:
586
case
BamlRecordType
.DocumentEnd:
589
case
BamlRecordType
.ConnectionId:
592
case
BamlRecordType
.ElementStart:
595
case
BamlRecordType
.ElementEnd:
598
case
BamlRecordType
.DeferableContentStart:
601
case
BamlRecordType
.DefAttributeKeyString:
604
case
BamlRecordType
.DefAttributeKeyType:
607
case
BamlRecordType
.LiteralContent:
610
case
BamlRecordType
.Property:
613
case
BamlRecordType
.PropertyWithConverter:
616
case
BamlRecordType
.PropertyStringReference:
619
case
BamlRecordType
.PropertyTypeReference:
622
case
BamlRecordType
.PropertyWithExtension:
625
case
BamlRecordType
.PropertyCustom:
628
case
BamlRecordType
.PropertyComplexStart:
631
case
BamlRecordType
.PropertyComplexEnd:
634
case
BamlRecordType
.RoutedEvent:
637
case
BamlRecordType
.PropertyArrayStart:
640
case
BamlRecordType
.PropertyArrayEnd:
643
case
BamlRecordType
.PropertyIListStart:
646
case
BamlRecordType
.PropertyIListEnd:
649
case
BamlRecordType
.PropertyIDictionaryStart:
652
case
BamlRecordType
.PropertyIDictionaryEnd:
655
case
BamlRecordType
.Text:
658
case
BamlRecordType
.TextWithConverter:
661
case
BamlRecordType
.TextWithId:
664
case
BamlRecordType
.XmlnsProperty:
667
case
BamlRecordType
.PIMapping:
670
case
BamlRecordType
.DefAttribute:
673
case
BamlRecordType
.PresentationOptionsAttribute:
676
case
BamlRecordType
.KeyElementStart:
679
case
BamlRecordType
.KeyElementEnd:
682
case
BamlRecordType
.ConstructorParametersStart:
685
case
BamlRecordType
.ConstructorParametersEnd:
688
case
BamlRecordType
.ConstructorParameterType:
691
case
BamlRecordType
.ContentProperty:
694
case
BamlRecordType
.AssemblyInfo:
695
case
BamlRecordType
.TypeInfo:
696
case
BamlRecordType
.TypeSerializerInfo:
697
case
BamlRecordType
.AttributeInfo:
698
case
BamlRecordType
.StringInfo:
702
case
BamlRecordType
.StaticResourceStart:
705
case
BamlRecordType
.StaticResourceEnd:
708
case
BamlRecordType
.StaticResourceId:
711
case
BamlRecordType
.LineNumberAndPosition:
714
case
BamlRecordType
.LinePosition:
717
case
BamlRecordType
.OptimizedStaticResource:
720
case
BamlRecordType
.PropertyWithStaticResourceId:
734
internal BamlRecord GetWriteRecord(
BamlRecordType
recordType)
740
_writeCache = new BamlRecord[(int)
BamlRecordType
.LastRecordType];
874
internal virtual
BamlRecordType
RecordType
879
return
BamlRecordType
.Unknown;
1247
internal override
BamlRecordType
RecordType
1249
get { return
BamlRecordType
.XmlnsProperty; }
1324
internal override
BamlRecordType
RecordType
1326
get { return
BamlRecordType
.PIMapping; }
1573
internal override
BamlRecordType
RecordType
1575
get { return
BamlRecordType
.DefAttributeKeyType; }
1761
internal override
BamlRecordType
RecordType
1763
get { return
BamlRecordType
.DefAttributeKeyString; }
1927
internal override
BamlRecordType
RecordType
1929
get { return
BamlRecordType
.DefAttribute; }
2021
internal override
BamlRecordType
RecordType
2023
get { return
BamlRecordType
.PresentationOptionsAttribute; }
2101
internal override
BamlRecordType
RecordType
2103
get { return
BamlRecordType
.PropertyComplexStart; }
2175
internal override
BamlRecordType
RecordType
2177
get { return
BamlRecordType
.PropertyStringReference; }
2242
internal override
BamlRecordType
RecordType
2244
get { return
BamlRecordType
.PropertyTypeReference; }
2317
internal override
BamlRecordType
RecordType
2319
get { return
BamlRecordType
.PropertyWithConverter; }
2372
internal override
BamlRecordType
RecordType
2374
get { return
BamlRecordType
.Property; }
2459
internal override
BamlRecordType
RecordType
2461
get { return
BamlRecordType
.PropertyWithExtension; }
2920
internal override
BamlRecordType
RecordType
2922
get { return
BamlRecordType
.PropertyCustom; }
3013
internal override
BamlRecordType
RecordType
3015
get { return
BamlRecordType
.PropertyArrayEnd; }
3030
internal override
BamlRecordType
RecordType
3032
get { return
BamlRecordType
.ConstructorParametersStart; }
3048
internal override
BamlRecordType
RecordType
3050
get { return
BamlRecordType
.ConstructorParametersEnd; }
3091
internal override
BamlRecordType
RecordType
3093
get { return
BamlRecordType
.ConstructorParameterType; }
3124
internal override
BamlRecordType
RecordType
3126
get { return
BamlRecordType
.PropertyIListEnd; }
3142
internal override
BamlRecordType
RecordType
3144
get { return
BamlRecordType
.PropertyIDictionaryEnd; }
3160
internal override
BamlRecordType
RecordType
3162
get { return
BamlRecordType
.PropertyComplexEnd; }
3179
internal override
BamlRecordType
RecordType
3181
get { return
BamlRecordType
.PropertyArrayStart; }
3197
internal override
BamlRecordType
RecordType
3199
get { return
BamlRecordType
.PropertyIListStart; }
3215
internal override
BamlRecordType
RecordType
3217
get { return
BamlRecordType
.PropertyIDictionaryStart; }
3261
internal override
BamlRecordType
RecordType
3263
get { return
BamlRecordType
.RoutedEvent; }
3322
internal override
BamlRecordType
RecordType
3324
get { return
BamlRecordType
.LiteralContent; }
3361
internal override
BamlRecordType
RecordType
3363
get { return
BamlRecordType
.ConnectionId; }
3414
internal override
BamlRecordType
RecordType
3416
get { return
BamlRecordType
.ElementStart; }
3656
internal override
BamlRecordType
RecordType
3658
get { return
BamlRecordType
.DeferableContentStart; }
3731
internal override
BamlRecordType
RecordType
3733
get { return
BamlRecordType
.StaticResourceStart; }
3753
internal override
BamlRecordType
RecordType
3755
get { return
BamlRecordType
.StaticResourceEnd; }
3815
internal override
BamlRecordType
RecordType
3817
get { return
BamlRecordType
.OptimizedStaticResource; }
3929
internal override
BamlRecordType
RecordType
3931
get { return
BamlRecordType
.StaticResourceId; }
4009
internal override
BamlRecordType
RecordType
4011
get { return
BamlRecordType
.PropertyWithStaticResourceId; }
4056
internal override
BamlRecordType
RecordType
4058
get { return
BamlRecordType
.Text; }
4099
internal override
BamlRecordType
RecordType
4101
get { return
BamlRecordType
.TextWithId; }
4166
internal override
BamlRecordType
RecordType
4168
get { return
BamlRecordType
.TextWithConverter; }
4263
internal override
BamlRecordType
RecordType
4265
get { return
BamlRecordType
.DocumentStart; }
4316
internal override
BamlRecordType
RecordType
4318
get { return
BamlRecordType
.ElementEnd; }
4335
internal override
BamlRecordType
RecordType
4337
get { return
BamlRecordType
.KeyElementStart; }
4350
internal override
BamlRecordType
RecordType
4352
get { return
BamlRecordType
.KeyElementEnd; }
4369
internal override
BamlRecordType
RecordType
4371
get { return
BamlRecordType
.DocumentEnd; }
4483
internal override
BamlRecordType
RecordType
4485
get { return
BamlRecordType
.AssemblyInfo; }
4613
internal override
BamlRecordType
RecordType
4615
get { return
BamlRecordType
.TypeInfo; }
4771
internal override
BamlRecordType
RecordType
4773
get { return
BamlRecordType
.TypeSerializerInfo; }
4901
internal override
BamlRecordType
RecordType
4903
get { return
BamlRecordType
.AttributeInfo; }
5283
internal override
BamlRecordType
RecordType
5285
get { return
BamlRecordType
.StringInfo; }
5374
internal override
BamlRecordType
RecordType
5376
get { return
BamlRecordType
.ContentProperty; }
5431
internal override
BamlRecordType
RecordType
5433
get { return
BamlRecordType
.LineNumberAndPosition; }
5505
internal override
BamlRecordType
RecordType
5507
get { return
BamlRecordType
.LinePosition; }
Framework\System\Windows\Markup\BamlRecordWriter.cs (44)
226
DocumentStartRecord = (BamlDocumentStartRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.DocumentStart);
242
(BamlDocumentEndRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.DocumentEnd);
255
(BamlConnectionIdRecord)BamlRecordManager.GetWriteRecord(
BamlRecordType
.ConnectionId);
267
(BamlElementStartRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.ElementStart);
405
(BamlElementEndRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.ElementEnd);
465
(BamlLiteralContentRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.LiteralContent);
495
BamlRecordType
.DefAttributeKeyType)
586
(BamlDefAttributeKeyStringRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.DefAttributeKeyString);
622
(BamlDefAttributeKeyStringRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.DefAttributeKeyString);
645
(BamlDefAttributeRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.DefAttribute);
670
BamlRecordType
.PresentationOptionsAttribute);
685
(BamlXmlnsPropertyRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.XmlnsProperty);
745
(BamlPIMappingRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.PIMapping);
767
BamlRecordType
.PropertyComplexStart);
787
BamlRecordType
.PropertyComplexEnd);
816
BamlRecordType
.KeyElementStart);
882
(BamlKeyElementEndRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.KeyElementEnd);
919
BamlRecordType
.ConstructorParameterType)
936
BamlRecordType
.ConstructorParametersStart);
950
BamlRecordType
.ConstructorParametersEnd);
958
(BamlContentPropertyRecord)BamlRecordManager.GetWriteRecord(
BamlRecordType
.ContentProperty);
1007
(BamlPropertyCustomWriteInfoRecord)BamlRecordManager.GetWriteRecord(
BamlRecordType
.PropertyCustom);
1059
BamlRecordType
.PropertyWithConverter);
1169
(BamlOptimizedStaticResourceRecord)BamlRecordManager.GetWriteRecord(
BamlRecordType
.OptimizedStaticResource);
1187
(BamlPropertyWithStaticResourceIdRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.PropertyWithStaticResourceId);
1202
(BamlPropertyWithExtensionRecord)BamlRecordManager.GetWriteRecord(
BamlRecordType
.PropertyWithExtension);
1245
BamlRecordType
.PropertyTypeReference) as BamlPropertyTypeReferenceRecord;
1268
(BamlPropertyRecord)BamlRecordManager.GetWriteRecord(
BamlRecordType
.Property);
1288
(BamlPropertyArrayStartRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.PropertyArrayStart);
1308
(BamlPropertyArrayEndRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.PropertyArrayEnd);
1319
(BamlPropertyIListStartRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.PropertyIListStart);
1339
(BamlPropertyIListEndRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.PropertyIListEnd);
1350
(BamlPropertyIDictionaryStartRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.PropertyIDictionaryStart);
1370
(BamlPropertyIDictionaryEndRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.PropertyIDictionaryEnd);
1411
bamlText = (BamlTextRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.Text);
1415
bamlText = (BamlTextWithIdRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.TextWithId);
1432
bamlText = (BamlTextWithConverterRecord)BamlRecordManager.GetWriteRecord(
BamlRecordType
.TextWithConverter);
1552
(BamlDeferableContentStartRecord)BamlRecordManager.GetWriteRecord(
BamlRecordType
.DeferableContentStart);
1661
(BamlElementEndRecord)BamlRecordManager.GetWriteRecord(
BamlRecordType
.ElementEnd);
1685
valueDeferRecord.Record.RecordType ==
BamlRecordType
.ElementStart &&
1690
(BamlStaticResourceStartRecord)BamlRecordManager.GetWriteRecord(
BamlRecordType
.StaticResourceStart);
1696
Debug.Assert(valueDeferRecord.Record != null && valueDeferRecord.Record.RecordType ==
BamlRecordType
.ElementEnd,
1700
(BamlStaticResourceEndRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.StaticResourceEnd);
1709
(BamlStaticResourceIdRecord) BamlRecordManager.GetWriteRecord(
BamlRecordType
.StaticResourceId);
Framework\System\Windows\Markup\MarkupExtensionParser.cs (4)
663
BamlRecordType
propertyRecordType = BamlRecordManager.GetPropertyStartRecordType(propertyType, propertyCanWrite);
672
case
BamlRecordType
.PropertyArrayStart:
689
case
BamlRecordType
.PropertyIDictionaryStart:
705
case
BamlRecordType
.PropertyIListStart:
Framework\System\Windows\Markup\XamlReaderHelper.cs (4)
4013
BamlRecordType
recordType = BamlRecordManager.GetPropertyStartRecordType(propertyType, propertyCanWrite);
4018
case
BamlRecordType
.PropertyArrayStart:
4042
case
BamlRecordType
.PropertyIDictionaryStart:
4058
bool isList = (recordType ==
BamlRecordType
.PropertyIListStart);