コード例 #1
0
        public void Test()
        {
            if (CompilerTest.CS\u0024\u003C\u003E9__CachedAnonymousMethodDelegate1 == null)
            {
                // ISSUE: method pointer
                CompilerTest.CS\u0024\u003C\u003E9__CachedAnonymousMethodDelegate1 = new Func <bool>((object)null, __methodptr(\u003CTest\u003Eb__0));
            }
            Func <bool> func = CompilerTest.CS\u0024\u003C\u003E9__CachedAnonymousMethodDelegate1;

            (Expression <Func <bool> >)(() => true || CompilerTest.Foo());
        }
コード例 #2
0
        public void Test()
        {
            Func <bool> func = (Func <bool>)(() => true);

            (Expression <Func <bool> >)(() => true || CompilerTest.Foo());
        }