| File: Compiler\DependencyAnalysis\AnalysisCharacteristicNode.cs | Web Access |
| Project: src\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj (ILCompiler.Compiler) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using ILCompiler.DependencyAnalysisFramework; namespace ILCompiler.DependencyAnalysis { public class AnalysisCharacteristicNode : DependencyNodeCore<NodeFactory> { public AnalysisCharacteristicNode(string characteristic) => Characteristic = characteristic; public string Characteristic { get; } public override bool InterestingForDynamicDependencyAnalysis => false; public override bool HasDynamicDependencies => false; public override bool HasConditionalStaticDependencies => false; public override bool StaticDependenciesAreComputed => true; public override IEnumerable<CombinedDependencyListEntry> GetConditionalStaticDependencies(NodeFactory context) => null; public override IEnumerable<DependencyListEntry> GetStaticDependencies(NodeFactory context) => null; public override IEnumerable<CombinedDependencyListEntry> SearchDynamicDependencies(List<DependencyNodeCore<NodeFactory>> markedNodes, int firstNode, NodeFactory context) => null; protected override string GetName(NodeFactory context) => $"Analysis characteristic: {Characteristic}"; } }