From ffa157a52db34e24ee469b8d7b5a278edaab1e3b Mon Sep 17 00:00:00 2001 From: carlossanlop Date: Mon, 16 Sep 2019 10:16:45 -0700 Subject: [PATCH 1/3] Automatically port Reflection.DeclarativeSecurityAction --- .../DeclarativeSecurityAction.xml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/xml/System.Reflection/DeclarativeSecurityAction.xml b/xml/System.Reflection/DeclarativeSecurityAction.xml index effbaf19d80..2e98dce15af 100644 --- a/xml/System.Reflection/DeclarativeSecurityAction.xml +++ b/xml/System.Reflection/DeclarativeSecurityAction.xml @@ -18,7 +18,7 @@ System.Enum - To be added. + Specifies the security actions that can be performed using declarative security. To be added. @@ -44,7 +44,7 @@ 3 - To be added. + The calling code can access the resource identified by the current permission object, even if callers higher in the stack have not been granted permission to access the resource. @@ -69,7 +69,7 @@ 2 - To be added. + Check that all callers in the call chain have been granted specified permission. @@ -94,7 +94,7 @@ 4 - To be added. + Without further checks refuse Demand for the specified permission. @@ -119,7 +119,7 @@ 7 - To be added. + The derived class inheriting the class or overriding a method is required to have been granted the specified permission. @@ -144,7 +144,7 @@ 6 - To be added. + Check that the immediate caller has been granted the specified permission. @@ -169,7 +169,7 @@ 0 - To be added. + No declarative security action. @@ -194,7 +194,7 @@ 5 - To be added. + Without further checks, refuse Demand for all permissions other than those specified. @@ -219,7 +219,7 @@ 8 - To be added. + The request for the minimum permissions required for code to run. This action can only be used within the scope of the assembly. @@ -244,7 +244,7 @@ 9 - To be added. + The request for additional permissions that are optional (not required to run). This request implicitly refuses all other permissions not specifically requested. This action can only be used within the scope of the assembly. @@ -269,7 +269,7 @@ 10 - To be added. + The request that permissions that might be misused will not be granted to the calling code. This action can only be used within the scope of the assembly. From 32e832fbf16a770f7e2e50adb3aabf542f19a826 Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Lopez <1175054+carlossanlop@users.noreply.github.com> Date: Wed, 25 Sep 2019 11:10:36 -0700 Subject: [PATCH 2/3] suggestions by rpetrusha Co-Authored-By: Ron Petrusha --- xml/System.Reflection/DeclarativeSecurityAction.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xml/System.Reflection/DeclarativeSecurityAction.xml b/xml/System.Reflection/DeclarativeSecurityAction.xml index 2e98dce15af..318bad22100 100644 --- a/xml/System.Reflection/DeclarativeSecurityAction.xml +++ b/xml/System.Reflection/DeclarativeSecurityAction.xml @@ -69,7 +69,7 @@ 2 - Check that all callers in the call chain have been granted specified permission. + Check that all callers in the call chain have been granted the specified permission. @@ -119,7 +119,7 @@ 7 - The derived class inheriting the class or overriding a method is required to have been granted the specified permission. + The derived class inheriting the class or overriding a method is required to have the specified permission. @@ -194,7 +194,7 @@ 5 - Without further checks, refuse Demand for all permissions other than those specified. + Without further checks, refuse the Demand for all permissions other than those specified. @@ -219,7 +219,7 @@ 8 - The request for the minimum permissions required for code to run. This action can only be used within the scope of the assembly. + Request the minimum permissions required for code to run. This action can only be used within the scope of the assembly. @@ -244,7 +244,7 @@ 9 - The request for additional permissions that are optional (not required to run). This request implicitly refuses all other permissions not specifically requested. This action can only be used within the scope of the assembly. + Request additional permissions that are optional (not required to run). This request implicitly refuses all other permissions not specifically requested. This action can only be used within the scope of the assembly. @@ -269,7 +269,7 @@ 10 - The request that permissions that might be misused will not be granted to the calling code. This action can only be used within the scope of the assembly. + Request that permissions that might be misused not be granted to the calling code. This action can only be used within the scope of the assembly. From 106b22d22c577cdfa68856b82bd5ab56b30968e2 Mon Sep 17 00:00:00 2001 From: Ron Petrusha Date: Wed, 2 Oct 2019 13:09:50 -0700 Subject: [PATCH 3/3] Demand --> demand --- xml/System.Reflection/DeclarativeSecurityAction.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Reflection/DeclarativeSecurityAction.xml b/xml/System.Reflection/DeclarativeSecurityAction.xml index 318bad22100..fcaaedfa74e 100644 --- a/xml/System.Reflection/DeclarativeSecurityAction.xml +++ b/xml/System.Reflection/DeclarativeSecurityAction.xml @@ -194,7 +194,7 @@ 5 - Without further checks, refuse the Demand for all permissions other than those specified. + Without further checks, refuse the demand for all permissions other than those specified.