Class TupleTypedArrayWrapper<T>
Generic wrapper to treat an MDTuple as an array of elements of specific type
Inheritance
TupleTypedArrayWrapper<T>
Namespace: Ubiquity.NET.Llvm.DebugInfo
Assembly: Ubiquity.NET.Llvm.dll
Syntax
public class TupleTypedArrayWrapper<T> : IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : LlvmMetadata
Type Parameters
T
Type of elements |
Remarks
This implements a facade pattern that presents an IReadOnlyCollection<T> for the operands of an MDTuple. This allows treating the tuple like an array of nodes of a particular type.
Properties
Count | |
Item[Int32] | |
Tuple | Gets the underlying tuple for this wrapper |
Methods
GetEnumerator() |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |