Пример #1
0
 internal Partial(MemoryPool <char> memoryPool)
 {
     Value              = default;
     HasPending         = false;
     CurrentColumnIndex = 0;
     PendingCharacters  = new MaybeInPlaceBuffer <char>(memoryPool);
 }
Пример #2
0
 public void Dispose()
 {
     if (!IsDisposed)
     {
         PendingCharacters.Dispose();
         PendingCharacters = null;
     }
 }
Пример #3
0
 internal Partial(MemoryPool <char> memoryPool)
 {
     CurrentColumnIndex = 0;
     PendingCharacters  = new MaybeInPlaceBuffer <char>(memoryPool);
 }