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)
86
Debug.Assert(
_iCount
< 1, $"[InternalEncoderBestFitFallbackBuffer.Fallback(non surrogate)] Fallback char {(int)_cBestFit:X4} caused recursive fallback");
108
Debug.Assert(
_iCount
< 1, $"[InternalEncoderBestFitFallbackBuffer.Fallback(surrogate)] Fallback char {(int)_cBestFit:X4} caused recursive fallback");
125
if (
_iCount
< 0)
130
if (
_iCount
== int.MaxValue)
143
if (
_iCount
>= 0)
147
return (
_iCount
>= 0 &&
_iCount
<= _iSize);
156
return (
_iCount
> 0) ?
_iCount
: 0;