2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs1657.cs
blobe537ea2b4152c8e61b841b61fcdc492e63efc805
1 // cs1657.cs: Cannot pass `i' as a ref or out argument because it is a `foreach iteration variable'
2 // Line: 9
4 class E
6 public E (int[] args)
8 foreach (int i in args)
9 Init (ref i);
12 void Init (ref int val) {}