[MonoDevelop] bug in MonoDevelop.Projects.DefaultCompilerResult?
Michael Hutchinson
m.j.hutchinson at gmail.com
Fri Jan 11 19:53:46 EST 2008
On Jan 11, 2008 7:44 PM, Ben Joldersma <ben at joldersma.org> wrote:
> all,
>
> Love the latest version of MD. Is a pleasure to work with. I ran into a
> small problem in which null errors were somehow being passed in
> CompilerResults constructor param, fixed it with this little diff:
>
> 54c54
> < if (err.IsWarning) warningCount++;
> ---
> > if (err != null && err.IsWarning)
> warningCount++;
>
> Not sure if y'all want to make the change, but it gets my project to compile
I haven't seen this problem. Could you get a stack trace from the
error? I'd rather throw an ArgumentNullException than silently ignore
it.
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Monodevelop-list
mailing list