CSharpCodeProvider fails to compile function but Visual studio compiles the same function
- by Asvin
Here's a simple function. Compiling this code using the CSharpCodeProvider fails but it works when I attempt to reproduce the problem using Visual studion. The error I get is "unable to implicitly convert uint? to uint". Any ideas ?
public static Boolean Func1()
{
UInt32? x = 0;
UInt32? y = 0;
return x == (UInt32?)0;
}