[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0672.cs
blob3a657660b86ceb35301b8bbaa4ca1c999b7c452f
1 // CS0672: Member `B.Test(string)' overrides obsolete member `A.Test(string)'. Add the Obsolete attribute to `B.Test(string)'
2 // Line: 15
3 // Compiler options: -warnaserror
5 using System;
7 public class A
9 [Obsolete ("Causes an error", true)]
10 public virtual void Test (string arg) {}
13 public class B: A
15 public override void Test (string arg) {}