Beispiel #1
0
 public override string ToString()
 {
     if (IsInvalid || IsClosed)
     {
         throw new ObjectDisposedException(nameof(TantivyError));
     }
     unsafe
     {
         return(MarshalHelper.ReadUtf8String(
                    (byte *buffer, ref UIntPtr length) => GetErrorDisplayStringImpl(this, buffer, ref length)
                    ));
     }
 }