22 references to NeedsEscaping
System.Text.Json (22)
System\Text\Json\JsonEncodedText.cs (1)
129int idx = JsonWriterHelper.NeedsEscaping(utf8Value, encoder);
System\Text\Json\JsonHelpers.Escaping.cs (1)
16int idx = JsonWriterHelper.NeedsEscaping(utf8Value, encoder);
System\Text\Json\Writer\Utf8JsonWriter.cs (1)
680int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Bytes.cs (1)
123int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTime.cs (1)
130int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTimeOffset.cs (1)
129int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Decimal.cs (1)
129int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Double.cs (1)
133int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Float.cs (1)
133int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.FormattedNumber.cs (1)
100int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Guid.cs (1)
129int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Literal.cs (1)
251int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.SignedNumber.cs (1)
205int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.String.cs (7)
245int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder); 698int valueIdx = JsonWriterHelper.NeedsEscaping(utf8Value, _options.Encoder); 860int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder); 1022int valueIdx = JsonWriterHelper.NeedsEscaping(utf8Value, _options.Encoder); 1023int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder); 1041int valueIdx = JsonWriterHelper.NeedsEscaping(utf8Value, _options.Encoder); 1061int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.UnsignedNumber.cs (1)
214int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.String.cs (1)
231int valueIdx = JsonWriterHelper.NeedsEscaping(utf8Value, _options.Encoder);