Closed kzu closed 7 years ago
Funny, wrapping the method in a class, works
public class Foo
{
public bool TryAdd(ref int x, ref int y, out int z)
{
z = default(int);
var returns = pipeline.Execute(new MethodInvocation(this, MethodBase.GetCurrentMethod(), x, y, z));
x = (int)returns.Outputs["x"];
y = (int)returns.Outputs["y"];
z = (int)returns.Outputs["z"];
return (bool)returns.ReturnValue;
}
}
I've seen this before a couple of times and had to restart the service once, but it seems intermittent... your example works for me. I'll keep this open maybe I'll have time to investigate.
Still not sure what is going on, so closing for now. Holler if you ever see this again.
Source:
Exception: