Creating a delegate that accept a ref from a struct method - C#