Skip to content

Commit 45739de

Browse files
authored
Enable nullability in MultitargetUtil (#4585)
1 parent 3744243 commit 45739de

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/System.Windows.Forms/src/misc/MultitargetUtil.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
#nullable disable
6-
75
namespace System.Resources
86
{
97
/// <summary>
@@ -16,9 +14,9 @@ internal static class MultitargetUtil
1614
/// This method gets assembly info for the corresponding type. If the delegate
1715
/// is provided it is used to get this information.
1816
/// </summary>
19-
public static string GetAssemblyQualifiedName(Type type, Func<Type, string> typeNameConverter)
17+
public static string? GetAssemblyQualifiedName(Type? type, Func<Type, string>? typeNameConverter)
2018
{
21-
string assemblyQualifiedName = null;
19+
string? assemblyQualifiedName = null;
2220

2321
if (type != null)
2422
{

0 commit comments

Comments
 (0)