use a 2.0 network stack for MONOTOUCH
[mcs.git] / errors / cs1706-2.cs
blob03d77ecd4083a1776343f854dd3fc13cb3f5449a
1 // CS1706: Anonymous methods and lambda expressions cannot be used in the current context
2 // Line: 14
4 public delegate void Proc();
6 public class AAttribute : System.Attribute
8 public AAttribute(Proc p)
9 { }
12 public class Class
14 [A((object)delegate { return; })]
15 public void Foo()