Exemplo n.º 1
0
 public int NewObject(CorDebugFunction constructor, ReadOnlySpan <CorDebugValue> args)
 {
     using var pArgs        = NativeArray.AllocCom(args);
     using var pConstructor = constructor?.AcquirePointer();
     return(Calli(_this, This[0]->NewObject, pConstructor, (void **)pArgs));
 }
Exemplo n.º 2
0
 public int CallFunction(CorDebugFunction function, ReadOnlySpan <CorDebugValue> args)
 {
     using var pArgs     = NativeArray.AllocCom(args);
     using var pFunction = function?.AcquirePointer();
     return(Calli(_this, This[0]->CallFunction, pFunction, (void **)pArgs));
 }