mirror of
https://github.com/AssetRipper/Cpp2IL.git
synced 2026-11-13 04:26:33 -10:00
11 lines
306 B
C#
11 lines
306 B
C#
namespace Cpp2IL.Core.ISIL;
|
|
|
|
// An element of a single-dimension array (`arr[index]`)
|
|
public class ArrayAccess(LocalVariable array, IOperand index) : IOperand
|
|
{
|
|
public LocalVariable Array = array;
|
|
public IOperand Index = index;
|
|
|
|
public override string ToString() => $"{Array.Name}[{Index}]";
|
|
}
|