ReadOnlyArray<T> Structure |
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.2.13.0 (6.2.13.0)

public readonly struct ReadOnlyArray<T> : IEquatable<ReadOnlyArray<T>>
Type Parameters
- T
- Type of array items.
The ReadOnlyArray<T> type exposes the following members.

Name | Description | |
---|---|---|
![]() | ReadOnlyArray<T> |
Initializes a new ReadOnlyArray<T>.
|

Name | Description | |
---|---|---|
![]() | IsNull |
Determines whether the array is null.
|
![]() | Item |
Gets a specified element of the array.
|
![]() | Length |
Gets the array length.
|

Name | Description | |
---|---|---|
![]() | Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object).) |
![]() | Equals(ReadOnlyArray<T>) | Indicates whether the current object is equal to another object of the same type. |
![]() | GetHashCode | Returns the hash code for this instance. (Overrides ValueType.GetHashCode().) |

Name | Description | |
---|---|---|
![]() ![]() | Equality |
Determines whether two instances of the ReadOnlyArray<T> type are equal.
|
![]() ![]() | Inequality |
Determines whether two instances of the ReadOnlyArray<T> type are different.
|
