* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git] / tests / test-291.cs
blob63de7d027789848902311bfb02cd8383babecc51
1 // Compiler options: -warnaserror -warn:4
3 using System;
5 public class Test
7 [Obsolete]
8 static void Method () {}
10 public static void Main ()
12 #pragma warning disable 219, 612
13 int i = 0;
14 Method ();
15 #pragma warning restore 612
16 #pragma warning disable
17 Method ();
18 #pragma warning restore