5 references to AllowMultipleValues
System.Text.Json (5)
System\Text\Json\JsonHelpers.cs (1)
49
Debug.Assert(reader.
AllowMultipleValues
, "only supported by readers that support multiple values.");
System\Text\Json\Serialization\Converters\Collection\RootLevelListConverter.cs (1)
28
Debug.Assert(reader.
AllowMultipleValues
, "Can only be used by readers allowing trailing content.");
System\Text\Json\Serialization\JsonConverterOfT.ReadCore.cs (2)
28
Debug.Assert(!reader.
AllowMultipleValues
, "should not be entered by converters allowing multiple values.");
43
if (!reader.
AllowMultipleValues
)
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.ReadHelper.cs (1)
121
Debug.Assert(!bufferState.IsFinalBlock || reader.
AllowMultipleValues
|| reader.BytesConsumed == bufferState.Bytes.Length,