# UnsafePtrList<T>.ParallelReader

> Obsolete. Use UnsafePtrList<T>.ReadOnly instead.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.Collections.LowLevel.Unsafe](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public struct UnsafePtrList<T>.ParallelReader
```

## Remarks

Use [UnsafePtrList\<T>.AsParallelReader](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafeptrlist1/asparallelreader.md) to create a parallel reader for a list.

## Fields

| Value                                                                                                               | Description                      |
| ------------------------------------------------------------------------------------------------------------------- | -------------------------------- |
| [Length](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafeptrlist1/parallelreader/length.md) | The number of elements.          |
| [Ptr](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafeptrlist1/parallelreader/ptr.md)       | The internal buffer of the list. |

## Methods

| Method                                                                                                                  | Description                                                                      |
| ----------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| [Contains](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafeptrlist1/parallelreader/contains.md) | Returns true if the list contains at least one occurrence of a specific pointer. |
| [IndexOf](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafeptrlist1/parallelreader/indexof.md)   | Returns the index of the first occurrence of a specific pointer in the list.     |
