From 67e4d1d397f3695b54e00a8c0559cffd903b571e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Bourbonnais?= Date: Thu, 7 Oct 2021 14:47:19 -0400 Subject: [PATCH] Remove a deprecated attribute in PropertyObject --- src/runtime/Python.Runtime.csproj | 1 - src/runtime/propertyobject.cs | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/runtime/Python.Runtime.csproj b/src/runtime/Python.Runtime.csproj index c58dc7483..5a8c35f49 100644 --- a/src/runtime/Python.Runtime.csproj +++ b/src/runtime/Python.Runtime.csproj @@ -51,7 +51,6 @@ - diff --git a/src/runtime/propertyobject.cs b/src/runtime/propertyobject.cs index 3cef84a09..fccd8edd6 100644 --- a/src/runtime/propertyobject.cs +++ b/src/runtime/propertyobject.cs @@ -1,6 +1,5 @@ using System; using System.Reflection; -using System.Security.Permissions; namespace Python.Runtime { @@ -15,7 +14,6 @@ internal class PropertyObject : ExtensionType private MaybeMethodInfo getter; private MaybeMethodInfo setter; - [StrongNameIdentityPermission(SecurityAction.Assert)] public PropertyObject(PropertyInfo md) { getter = md.GetGetMethod(true);