Filed as bug 25170 in bugzilla (mono/mcs)
Description of Problem:
When compiling the code which is attached to this bug report I get a
NullReferenceException...
Steps to reproduce the problem:
1. Compile the code which will be attached to the bug report shortly
2. mcs --target library Calc.cs
Actual Results:
mcs bails
Expected Results:
Should give a warning regarding the typo
How often does this happen?
Every time..
Additional Information:
I use mono-0.11_baselabs-20020522
btw the typo is on line 11 (it says in instead of int...)
/Richard
using System;
public class Calc
{
public static int Add(int x, int y)
{
return x + y;
}
public static in Substract(int x, int y)
{
return x - y;
}
}