Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5483513

Browse files
Delete obsolete warning suppressions.
These were added years ago (e.g., f521316) and the code no longer triggers warnings.
1 parent 832fd71 commit 5483513

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

‎src/MySqlConnector/Core/SchemaProvider.cs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,7 @@ private async Task FillDataTableAsync(IOBehavior ioBehavior, DataTable dataTable
387387
{
388388
await FillDataTableAsync(ioBehavior, dataTable, command =>
389389
{
390-
#pragma warning disable CA2100
391390
command.CommandText = "SELECT " + string.Join(", ", dataTable.Columns.Cast<DataColumn>().Select(static x => x!.ColumnName)) + " FROM INFORMATION_SCHEMA." + tableName;
392-
#pragma warning restore CA2100
393391
if (columns is { Count: > 0 })
394392
{
395393
command.CommandText += " WHERE " + string.Join(" AND ", columns.Select(static x => $@"{x.Key} = @{x.Key}"));

‎src/MySqlConnector/Utilities/Adler32.cs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
using System.Runtime.Intrinsics.X86;
1010
#endif
1111

12-
#pragma warning disable IDE0007 // Use implicit type
13-
1412
namespace MySqlConnector.Utilities;
1513

1614
/// <summary>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /