[w32file] Remove dead code
[mono.git] / mcs / errors / cs0765.cs
1 // CS0765: Partial methods with only a defining declaration or removed conditional methods cannot be used in an expression tree
2 // Line: 15
3
4 using System;
5 using System.Diagnostics;
6 using System.Linq.Expressions;
7
8 public class C
9 {
10         [Conditional ("DEBUG")]
11         public static void TestMethod () { }
12
13         static void Main ()
14         {
15                 Expression<Action> e = () => TestMethod ();
16         }
17 }