private static void Reflection(Benchmark benchmark)
 {
     _someValue = (ulong)_instancePropertyInfoValueType.Value.GetValue(benchmark);
 }
 private static void ReflectinatorLooselyTyped(Benchmark benchmark)
 {
     _staticPropertyLooselyTypedSetReferenceType.Value(SomeValue);
 }
 private static void ReflectinatorLooselyTyped(Benchmark benchmark)
 {
     _someValue = (ulong)_instancePropertyLooselyTypedGetValueType.Value(benchmark);
 }
 private static void ReflectinatorStronglyTyped(Benchmark benchmark)
 {
     _someValue = _instancePropertyStronglyTypedGetValueType.Value(benchmark);
 }
 private static void ReflectinatorStronglyTyped(Benchmark benchmark)
 {
     _instanceFieldStronglyTypedSetReferenceType.Value(benchmark, SomeValue);
 }
 private static void Reflection(Benchmark benchmark)
 {
     _someValue = (ulong)_staticFieldInfoValueType.Value.GetValue(benchmark);
 }
 private static void ReflectinatorLooselyTyped(Benchmark benchmark)
 {
     _someValue = (string)_instanceFieldLooselyTypedGetReferenceType.Value(benchmark);
 }
 private static void ReflectinatorStronglyTyped(Benchmark benchmark)
 {
     _someValue = _staticPropertyStronglyTypedGetReferenceType.Value();
 }
 private static void ReflectinatorLooselyTyped(Benchmark benchmark)
 {
     _instancePropertyLooselyTypedSetValueType.Value(benchmark, SomeValue);
 }
 private static void Reflection(Benchmark benchmark)
 {
     _instancePropertyInfoValueType.Value.SetValue(benchmark, SomeValue);
 }
Beispiel #11
0
 private static void ReflectinatorLooselyTyped(Benchmark benchmark)
 {
     _someValue = (ulong)_staticPropertyLooselyTypedGetValueType.Value();
 }
Beispiel #12
0
 private static void ReflectinatorStronglyTyped(Benchmark benchmark)
 {
     _someValue = _staticPropertyStronglyTypedGetValueType.Value();
 }
Beispiel #13
0
 private static void Reflection(Benchmark benchmark)
 {
     _someValue = (ulong)_staticPropertyInfoValueType.Value.GetValue(benchmark);
 }
 private static void Reflection(Benchmark benchmark)
 {
     _staticPropertyInfoReferenceType.Value.SetValue(benchmark, SomeValue);
 }
 private static void Reflection(Benchmark benchmark)
 {
     _someValue = (string)_instanceFieldInfoReferenceType.Value.GetValue(benchmark);
 }
 private static void ReflectinatorLooselyTyped(Benchmark benchmark)
 {
     _someValue = (string)_staticPropertyLooselyTypedGetReferenceType.Value();
 }
 private static void ReflectinatorStronglyTyped(Benchmark benchmark)
 {
     _staticFieldStronglyTypedSetValueType.Value(SomeValue);
 }
 private static void Reflection(Benchmark benchmark)
 {
     _someValue = (string)_staticPropertyInfoReferenceType.Value.GetValue(benchmark);
 }
 private static void Reflection(Benchmark benchmark)
 {
     _staticFieldInfoValueType.Value.SetValue(benchmark, SomeValue);
 }
 private static void Reflection(Benchmark benchmark)
 {
     _instanceFieldInfoReferenceType.Value.SetValue(benchmark, SomeValue);
 }
 private static void ReflectinatorLooselyTyped(Benchmark benchmark)
 {
     _someValue = (ulong)_staticFieldLooselyTypedGetValueType.Value();
 }