[AspNet] Fixed compilation error on mono 3.