* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git] / tests / test-293.cs
blobd90e4270033b315d1be1e8ecd9a5ef6318c86872
1 // This code must be compilable without any warning
2 // Compiler options: -warnaserror -warn:4
4 using System;
6 public class A {
7 [Obsolete()]
8 public virtual string Warning {
9 get { return ""; }
13 public class B : A {
14 [Obsolete()]
15 public override string Warning {
16 get { return ""; }
19 public static void Main ()