<?xml version="1.0" encoding="iso-8859-1"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS0672</ErrorName>
  <Examples>
    <string>// cs0672.cs: Member 'C.Method()' overrides obsolete member 'BaseClass.Method()'. Add the Obsolete attribute to 'C.Method()'
// Line: 14
// Compiler options: -warnaserror

using System;

class BaseClass {
        [Obsolete]
        protected virtual void Method () {}
}

class C: BaseClass
{
        protected override void Method () {}
}</string>
    <string>// cs0672.cs: Member 'B.Test(string)' overrides obsolete member 'A.Test(string)'. Add the Obsolete attribute to 'B.Test(string)'
// Line: 15
// Compiler options: -warnaserror

using System;

public class A
{
        [Obsolete ("Causes an error", true)]
        public virtual void Test (string arg) {}
}

public class B: A
{
        public override void Test (string arg) {}
}

</string>
  </Examples>
</ErrorDocumentation>