Quantcast
Channel: Active questions tagged crash - Stack Overflow
Viewing all articles
Browse latest Browse all 7181

C# 4.0 Compiler Crash

$
0
0

This code sample is not able to be compiled. Any work arounds out there?

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{    using church = Func<dynamic, dynamic, dynamic>;    class Program    {        static void Main(string[] args)        {            church True = (a, b) => a;            church False = (a, b) => b;            Func<church, church, church> And = (x, y) => x(y(True, False), False);        }    }}

Error 6 Internal Compiler Error (0xc0000005 at address 5476A4CC): likely culprit is 'EMITIL'. An internal error has occurred in the compiler. To work around this problem, try simplifying or changing the program near the locations listed below. Locations at the top of the list are closer to the point at which the internal error occurred. Errors such as this can be reported to Microsoft by using the /errorreport option. TestApplication


Viewing all articles
Browse latest Browse all 7181

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>