/Community

A Support Community for SubMain Products
in Search
Welcome to SubMain Community Sign in | Join | Help

Bug: Suggesting "[Serializable]" be added to an interface that inherits from ISerializable

Last post 05-08-2008, 1:45 AM by Serge B.. 1 replies.
Sort Posts: Previous Next
  •  05-07-2008, 8:04 AM 522

    Bug: Suggesting "[Serializable]" be added to an interface that inherits from ISerializable

    If I have an interface that inherits from ISerializable, CIR reports an error if the SerializableAttribute is not attached to "ILogMessage" (in this example). But the Serializable attribute cannot be attached to interfaces.

    public interface ILogMessage : ISerializable

    public interface ILogMessage : ISerializable

  •  05-08-2008, 1:45 AM 528 in reply to 522

    Re: Bug: Suggesting "[Serializable]" be added to an interface that inherits from ISerializable

    Hi Brian,

    It is clearly a bug and it will be fixed in the upcoming release.

    Thank you!


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
View as RSS news feed in XML