2 writes to _fallbackBuffer
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Decoder.cs (2)
45_fallbackBuffer = null; 55_fallbackBuffer ??= _fallback is not null ?
21 references to _fallbackBuffer
System.Private.CoreLib (21)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Decoder.cs (9)
40if (_fallbackBuffer is not null && _fallbackBuffer.Remaining > 0) 59return _fallbackBuffer; 63internal bool InternalHasFallbackBuffer => _fallbackBuffer is not null; 79_fallbackBuffer?.Reset(); 248(_fallbackBuffer is null || _fallbackBuffer.Remaining == 0)); 290(_fallbackBuffer is null || _fallbackBuffer.Remaining == 0));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\DecoderNLS.cs (9)
42_fallbackBuffer?.Reset(); 192&& (_fallbackBuffer is null || _fallbackBuffer.Remaining == 0); 228Debug.Assert(_fallbackBuffer is null || _fallbackBuffer.Remaining == 0, "Should have no data remaining in the fallback buffer."); 268charCount = _fallbackBuffer!.DrainRemainingDataForGetCharCount(); 284Debug.Assert(_fallbackBuffer is null || _fallbackBuffer.Remaining == 0, "Should have no data remaining in the fallback buffer."); 335&& !_fallbackBuffer!.TryDrainRemainingDataForGetChars(chars, out charsWritten))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (1)
1822_fallbackBuffer?.Reset();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF32Encoding.cs (1)
1172_fallbackBuffer?.Reset();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (1)
786_fallbackBuffer?.Reset();