Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetValue() [7/8]

object? System.Array.GetValue ( params int[] indices)
inline

Definition at line 980 of file Array.cs.

981 {
982 if (indices == null)
983 {
984 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.indices);
985 }
986 if (Rank != indices.Length)
987 {
988 ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankIndices);
989 }
991 }
object InternalGetValue(nint flattenedIndex)
unsafe nint GetFlattenedIndex(ReadOnlySpan< int > indices)
Definition Array.cs:807

References System.Array.GetFlattenedIndex(), System.indices, System.Array.InternalGetValue(), System.Array.Rank, System.ThrowHelper.ThrowArgumentException(), and System.ThrowHelper.ThrowArgumentNullException().

Referenced by System.Array.CompareTo(), System.Array.SorterGenericArray.DownHeap(), System.Array.Equals(), System.Xml.Schema.TypedObject.Equals(), System.Array.GetHashCode(), System.Array.GetValue(), System.Array.GetValue(), System.Array.GetValue(), System.Array.GetValue(), System.Array.SorterGenericArray.InsertionSort(), System.Array.SorterGenericArray.PickPivotAndPartition(), System.Array.SorterGenericArray.Swap(), and System.Array.SorterGenericArray.SwapIfGreater().