protected internal override T[] Deserialize(IntermediateReader input, ContentSerializerAttribute format, T[] existingInstance)
        {
            if (existingInstance != null)
            {
                throw new InvalidOperationException("You cannot deserialize an array into a getter-only property.");
            }
            var result = _listSerializer.Deserialize(input, format, null);

            return(result.ToArray());
        }
Example #2
0
        protected internal override T[] Deserialize(IntermediateReader input, ContentSerializerAttribute format, T[] existingInstance)
        {
            var result = _listSerializer.Deserialize(input, format, null);

            return(result.ToArray());
        }