public StringEntity(StringEntity entity)
 {
     this = entity;
 }
 public bool Equals(StringEntity entity)
 {
     return(entity.Equals((Char16 *)_entity.GetUnsafePtr(), _entity.Length));
 }
 public ReadOnlyStringEntity(NativeJaggedArraySlice <Char16> slice)
 {
     _entity = new StringEntity(slice);
 }
 public ReadOnlyStringEntity(StringEntity entity)
 {
     _entity = entity;
 }
 public bool Equals(StringEntity entity)
 {
     this.CheckReallocate();
     return(entity.Equals(_ptr, _len));
 }