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