diff --git a/src/System.Management.Automation/engine/remoting/common/RemoteSessionHyperVSocket.cs b/src/System.Management.Automation/engine/remoting/common/RemoteSessionHyperVSocket.cs index fcdb101671e..e71c5e82581 100644 --- a/src/System.Management.Automation/engine/remoting/common/RemoteSessionHyperVSocket.cs +++ b/src/System.Management.Automation/engine/remoting/common/RemoteSessionHyperVSocket.cs @@ -19,9 +19,7 @@ internal class HyperVSocketEndPoint : EndPoint private readonly System.Net.Sockets.AddressFamily _addressFamily; private Guid _vmId; -#pragma warning disable IDE0044 private Guid _serviceId; -#pragma warning restore IDE0044 // https://github.com/PowerShell/PowerShell/issues/13995 public const System.Net.Sockets.AddressFamily AF_HYPERV = (System.Net.Sockets.AddressFamily)34; public const int HYPERV_SOCK_ADDR_SIZE = 36; @@ -55,7 +53,7 @@ public Guid ServiceId { get { return _serviceId; } - set { _vmId = value; } + set { _serviceId = value; } } #endregion