public void SetFieldInfoCache_Field() { FieldInfo.SetValue(BenchmarkObject, ValueToSet); FieldInfo2.SetValue(BenchmarkObject2, ValueToSet2); FieldInfo3.SetValue(BenchmarkObject3, ValueToSet3); FieldInfo4.SetValue(BenchmarkObject4, ValueToSet4); }
public string GetFieldInfoCache_Field() { return($"{(int)FieldInfo.GetValue(BenchmarkObject)}{(float)FieldInfo2.GetValue(BenchmarkObject2)}{(string)FieldInfo3.GetValue(BenchmarkObject3)}{(uint)FieldInfo4.GetValue(BenchmarkObject4)}"); }