Пример #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));
 }
Пример #2
0
 public Ref(ref T raw)
 {
     _ptr = ILHelpers.GetGenericPtr(ref raw);
 }
Пример #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));
 }
Пример #4
0
 public Ref(ref object raw)
 {
     _ptr = ILHelpers.GetPinnedPointer(ref raw);
 }