private static Func<KeyValuePair<double, PrintLevelDetails>, double> func_0; ... func_0 = new Func<KeyValuePair<double, PrintLevelDetails>, double>(null, (IntPtr) smethod_0); ... private static double smethod_0(KeyValuePair<double, PrintLevelDetails> keyValuePair_0) { return keyValuePair_0.Key; } Error in decompiled code:
CS0428 Cannot convert method group 'smethod_0' to non-delegate type 'System.IntPtr'. Did you intend to invoke the method?