ThrowExpectedToken(YamlReader, YamlTokenType) Method

Definition

Assembly SharpYaml.dll

Throws an exception for expected Token.

public static YamlException ThrowExpectedToken(YamlReader reader, YamlTokenType expectedToken)

Parameters

reader
YamlReader
expectedToken
YamlTokenType

Returns