public static void TestStaticField() { TestClass.StaticIntField = -1; FieldInfo field = typeof(TestClass).GetField("StaticIntField");; StaticDynamicMethodProxyHandler handler = fac.GetStaticFieldSetDelegate(field); handler(new object[] { 5 }); Check.Assert(TestClass.StaticIntField == 5); handler = fac.GetStaticFieldGetDelegate(field); Check.Assert(((int)handler(null)) == 5); }