Skip to content

Commit 05c8e55

Browse files
authored
[HotReloadAgent] Update MetadataUpdateHandlerInvoker to be nullable friendly (#48838)
1 parent b0c5ab4 commit 05c8e55

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/BuiltInTools/HotReloadAgent.Data/StaticAssetUpdate.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
14
namespace Microsoft.DotNet.HotReload;
25

36
internal readonly struct StaticAssetUpdate(

src/BuiltInTools/HotReloadAgent/MetadataUpdateHandlerInvoker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ internal static List<Assembly> TopologicalSort(Assembly[] assemblies)
327327

328328
static void Visit(Assembly[] assemblies, Assembly assembly, List<Assembly> sortedAssemblies, HashSet<string> visited)
329329
{
330-
string assemblyIdentifier;
330+
string? assemblyIdentifier;
331331

332332
try
333333
{

0 commit comments

Comments
 (0)