diff options
Diffstat (limited to 'src/coreclr/tools/Common/Compiler/DependencyAnalysis/ObjectNode.cs')
-rw-r--r-- | src/coreclr/tools/Common/Compiler/DependencyAnalysis/ObjectNode.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/coreclr/tools/Common/Compiler/DependencyAnalysis/ObjectNode.cs b/src/coreclr/tools/Common/Compiler/DependencyAnalysis/ObjectNode.cs index 68b984519d2..5122c584ae0 100644 --- a/src/coreclr/tools/Common/Compiler/DependencyAnalysis/ObjectNode.cs +++ b/src/coreclr/tools/Common/Compiler/DependencyAnalysis/ObjectNode.cs @@ -5,7 +5,6 @@ using System; using System.Collections.Generic; using ILCompiler.DependencyAnalysisFramework; -using Internal.TypeSystem; namespace ILCompiler.DependencyAnalysis { @@ -61,8 +60,7 @@ namespace ILCompiler.DependencyAnalysis if (relocs != null) { - if (dependencies == null) - dependencies = new DependencyList(); + dependencies ??= new DependencyList(); foreach (Relocation reloc in relocs) { |