diff --git a/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp b/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp index 3a2e990fc..bc9c67abe 100644 --- a/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp +++ b/sdk/core/azure-core/inc/azure/core/internal/json/json.hpp @@ -15731,6 +15731,12 @@ namespace Azure { namespace Core { namespace Json { namespace _internal { namesp } } +#if defined(_MSC_VER) +#pragma warning(push) +// warning C28020: The expression '0<=_Param_(1)&&_Param_(1)<=400-1' is not true at this call. +#pragma warning(disable : 28020) +#endif + /*! @brief check whether a string is UTF-8 encoded @@ -15795,6 +15801,10 @@ namespace Azure { namespace Core { namespace Json { namespace _internal { namesp return state; } +#if defined(_MSC_VER) +#pragma warning(pop) +#endif + /* * Overload to make the compiler happy while it is instantiating * dump_integer for number_unsigned_t.