diff --git a/src/Polly/Context.cs b/src/Polly/Context.cs index 0eff0ca8f45..0a17675cee0 100644 --- a/src/Polly/Context.cs +++ b/src/Polly/Context.cs @@ -4,7 +4,9 @@ namespace Polly; /// Context that carries with a single execution through a Policy. Commonly-used properties are directly on the class. Backed by a dictionary of string key / object value pairs, to which user-defined values may be added. /// Do not re-use an instance of across more than one call through .Execute(...) or .ExecuteAsync(...). /// +#pragma warning disable CA1710 // Identifiers should have correct suffix public partial class Context +#pragma warning restore CA1710 { internal static Context None() => []; diff --git a/src/Polly/Polly.csproj b/src/Polly/Polly.csproj index b220c06d916..828f9b6ddb7 100644 --- a/src/Polly/Polly.csproj +++ b/src/Polly/Polly.csproj @@ -7,7 +7,7 @@ Library 70 true - $(NoWarn);CA1010;CA1031;CA1051;CA1062;CA1063;CA1064;CA1710;CA1724;CA1805;CA1816;CA2211 + $(NoWarn);CA1010;CA1031;CA1051;CA1062;CA1063;CA1064;CA1724;CA1805;CA1816;CA2211 $(NoWarn);S2223;S3215;S4039 $(NoWarn);RS0037;