diff --git a/src/BuiltInTools/HotReloadAgent.Data/StaticAssetUpdate.cs b/src/BuiltInTools/HotReloadAgent.Data/StaticAssetUpdate.cs index 3601980b93ee..7e84196320d7 100644 --- a/src/BuiltInTools/HotReloadAgent.Data/StaticAssetUpdate.cs +++ b/src/BuiltInTools/HotReloadAgent.Data/StaticAssetUpdate.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + namespace Microsoft.DotNet.HotReload; internal readonly struct StaticAssetUpdate( diff --git a/src/BuiltInTools/HotReloadAgent/MetadataUpdateHandlerInvoker.cs b/src/BuiltInTools/HotReloadAgent/MetadataUpdateHandlerInvoker.cs index b3fd04398a4b..c402c843b0e7 100644 --- a/src/BuiltInTools/HotReloadAgent/MetadataUpdateHandlerInvoker.cs +++ b/src/BuiltInTools/HotReloadAgent/MetadataUpdateHandlerInvoker.cs @@ -327,7 +327,7 @@ internal static List TopologicalSort(Assembly[] assemblies) static void Visit(Assembly[] assemblies, Assembly assembly, List sortedAssemblies, HashSet visited) { - string assemblyIdentifier; + string? assemblyIdentifier; try {