Example #1
0
        private void WritePropertyIDictionary(BamlPropertyIDictionary node)
        {
            _blob.Write(ref _pos, (byte)RecordType.PropertyIDictionaryStart);
            _blob.Write(ref _pos, (short)GetPropertyId(node.DeclaringProperty));

            BeginScope(node, RecordType.PropertyIDictionaryEnd);
        }
Example #2
0
        private void ReadPropertyIDictionary()
        {
            var node = new BamlPropertyIDictionary();

            node.DeclaringProperty = GetProperty(_accessor.ReadInt16());

            AddNode(node);
            BeginScope(node, RecordType.PropertyIDictionaryEnd);
        }