C# compiler crashes without an error-message
.net, c#
Solution
That is not a bug in the compiler; the compiler gives a proper error message. Instead, this is a bug in Visual Studio's editor language service, which causes Visual Studio to crash.
However, your code is illegal anyway; `__arglist(...)` expressions can only be used to call a function that takes an `__arglist`.
Problem
``` var xrr = __arglist(Convert.ToUInt32(1), Convert.ToUInt32(2), Convert.ToUInt32(3)); ``` The above code would make the compiler crash on build. I would expect the compiler to stop with a meaningful error-message, instead of trying to compile the code. Could it be a bug in the compiler? If not, how can I solve this error?