public static Unity.IL2CPP.ILPreProcessor.TypeResolver For(TypeReference typeReference) { return (!typeReference.IsGenericInstance ? new Unity.IL2CPP.ILPreProcessor.TypeResolver() : new Unity.IL2CPP.ILPreProcessor.TypeResolver((GenericInstanceType) typeReference)); }