2 writes to _charEntity
System.Private.Xml (2)
System\Xml\Core\CharEntityEncoderFallback.cs (2)
75
_charEntity
= string.Create(null, stackalloc char[64], $"&#x{(int)charUnknown:X};");
102
_charEntity
= string.Create(null, stackalloc char[64], $"&#x{SurrogateCharToUtf32(charUnknownHigh, charUnknownLow):X};");
5 references to _charEntity
System.Private.Xml (5)
System\Xml\Core\CharEntityEncoderFallback.cs (5)
61
public override int Remaining => _charEntityIndex == -1 ? 0 :
_charEntity
.Length - _charEntityIndex;
118
if (_charEntityIndex ==
_charEntity
.Length)
128
Debug.Assert(_charEntityIndex <
_charEntity
.Length);
130
return
_charEntity
[_charEntityIndex++];
141
Debug.Assert(_charEntityIndex <=
_charEntity
.Length);