[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0672-3.cs
blob8e92a573d1c43aff165559170fbdc4efcdd1f1d2
1 // CS0672: Member `B.Warning' overrides obsolete member `A.Warning'. Add the Obsolete attribute to `B.Warning'
2 // Line: 15
3 // Compiler options: -warnaserror
5 using System;
7 public class A {
8 [Obsolete()]
9 public virtual string Warning {
10 get { return ""; }
14 public class B : A {
15 public override string Warning {
16 get { return ""; }