From 6ffcfee178dfef1cf60c66a98cdc8fec208cbdc2 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Thu, 21 Jul 2016 17:25:08 -0700 Subject: Fix build break when FEATURE_SERIALIZATION defined --- src/mscorlib/src/System/IO/DriveInfo.cs | 2 +- src/mscorlib/src/System/Reflection/Pointer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mscorlib/src/System/IO/DriveInfo.cs b/src/mscorlib/src/System/IO/DriveInfo.cs index a3cacf609a..be75e8979d 100644 --- a/src/mscorlib/src/System/IO/DriveInfo.cs +++ b/src/mscorlib/src/System/IO/DriveInfo.cs @@ -46,7 +46,7 @@ namespace System.IO [ComVisible(true)] public sealed class DriveInfo #if FEATURE_SERIALIZATION - , ISerializable + : ISerializable #endif { private String _name; diff --git a/src/mscorlib/src/System/Reflection/Pointer.cs b/src/mscorlib/src/System/Reflection/Pointer.cs index 9008566f4a..dcd1f44d89 100644 --- a/src/mscorlib/src/System/Reflection/Pointer.cs +++ b/src/mscorlib/src/System/Reflection/Pointer.cs @@ -24,7 +24,7 @@ namespace System.Reflection { [System.Runtime.InteropServices.ComVisible(true)] public sealed class Pointer #if FEATURE_SERIALIZATION - , ISerializable + : ISerializable #endif { [SecurityCritical] -- cgit v1.2.3