Exemple #1
0
 public (Ref <A>, Ref <B>, Ref <C>, Ref <D>, Ref <E>, Ref <F>) Current <A, B, C, D, E, F>()
 {
     return(ILHelpers.CreateGetRefTuple <A, B, C, D, E, F>(_classArrays[_classIndex], Index));
 }
Exemple #2
0
 public Ref(ref T raw)
 {
     _ptr = ILHelpers.GetGenericPtr(ref raw);
 }
Exemple #3
0
 public (Ref <A>, Ref <B>) Current <A, B>()
 {
     Console.WriteLine($"ClassArrayLength::{ClassArrayLength} | ComponentsLength::{ComponentsLength} | ElementLength::{ElementLength} | Index::{Index} | ClassIndex::{_classIndex}");
     RefArray[] arrays = _classArrays[_classIndex];
     return(ILHelpers.CreateGetRefTuple <A, B>(arrays, Index));
 }
Exemple #4
0
 public Ref(ref object raw)
 {
     _ptr = ILHelpers.GetPinnedPointer(ref raw);
 }