예제 #1
0
        /// <inheritdoc />
        protected override StringValueNode ParseValue(string runtimeValue)
        {
            if (runtimeValue == string.Empty)
            {
                throw ThrowHelper.NonEmptyStringType_ParseValue_IsEmpty(this);
            }

            return(base.ParseValue(runtimeValue));
        }
예제 #2
0
 /// <inheritdoc />
 protected override SerializationException CreateParseValueError(object runtimeValue)
 {
     throw ThrowHelper.NonEmptyStringType_ParseValue_IsEmpty(this);
 }