Skip to content

Commit 2e66c48

Browse files
committed
No more UTF-8 BOM
1 parent 262d623 commit 2e66c48

23 files changed

+28
-28
lines changed

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ indent_style = space
99
[*.{cs,csx,vb,vbx}]
1010
indent_size = 4
1111
insert_final_newline = true
12-
charset = utf-8-bom
12+
charset = utf-8
1313
###############################
1414
# .NET Coding Conventions #
1515
###############################
@@ -49,7 +49,7 @@ dotnet_style_prefer_conditional_expression_over_return = true:silent
4949
###############################
5050
# Style Definitions
5151
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
52-
# Use PascalCase for constant fields
52+
# Use PascalCase for constant fields
5353
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
5454
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
5555
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style

AzureSignTool.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.26730.8

src/AzureSign.Core/AlgorithmTranslator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Security.Cryptography;
33

44
namespace AzureSign.Core

src/AzureSign.Core/AuthenticodeKeyVaultSigner.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using AzureSign.Core.Interop;
1+
using AzureSign.Core.Interop;
22
using Microsoft.Extensions.Logging;
33
using System;
44
using System.Diagnostics;
@@ -105,7 +105,7 @@ static char[] NullTerminate(ReadOnlySpan<char> str)
105105
// E_INVALIDARG is expected from SignerSignEx3, no need to override this error, log warning for troubleshooting
106106
logger?.LogWarning("If you set the dwTimestampFlags parameter to SIGNER_TIMESTAMP_AUTHENTICODE, you cannot set the dwFlags parameter to SIG_APPEND.");
107107
}
108-
108+
109109
flags |= SignerSignEx3Flags.SIG_APPEND;
110110
}
111111

src/AzureSign.Core/AzureSign.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>

src/AzureSign.Core/Interop/crypt32.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Runtime.InteropServices;
33

44
namespace AzureSign.Core.Interop
@@ -10,7 +10,7 @@ internal static class crypt32
1010
public static extern bool CertCloseStore
1111
(
1212
[In, MarshalAs(UnmanagedType.SysInt)] IntPtr hCertStore,
13-
[In, MarshalAs(UnmanagedType.U4)] CertCloreStoreFlags dwFlags
13+
[In, MarshalAs(UnmanagedType.U4)] CertCloreStoreFlags dwFlags
1414
);
1515

1616
[return: MarshalAs(UnmanagedType.SysInt)]

src/AzureSign.Core/Interop/mssign32.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Runtime.InteropServices;
33

44
namespace AzureSign.Core.Interop

src/AzureSign.Core/MemoryCertificateStore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using AzureSign.Core.Interop;
1+
using AzureSign.Core.Interop;
22
using System;
33
using System.Diagnostics;
44
using System.Security.Cryptography.X509Certificates;

src/AzureSign.Core/Properties.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
using System.Runtime.CompilerServices;
2-
[assembly: InternalsVisibleTo("AzureSign.Core.Tests")]
1+
using System.Runtime.CompilerServices;
2+
[assembly: InternalsVisibleTo("AzureSign.Core.Tests")]

src/AzureSign.Core/TimeStampConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System.Security.Cryptography;
1+
using System.Security.Cryptography;
22

33
namespace AzureSign.Core
44
{

0 commit comments

Comments
 (0)