DateTime.FromFileTimeUtc should return a DateTime with DateTimeKind.Utc. Fixes #2936.
[mono.git] / mcs / class / corlib / System / SerializableAttribute.cs
index 3e26c930da1bcf5163aa535aa4834290e1575ca3..49be630963ede3f6cae14c125744814a5a3bdc2c 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
 {
@@ -56,6 +57,7 @@ namespace System
        [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct 
                | AttributeTargets.Enum | AttributeTargets.Delegate, 
                Inherited=false, AllowMultiple=false)]
+       [ComVisible (true)]
        public sealed class SerializableAttribute : Attribute
        {
        }