internal void OnBufferInvalidated() { if ( this.value == null ) { Debug.Assert( valueStartPos != -1 ); Debug.Assert( chars != null ); this.value = new string( chars, valueStartPos, valueLength ); } valueStartPos = -1; }