System.Xml.CharEntityEncoderFallbackBuffer.GetNextChar C# (CSharp) Method

GetNextChar() public method

public GetNextChar ( ) : char
return char
        public override char GetNextChar() {
            if ( charEntityIndex == -1 ) {
                return (char)0;
            }
            else {
                Debug.Assert( charEntityIndex < charEntity.Length );
                char ch = charEntity[charEntityIndex++];
                if ( charEntityIndex == charEntity.Length ) {
                    charEntityIndex = -1;
                }
                return ch;
            }
        }