23 references to NeedsEscaping
System.Text.Json (23)
System\Text\Json\JsonEncodedText.cs (1)
126int 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)
784int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Bytes.cs (1)
120int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTime.cs (1)
127int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTimeOffset.cs (1)
126int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Decimal.cs (1)
126int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Double.cs (1)
130int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Float.cs (1)
130int 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)
126int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Literal.cs (1)
245int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.SignedNumber.cs (1)
199int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.String.cs (7)
242int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder); 686int valueIdx = JsonWriterHelper.NeedsEscaping(utf8Value, _options.Encoder); 845int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder); 1007int valueIdx = JsonWriterHelper.NeedsEscaping(utf8Value, _options.Encoder); 1008int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder); 1026int valueIdx = JsonWriterHelper.NeedsEscaping(utf8Value, _options.Encoder); 1046int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.UnsignedNumber.cs (1)
208int propertyIdx = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.String.cs (1)
231int valueIdx = JsonWriterHelper.NeedsEscaping(utf8Value, _options.Encoder);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.StringSegment.cs (1)
291int escapeIdx = JsonWriterHelper.NeedsEscaping(utf8Value, _options.Encoder);