Throws an exception when required members are missing from an object mapping.
public static YamlException ThrowMissingRequiredMembers(YamlReader reader, Mark mappingStart, Type declaringType, IReadOnlyList<string> missingMemberNames)
The reader positioned at the end of the mapping.
The start location of the mapping.
The target CLR type being deserialized.
The YAML member names that were missing.