2 writes to _canUseSerializeHandlerInStreamingState
System.Text.Json (2)
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.WriteHelpers.cs (2)
370_canUseSerializeHandlerInStreamingState = 2; 378Interlocked.CompareExchange(ref _canUseSerializeHandlerInStreamingState, 1, 0);
2 references to _canUseSerializeHandlerInStreamingState
System.Text.Json (2)
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.WriteHelpers.cs (2)
352private bool CanUseSerializeHandlerInStreaming => _canUseSerializeHandlerInStreamingState == 1; 364if (_canUseSerializeHandlerInStreamingState != 2)