Skip to content

Commit 33daa0c

Browse files
committed
Update
1 parent 7151e26 commit 33daa0c

File tree

6 files changed

+11
-1
lines changed

6 files changed

+11
-1
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3939
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
4040
<GenerateDocumentationFile>true</GenerateDocumentationFile>
41-
<NoWarn>$(NoWarn);IDE0005;CA1707</NoWarn>
41+
<NoWarn>$(NoWarn);IDE0005</NoWarn>
4242
<EnableNETAnalyzers>True</EnableNETAnalyzers>
4343
<AnalysisMode>None</AnalysisMode>
4444
</PropertyGroup>

QRCoder/PayloadGenerator/BezahlCode.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,6 +1047,7 @@ public enum Currency
10471047
}
10481048

10491049

1050+
#pragma warning disable CA1707 // Underscore in identifier
10501051
/// <summary>
10511052
/// Operation modes of the BezahlCode
10521053
/// </summary>
@@ -1088,6 +1089,7 @@ public enum AuthorityType
10881089
/// </summary>
10891090
contact_v2
10901091
}
1092+
#pragma warning restore CA1707 // Underscore in identifier
10911093

10921094
/// <summary>
10931095
/// Exception class for BezahlCode errors.

QRCoder/PayloadGenerator/Girocode.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public enum TypeOfRemittance
126126
Unstructured
127127
}
128128

129+
#pragma warning disable CA1707 // Underscore in identifier
129130
/// <summary>
130131
/// Defines the encoding types for Girocode payloads.
131132
/// </summary>
@@ -171,6 +172,7 @@ public enum GirocodeEncoding
171172
/// </summary>
172173
ISO_8859_15
173174
}
175+
#pragma warning restore CA1707 // Underscore in identifier
174176

175177
/// <summary>
176178
/// Represents errors that occur during Girocode generation.

QRCoder/PayloadGenerator/RussiaPaymentOrder.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ public string? TaxPaytKind
575575
public TechCode? TechCode { get; set; }
576576
}
577577

578+
#pragma warning disable CA1707 // Underscore in identifier
578579
/// <summary>
579580
/// (List of values of the technical code of the payment)
580581
/// <para>Перечень значений технического кода платежа</para>
@@ -692,6 +693,7 @@ public enum CharacterSets
692693
/// </summary>
693694
koi8_r = 3
694695
}
696+
#pragma warning restore CA1707 // Underscore in identifier
695697

696698
/// <summary>
697699
/// Represents errors that occur during the generation of a RussiaPaymentOrder payload.

QRCoder/PayloadGenerator/SMS.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public SMS(string number, string subject, SMSEncoding encoding = SMSEncoding.SMS
4747
_ => string.Empty,
4848
};
4949

50+
#pragma warning disable CA1707 // Underscore in identifier
5051
/// <summary>
5152
/// Specifies the encoding type for the SMS payload.
5253
/// </summary>
@@ -65,5 +66,6 @@ public enum SMSEncoding
6566
/// </summary>
6667
SMS_iOS
6768
}
69+
#pragma warning restore CA1707 // Underscore in identifier
6870
}
6971
}

QRCoder/QRCodeGenerator/EciMode.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#pragma warning disable CA1707 // Underscore in identifier
2+
13
namespace QRCoder;
24

35
public partial class QRCodeGenerator

0 commit comments

Comments
 (0)