Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Pfister <steve.pfister@microsoft.com>2019-06-17 16:32:23 +0300
committerMarek Safar <marek.safar@gmail.com>2019-06-17 16:52:12 +0300
commitd5f406ea037710aaf2c6b1bd4fe92fa723068a3a (patch)
tree81e584b1c9cc419584f51d2648e3716031c0ae8a
parentd8554258fa53bf7d00d301260719946dc2cb591d (diff)
Marks PropertyInfo as [Serializable] per https://github.com/mono/mono/issues/14864
Note that this is a Mono CoreFX change only.
-rw-r--r--src/Common/src/CoreLib/System/Reflection/PropertyInfo.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Common/src/CoreLib/System/Reflection/PropertyInfo.cs b/src/Common/src/CoreLib/System/Reflection/PropertyInfo.cs
index ff8a02e96d..28550be060 100644
--- a/src/Common/src/CoreLib/System/Reflection/PropertyInfo.cs
+++ b/src/Common/src/CoreLib/System/Reflection/PropertyInfo.cs
@@ -2,11 +2,13 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
+using System;
using System.Diagnostics;
using System.Globalization;
namespace System.Reflection
{
+ [Serializable]
public abstract class PropertyInfo : MemberInfo
{
protected PropertyInfo() { }