18 references to ValidateInputType
System.Text.Json (18)
System\Text\Json\Serialization\JsonSerializer.Write.ByteArray.cs (2)
57
ValidateInputType
(value, inputType);
133
ValidateInputType
(value, inputType);
System\Text\Json\Serialization\JsonSerializer.Write.Document.cs (2)
53
ValidateInputType
(value, inputType);
127
ValidateInputType
(value, inputType);
System\Text\Json\Serialization\JsonSerializer.Write.Element.cs (2)
53
ValidateInputType
(value, inputType);
127
ValidateInputType
(value, inputType);
System\Text\Json\Serialization\JsonSerializer.Write.Node.cs (2)
54
ValidateInputType
(value, inputType);
128
ValidateInputType
(value, inputType);
System\Text\Json\Serialization\JsonSerializer.Write.Pipe.cs (2)
149
ValidateInputType
(value, inputType);
188
ValidateInputType
(value, inputType);
System\Text\Json\Serialization\JsonSerializer.Write.Stream.cs (4)
119
ValidateInputType
(value, inputType);
154
ValidateInputType
(value, inputType);
316
ValidateInputType
(value, inputType);
353
ValidateInputType
(value, inputType);
System\Text\Json\Serialization\JsonSerializer.Write.String.cs (2)
64
ValidateInputType
(value, inputType);
150
ValidateInputType
(value, inputType);
System\Text\Json\Serialization\JsonSerializer.Write.Utf8JsonWriter.cs (2)
72
ValidateInputType
(value, inputType);
161
ValidateInputType
(value, inputType);