Class TupleTypedArrayWrapper<T>
Generic wrapper to treat an MDTuple as an array of elements of specific type
Inheritance
TupleTypedArrayWrapper<T>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
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 | Gets the count of operands in the MDTuple |
Item[Int32] | Gets an item from the tuple |
Tuple | Gets the underlying tuple for this wrapper |
Methods
GetEnumerator() | Gets an enumerator for the items in the MDTuple |
Explicit Interface Implementations
IEnumerable.GetEnumerator() | Gets an enumerator for the items in the MDTuple |