using System; namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty { internal class Issue3965 { private static void M(int x) { } private static void Use(Action action) { } public static void DiscardedMethodGroupConversion() { #if EXPECTED_OUTPUT new Action(M); #else _ = (Action)M; #endif } public static void UsedMethodGroupConversion() { Use(M); } } }