Merge pull request #297 from ermshiperete/4959
[mono.git] / mcs / class / corlib / System / ObsoleteAttribute.cs
index 7e9596288cf0e505852fb9741a0a24339400e6cc..942bbbc610eb4f79f796ba10612fc69b4696580e 100644 (file)
@@ -29,6 +29,7 @@
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
+using System.Runtime.InteropServices;
 
 namespace System
 {
@@ -39,6 +40,7 @@ namespace System
                AttributeTargets.Interface | AttributeTargets.Delegate,
                Inherited=false)]
        [Serializable]
+       [ComVisible (true)]
        public sealed class ObsoleteAttribute : Attribute
        {
                private string _message;