6 writes to _iCount
System.Text.Encoding.CodePages (6)
System\Text\EncoderBestFitFallback.cs (6)
88_iCount = _iSize = 1; 112_iCount = _iSize = 2; 122_iCount--; 132_iCount = -1; 144_iCount++; 163_iCount = -1;
9 references to _iCount
System.Text.Encoding.CodePages (9)
System\Text\EncoderBestFitFallback.cs (9)
86Debug.Assert(_iCount < 1, $"[InternalEncoderBestFitFallbackBuffer.Fallback(non surrogate)] Fallback char {(int)_cBestFit:X4} caused recursive fallback"); 108Debug.Assert(_iCount < 1, $"[InternalEncoderBestFitFallbackBuffer.Fallback(surrogate)] Fallback char {(int)_cBestFit:X4} caused recursive fallback"); 125if (_iCount < 0) 130if (_iCount == int.MaxValue) 143if (_iCount >= 0) 147return (_iCount >= 0 && _iCount <= _iSize); 156return (_iCount > 0) ? _iCount : 0;