From 12ff426c889808268a408aabf4816fd6f7fe6626 Mon Sep 17 00:00:00 2001 From: DavoudEshtehari <61173489+DavoudEshtehari@users.noreply.github.com> Date: Wed, 12 May 2021 18:33:34 -0700 Subject: [PATCH] Apply suggestions from code review --- .../netcore/src/Resources/Strings.Designer.cs | 7 ++----- .../netfx/src/Resources/Strings.Designer.cs | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/Microsoft.Data.SqlClient/netcore/src/Resources/Strings.Designer.cs b/src/Microsoft.Data.SqlClient/netcore/src/Resources/Strings.Designer.cs index afb8528d6a..9318d7eb40 100644 --- a/src/Microsoft.Data.SqlClient/netcore/src/Resources/Strings.Designer.cs +++ b/src/Microsoft.Data.SqlClient/netcore/src/Resources/Strings.Designer.cs @@ -4446,11 +4446,8 @@ internal static string TCE_DbConnectionString_AttestationProtocol { /// /// Looks up a localized string similar to Specifies an IP address preference when connecting to SQL instances. /// - internal static string TCE_DbConnectionString_IPAddressPreference { - get { - return ResourceManager.GetString("TCE_DbConnectionString_IPAddressPreference", resourceCulture); - } - } + internal static string TCE_DbConnectionString_IPAddressPreference + => ResourceManager.GetString("TCE_DbConnectionString_IPAddressPreference", resourceCulture); /// /// Looks up a localized string similar to Decryption failed. The last 10 bytes of the encrypted column encryption key are: '{0}'. The first 10 bytes of ciphertext are: '{1}'.. diff --git a/src/Microsoft.Data.SqlClient/netfx/src/Resources/Strings.Designer.cs b/src/Microsoft.Data.SqlClient/netfx/src/Resources/Strings.Designer.cs index 214e50ce86..f5b5f44a4c 100644 --- a/src/Microsoft.Data.SqlClient/netfx/src/Resources/Strings.Designer.cs +++ b/src/Microsoft.Data.SqlClient/netfx/src/Resources/Strings.Designer.cs @@ -12081,11 +12081,8 @@ internal static string TCE_DbConnectionString_AttestationProtocol { /// /// Looks up a localized string similar to Specifies an IP address preference when connecting to SQL instances. /// - internal static string TCE_DbConnectionString_IPAddressPreference { - get { - return ResourceManager.GetString("TCE_DbConnectionString_IPAddressPreference", resourceCulture); - } - } + internal static string TCE_DbConnectionString_IPAddressPreference + => ResourceManager.GetString("TCE_DbConnectionString_IPAddressPreference", resourceCulture); /// /// Looks up a localized string similar to Default column encryption setting for all the commands on the connection..