Example #1
0
        private void ReadPropertyTypeReference()
        {
            var node = new BamlPropertyTypeReference();

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

            AddNode(node);
        }
Example #2
0
 private void WritePropertyTypeReference(BamlPropertyTypeReference node)
 {
     _blob.Write(ref _pos, (byte)RecordType.PropertyTypeReference);
     _blob.Write(ref _pos, (short)GetPropertyId(node.DeclaringProperty));
     _blob.Write(ref _pos, (short)GetTypeId(node.Value));
 }