Throws an exception when a required constructor parameter is missing during deserialization.
public static YamlException ThrowMissingRequiredConstructorParameter(YamlReader reader, Mark mappingStart, Type declaringType, string parameterName)
The reader positioned at the end of the mapping.
The start location of the mapping.
The target CLR type being deserialized.
The constructor parameter name.