Skip to content

Commit f90d920

Browse files
committed
Fix warning
1 parent b0daf16 commit f90d920

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Components/Endpoints/src/Binding/WellKnownConverters.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
namespace Microsoft.AspNetCore.Components.Endpoints.Binding;
@@ -7,7 +7,9 @@ internal static class WellKnownConverters
77
{
88
public static readonly IReadOnlyDictionary<Type, FormDataConverter> Converters;
99

10+
#pragma warning disable CA1810 // Initialize reference type static fields inline
1011
static WellKnownConverters()
12+
#pragma warning restore CA1810 // Initialize reference type static fields inline
1113
{
1214
var converters = new Dictionary<Type, FormDataConverter>
1315
{

0 commit comments

Comments
 (0)