Skip to content

Commit c46adeb

Browse files
committed
Suppress violation of SA1305 (Field names must not use Hungarian notation)
1 parent 2133ace commit c46adeb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers.Test/Helpers/UseCultureAttribute.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,15 @@ public UseCultureAttribute(string culture)
4949
{
5050
}
5151

52+
#pragma warning disable SA1305 // Field names must not use Hungarian notation
5253
/// <summary>
5354
/// Initializes a new instance of the <see cref="UseCultureAttribute"/>
5455
/// class with a culture and a UI culture.
5556
/// </summary>
5657
/// <param name="culture">The name of the culture.</param>
5758
/// <param name="uiCulture">The name of the UI culture.</param>
5859
public UseCultureAttribute(string culture, string uiCulture)
60+
#pragma warning restore SA1305 // Field names must not use Hungarian notation
5961
{
6062
this.culture = new Lazy<CultureInfo>(() => new CultureInfo(culture));
6163
this.uiCulture = new Lazy<CultureInfo>(() => new CultureInfo(uiCulture));

0 commit comments

Comments
 (0)