From 6a9094736c6917e2e41843e9e0938f8383923579 Mon Sep 17 00:00:00 2001 From: Claudia Murialdo Date: Fri, 15 Jul 2022 14:17:30 -0300 Subject: [PATCH] Set proper security level on get and set methods for MQTransaction property. --- dotnet/src/dotnetframework/GxClasses/Core/GXApplication.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotnet/src/dotnetframework/GxClasses/Core/GXApplication.cs b/dotnet/src/dotnetframework/GxClasses/Core/GXApplication.cs index 96b8eccf2..56219e869 100644 --- a/dotnet/src/dotnetframework/GxClasses/Core/GXApplication.cs +++ b/dotnet/src/dotnetframework/GxClasses/Core/GXApplication.cs @@ -44,6 +44,7 @@ namespace GeneXus.Application #endif using System.Threading; using System.Security.Claims; + using System.Security; public interface IGxContext { @@ -1550,7 +1551,9 @@ static public string StdClassesVersion() public MessageQueueTransaction MQTransaction { + [SecuritySafeCritical] get { return _mqTransaction; } + [SecuritySafeCritical] set { _mqTransaction = value;