Fields cannot be of type refany
The System.TypedReference type can only be applied to method parameters and the declaration of method parameters.
The following sample generates CS0610:
public class MainClass { // System.TypedReference i; // CS0610 public static void Main () { } public static void Test(System.TypedReference i) { // OK } }